Microsoft Azure Developer Associate AZ-204 Practice Question
You create a multi-region Azure Cosmos DB account with a default consistency of Eventual. For a checkout API used by a mobile app you must ensure that, after writing an order document, the same user can immediately read the document in subsequent calls. Other users can tolerate eventual consistency. When sending the read requests through the Azure Cosmos DB .NET SDK, which per-request consistency level should you specify?
Session consistency guarantees that reads within the same client session always reflect the client's own writes, providing "read-your-writes" behavior while still keeping latency low and allowing other sessions to remain eventually consistent. Strong consistency would satisfy the requirement but would apply globally, increasing latency and throughput cost. Bounded staleness and Consistent Prefix allow some staleness, so a user might not see their just-written order immediately. Therefore, Session consistency is the appropriate per-request override.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is session consistency in Azure Cosmos DB?
Open an interactive chat with Bash
How does session consistency differ from strong consistency in Cosmos DB?
Open an interactive chat with Bash
Why is eventual consistency not suitable for this scenario?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Develop for Azure storage
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .