Microsoft Azure Developer Associate AZ-204 Practice Question
You are developing an Azure Functions API that writes order records to an Azure Cosmos DB for NoSQL account replicated across three regions. For each user, subsequent reads must always reflect their own writes, but global users can temporarily read stale data from other users' updates to minimize latency and cost. Which default consistency level should you configure for the account?
Session consistency guarantees that reads within the same client session will always see the client's own writes (read-your-writes and monotonic reads), satisfying the requirement that each user immediately sees their own changes. Outside that session, other clients may observe the changes slightly later, enabling lower latency and reduced RU consumption compared to the Strong and Bounded Staleness levels. Strong consistency would enforce global linearizability, adding unnecessary latency and cost. Eventual and Consistent Prefix allow stale reads even within the same session, so they cannot guarantee read-your-writes behavior.
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 Azure Cosmos DB session consistency?
Open an interactive chat with Bash
How does session consistency differ from strong consistency in Azure Cosmos DB?
Open an interactive chat with Bash
Why is session consistency suitable for scenarios where users must see their own writes immediately?
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 .