DP-420 · Question #125
DP-420 Question #125: Real Exam Question with Answer & Explanation
The correct answer is D: Consistent Prefix. {"question_number": 3, "correct_answer": "D", "explanation": "In Azure Cosmos DB, Strong and Bounded Staleness consistency levels incur higher RU charges (Strong charges 2x RUs for reads in multi-region accounts), so they cannot be used without increasing RU consumption. Session
Question
Your company develops an application named App1 that uses the Azure Cosmos DB SDK and the Eventual consistency level. App1 queries an Azure Cosmos DB for NoSQL account named account1. You need to identify which consistency level to assign to App1 to meet the following requirements: - Maximize the throughput of the queries generated by App1 without increasing the number of request units currently used by the queries. - Provide the highest consistency guarantees. Which consistency level should you identify?
Options
- AStrong
- BBounded Staleness
- CSession
- DConsistent Prefix
Explanation
{"question_number": 3, "correct_answer": "D", "explanation": "In Azure Cosmos DB, Strong and Bounded Staleness consistency levels incur higher RU charges (Strong charges 2x RUs for reads in multi-region accounts), so they cannot be used without increasing RU consumption. Session and Consistent Prefix both have the same RU cost as Eventual. Between Session and Consistent Prefix, Consistent Prefix avoids the overhead of per-client session token tracking, which helps maximize throughput. Consistent Prefix guarantees that reads never see out-of-order writes, providing a meaningful consistency improvement over Eventual without adding RU cost or per-session coordination overhead.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.