Question 152 of 213
Choose 2You 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.