Hard1 markMultiple Choice
Domain 2.3: Recommend a data storage solutionDomain 2Data Storage RecommendationCosmos DBConsistency Levels

AZ-305 · Question 24 · Domain 2.3: Recommend a data storage solution

A global gaming company is building a multiplayer leaderboard using Azure Cosmos DB.

The architecture has the following requirements:

  1. The database must be deployed in three regions: US East, Europe West, and Asia East.
  2. Users in any region must be able to read and write their scores with less than 10ms latency.
  3. When a user updates their score, they must immediately see their own updated score if they refresh the page.
  4. It is acceptable if users in other regions see the updated score with a slight delay.

Which THREE configurations should you recommend? (Select THREE)

Answer options:

A.

Enable Multi-region writes.

B.

Configure the default consistency level to Strong.

C.

Configure the default consistency level to Session.

D.

Replicate the Cosmos DB account to US East, Europe West, and Asia East.

E.

Configure the default consistency level to Eventual.

F.

Implement Azure Front Door to route all write traffic to a single primary region.

How to approach this question

Break down the requirements: Global reads = Replication. Global fast writes = Multi-region writes. Read-your-own-writes = Session consistency.

Full Answer

Enable Multi-region writes., Configure the default consistency level to Session., Replicate the Cosmos DB account to US East, Europe West, and Asia East.
To achieve <10ms read and write latency globally, you must replicate the database to all three regions and enable multi-region writes (so users write locally). To ensure a user immediately sees their own update, but allow slight delays for others, 'Session' consistency is the exact match. It provides 'read-your-own-writes' guarantees while offering high performance.

Common mistakes

Choosing Strong consistency, which is impossible with multi-region writes and destroys performance. Choosing Eventual consistency, which fails the 'read-your-own-writes' requirement.

Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 3

55 questions · hints · full answers · grading

More questions from this exam