Hard1 markMultiple Choice
AZ-305 · Question 26 · Domain 2.3: Recommend a data storage solution
A global social media company uses Azure Cosmos DB to store user posts. The database is replicated across 5 regions globally.
The application requires that when a user makes a post, their followers in other regions see the posts in the exact order they were written. However, to maintain high performance, the company is willing to accept a slight delay (up to 5 seconds) before the posts appear in other regions.
Which Cosmos DB consistency level should you configure?
A global social media company uses Azure Cosmos DB to store user posts. The database is replicated across 5 regions globally.
The application requires that when a user makes a post, their followers in other regions see the posts in the exact order they were written. However, to maintain high performance, the company is willing to accept a slight delay (up to 5 seconds) before the posts appear in other regions.
Which Cosmos DB consistency level should you configure?
Answer options:
A.
Strong
B.
Bounded Staleness
C.
Session
D.
Eventual
How to approach this question
Match 'exact order' and 'slight delay (up to 5 seconds)' to the consistency level that allows configuring a time/version lag while maintaining order.
Full Answer
B.Bounded Staleness✓ Correct
Bounded Staleness consistency guarantees that reads honor the consistent-prefix guarantee (data is read in order), but data might be stale by a configured maximum time (e.g., 5 seconds) or number of versions. This is perfect for scenarios where you need global order (like a social media feed) but want better performance than Strong consistency. Session consistency only guarantees order for the specific user's session, not for followers globally.
Common mistakes
Choosing Session consistency. Session is the default and great for the writer, but it doesn't guarantee strict ordering for readers in other regions.
Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 5
55 questions · hints · full answers · grading
More questions from this exam
Q01Contoso Ltd has 50 subscriptions across 3 business units. Each business unit manages its own IT o...EasyQ02You are designing a monitoring solution for a hybrid environment. The environment consists of 200...MediumQ03Your company uses Microsoft Sentinel integrated with a Log Analytics workspace. The workspace ing...HardQ04You are designing an application monitoring strategy using Application Insights. The application ...MediumQ05A highly regulated financial institution is migrating to Microsoft 365 and Azure. They currently ...Hard
Expert