Microsoft AZ-204 Übungsprüfungen
Zuletzt aktualisiert am 24.04.2025- Prüfungscode: AZ-204
- Prüfungsname: Developing Solutions for Microsoft Azure
- Zertifizierungsanbieter: Microsoft
- Zuletzt aktualisiert am: 24.04.2025
DRAG DROP
You are authoring a set of nested Azure Resource Manager templates to deploy multiple Azure resources.
The templates must be tested before deployment and must follow recommended practices.
You need to validate and test the templates before deployment.
Which tools should you use? To answer, drag the appropriate tools to the correct requirements. Each tool 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.
HOTSPOT
A company is developing a Java web app. The web app code is hosted in a GitHub repository located at https://github.com/Contoso/webapp.
The web app must be evaluated before it is moved to production. You must deploy the initial code release to a deployment slot named staging.
You need to create the web app and deploy the code.
How should you complete the commands? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
DRAG DROP
You need to add YAML markup at line CS17 to ensure that the ContentUploadService can access Azure Storage access keys.
How should you complete the YAML markup? To answer, drag the appropriate YAML segments to the correct locations. Each YAML segment 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.
A company uses an Azure Blob Storage for archiving.
The company requires that data in the Blob Storage is only in the archive tier.
You need to ensure data copied to the Blob Storage is moved to the archive tier.
What should you do?
- A . Use a Put Block List operation with a request header of x-ms-immutability-policy-mode.
- B . Create a lifecycle policy with an action of tierToArchive and configure daysAftenModificationGreaterThan for 0.
- C . Use a Put Blob operation with a request header of x-ms-immutability-policy-unrjl-date.
- D . Create a lifecycle policy with an action of tierToArchive and configure a filter for bloblndexMatch.
A company uses an Azure Blob Storage for archiving.
The company requires that data in the Blob Storage is only in the archive tier.
You need to ensure data copied to the Blob Storage is moved to the archive tier.
What should you do?
- A . Use a Put Block List operation with a request header of x-ms-immutability-policy-mode.
- B . Create a lifecycle policy with an action of tierToArchive and configure daysAftenModificationGreaterThan for 0.
- C . Use a Put Blob operation with a request header of x-ms-immutability-policy-unrjl-date.
- D . Create a lifecycle policy with an action of tierToArchive and configure a filter for bloblndexMatch.
You are developing a .Net web application that stores data is Azure Consmos DB. The application must use the Core API and allow millions of reads and writes. The Azure Cosmos DII account has been created with multiple write region enabled. The application has been deployed to the East US2 and Central US region.
You need to update the application to support multi-region writes.
What are two possible ways to achieve this goal? Each correct answer presents parts of the solutions. NOTE: Each correct selection is worth one point.
- A . Update the ConnectionPolicy class for the Cosmos client and populate the PreferredLocations property based on the geo-proximity of the application.
- B . Update Azure Cosmos DB to use the Strong consistency level. Add indexed properties to the container to indicate region.
- C . Update the ConnectionPolicy class for the Cosmos client and set the UseMultipleWriteLocations property to true.
- D . Create and deploy a custom conflict resolution policy.
- E . Update Azure Cosmos DB to use the Session consistency level. Send the SessionToken property value from the FeedResponse object of the write action to the end-user by using a cookie.
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear on the review screen.
You have an Azure App Service web app named WebApp1 and an Azure Functions app named Function 1. WebApp1 is associated with an Application Insights instance named appinsights1.
You configure a web test and a corresponding alert for WebApp1 in appinsights1. Each alert triggers a delivery of email to your mailbox.
You need to ensure that each alert also triggers execution of Function1.
Solution: Configure an Application Insights funnel.
Does the solution meet the goal?
- A . Yes
- B . No
HOTSPOT
You need to configure Azure App Service to support the REST API requirements.
Which values should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
You need to store the user agreements.
Where should you store the agreement after it is completed?
- A . Azure Storage queue
- B . Azure Event Hub
- C . Azure Service Bus topic
- D . Azure Event Grid topic
You need to migrate on-premises shipping data to Azure.
What should you use?
- A . Azure Migrate
- B . Azure Cosmos DB Data Migration tool (dt.exe)
- C . AzCopy
- D . Azure Database Migration service