Microsoft
AZ-204 · Question #448
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 create
Sign in or unlock AZ-204 to reveal the answer and full explanation for question #448. The question stem and answer options stay visible for context.
Submitted by andres_qro· Mar 30, 2026Develop for Azure storage
Question
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.
Options
- AUpdate the ConnectionPolicy class for the Cosmos client and populate the PreferredLocations
- BUpdate Azure Cosmos DB to use the Strong consistency level. Add indexed properties to the
- CUpdate the ConnectionPolicy class for the Cosmos client and set the UseMultipleWriteLocations
- DCreate and deploy a custom conflict resolution policy.
- EUpdate Azure Cosmos DB to use the Session consistency level. Send the SessionToken property
Unlock AZ-204 to see the answer
You've previewed enough free AZ-204 questions. Unlock AZ-204 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Cosmos DB#multi-region writes#conflict resolution#ConnectionPolicy