Practice free →
HomeAzure AZ-204cloudcomputingaz204storage › What is the trade-off when using Cosmos DB sessi…

What is the trade-off when using Cosmos DB session consistency (the default)?

AWrites never succeed
BReads return random values
CThe client sees its own writes (read-your-writes) but other clients may see slightly older data — best balance of latency and consistency for most apps
DAll clients always see the same value at the same time globally
Answer & Solution
Correct answer: C. The client sees its own writes (read-your-writes) but other clients may see slightly older data — best balance of latency and consistency for most apps
Session consistency is the most-used default: a single session sees consistent reads (read-your-writes); cross-session staleness is bounded. The other options misstate it.
Solve this in the app — Azure AZ-204 practice & 24k+ MCQs →
Related questions