An organization is developing a globally distributed collaborative document editing application. The database is hosted on an Azure Cosmos DB Core (SQL) API account configured with two write regions (East US and West US) and multi-region writes enabled.
A background analytical microservice has independent instances running in both regions to process document updates. These worker instances do not share a client session or session tokens.
The application requirements are as follows:
- The worker instances must always read document updates in the exact order they were written.
- The configuration must minimize write latency and consume the fewest Request Units (RUs).
You need to configure the Cosmos DB account and application.
Which two actions should you perform? (Select two.)
- Set the default consistency level of the Cosmos DB account to Consistent Prefix.Answer
- Set the default consistency level of the Cosmos DB account to Session.Answer
- CSet the default consistency level of the Cosmos DB account to Strong.
- DRely on the default Session consistency to guarantee read-your-own-writes across the independent worker instances without sharing the session token.
- EChange the document partition key to a low-cardinality property, such as a static status string, to force all updates into a single logical partition for ordering.