☎  076 959 6407✉  support@quizcrazepro.co.za
Learn. Practice. Build your future.
BlogHelpContact

AZ-204 Developing Solutions for Microsoft Azure Actual Exam Questions

213 Questions120 Minutes70% Passing Score▣ Updated: Sep 2026

Question 152 of 213

Choose 2
You are developing a .Net web application that stores data in Azure Cosmos DB. The application must use the Core API and allow millions of reads and writes.The Azure Cosmos DB account has been created with multiple write regions enabled. The application has been deployed to the East US2 and Central US regions.You need to update the application to support multi-region writes.What are two possible ways to achieve this goal? Each correct answer presents part of the solution.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. Most Voted 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. Most Voted 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.
A Update the ConnectionPolicy class for the Cosmos client and populate the PreferredLocations property based on the geo-proximity of the application. Most Voted
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. Most Voted
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.
Correct Answer: C, D

 Update the ConnectionPolicy class for the Cosmos client and set the UseMultipleWriteLocations property to true. Most Voted

Explanation

The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Microsoft certification topics.

About this practice exam

Review 213 Microsoft questions with answers and explanations. Use the navigation to move through the exam at your own pace.