Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB — Question 19

You plan to create an Azure Cosmos DB for NoSQL account that will have a single write region and three read regions.

You need to set the consistency level for the account. The solution must meet the following requirements:

• In the write region, writes must replicate synchronously across at least three replicas.
• In the read regions, reads must see writes in order for transactional batches.
• Throughput for reads and writes must be maximized.

Which consistency level should you select?

Answer options

Correct answer: A

Explanation

The correct answer is A, Consistent Prefix, as it allows for writes to replicate across multiple replicas while ensuring that reads see writes in the order they were submitted. The other options do not meet the requirement for synchronous replication or the need for transactional batch visibility in the read regions.