Microsoft Azure Developer Associate AZ-204 Practice Question
You are developing an Azure Function that runs an analytics query against a multi-region Azure Cosmos DB account whose default consistency level is Session. The query is executed about 10 minutes after data is written. The analytics job can tolerate data being returned out of order and slightly stale, and you want to minimize the request unit (RU) charge for these reads without changing the account-level setting or affecting other workloads. Which per-request consistency level should you specify when issuing the query?
Strong
Eventual
Bounded Staleness with a 5-second staleness window
Eventual consistency is the weakest option and satisfies the analytics workload because it allows both staleness and out-of-order reads. Reads issued under Eventual consistency, like those under Consistent Prefix and Session, are served from a single replica, giving them the lowest possible RU cost. Because ordering guarantees are unnecessary, Eventual consistency is the most appropriate choice while leaving the account's default Session level unchanged.
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 the default consistency level in Azure Cosmos DB?
Open an interactive chat with Bash
What are Request Units (RUs) in Azure Cosmos DB?
Open an interactive chat with Bash
How does Eventual consistency affect read operations in Azure Cosmos DB?
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 .