Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB — Question 38
You have an Azure subscription. The subscription contains an Azure Cosmos DB for NoSQL account named account1 that uses a default consistency level of Consistent Prefix.
You execute a SELECT query and specify the Consistent Prefix consistency level.
You need to execute a second SELECT query during the same session and specify a lower consistency level.
Which consistency level can be used for the second SELECT query?
Answer options
- A. Session
- B. Strong
- C. Bounded Staleness
- D. Eventual
Correct answer: D
Explanation
The correct answer is Eventual because it is a lower consistency level compared to Consistent Prefix. The Session, Strong, and Bounded Staleness levels are all stricter than Consistent Prefix, so they cannot be used in this scenario.