Q6 Cosmos DB Domain 2 · 25–30% of exam

Users must always see their own changes immediately, but it's fine if other users see them a moment later. Which Azure Cosmos DB consistency level meets this at the lowest cost?

  1. A Strong
  2. B Bounded staleness
  3. C Session (correct answer)
  4. D Eventual

Shortcut: Read your own writes = Session consistency (the default). Strong and Bounded staleness add latency and RU cost this scenario doesn't need, and Eventual doesn't guarantee users see their own writes.

Session consistency guarantees read-your-own-writes within a client session and is the default for new accounts. Strong and Bounded staleness add latency and RU cost this scenario doesn't need, and Eventual doesn't guarantee users see their own writes.