ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 260 - AZ-204 discussion

Report
Export

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.
Answers
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.
Answers
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.
Answers
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.
Answers
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.
Answers
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.
Suggested answer: C, D
asked 02/10/2024
vault ghz
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first