AZ-204 Dumps

AZ-204 Free Practice Test

Microsoft AZ-204: Developing Solutions for Microsoft Azure (beta)

QUESTION 111

DRAG DROP - (Topic 8)
You are developing an Azure Function app. The app must meet the following requirements:
✑ Enable developers to write the functions by using the Rust language.
✑ Declaratively connect to an Azure Blob Storage account.
You need to implement the app.
Which Azure Function app features should you use? To answer, drag the appropriate features to the correct requirements. Each feature may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE:Each correct selection is worth one point.
AZ-204 dumps exhibit
Solution:
Box 1: Custom handler
Custom handlers can be used to create functions in any language or runtime by running an HTTP server process, for example Go or Rust.
Box 2: Trigger
Functions are invoked by a trigger and can have exactly one. In addition to invoking the function, certain triggers also serve as bindings. You may also define multiple bindings in addition to the trigger. Bindings provide a declarative way to connect data to your code.

Does this meet the goal?

Correct Answer: A

QUESTION 112

- (Topic 2)
You need to investigate the http server log output to resolve the issue with the ContentUploadService.
Which command should you use first?

Correct Answer: C
Scenario: Users of the ContentUploadService report that they occasionally see HTTP 502 responses on specific pages.
"502 bad gateway" and "503 service unavailable" are common errors in your app hosted in Azure App Service.
Microsoft Azure publicizes each time there is a service interruption or performance degradation.
The az monitor activity-log command manages activity logs.
Note: Troubleshooting can be divided into three distinct tasks, in sequential order:
✑ Observe and monitor application behavior
✑ Collect data
✑ Mitigate the issue
Reference:
https://docs.microsoft.com/en-us/cli/azure/monitor/activity-log

QUESTION 113

HOTSPOT - (Topic 3)
You need to configure the Account Kind, Replication, and Storage tier options for the corporate website’s Azure Storage account.
How should you complete the configuration? To answer, select the appropriate options in the dialog box in the answer area.
NOTE:Each correct selection is worth one point.
AZ-204 dumps exhibit
Solution:
Account Kind: StorageV2 (general-purpose v2)
Scenario: Azure Storage blob will be used (refer to the exhibit). Data storage costs must be minimized.
General-purpose v2 accounts: Basic storage account type for blobs, files, queues, and tables. Recommended for most scenarios using Azure Storage.

Does this meet the goal?

Correct Answer: A

QUESTION 114

- (Topic 8)
You are designing a web application to manage user satisfaction surveys. The number of questions that a survey includes is variable.
Application users must be able to display results for a survey as quickly as possible. Users must also be able to quickly compute statistical measures including average values across various groupings of answers.
Which Azure Cosmos 06 API should you use for the application?

Correct Answer: D

QUESTION 115

- (Exam Topic 8)
You are developing an Azure messaging solution.
You need to ensure that the solution that meets the following requirements:
• Provide transactional support
• Provide duplicate detection.
• Store the messages for an unlimited period of time
Which two technologies will meet the requirements? Each correct answer presents a complete solution NOTE Each correct selection is worth one point.

Correct Answer: AC
The Azure Service Bus Queue and Topic has duplicate detection.
Enabling duplicate detection helps keep track of the application-controlled MessageId of all messages sent into a queue or topic during a specified time window.
Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/duplicate-detection