🔥 3-day streak
Microsoft Azure Cosmos DB Developer Specialty (DP-420)72 / 104
Question 72 of 104

An e-commerce application stores shopping cart documents in an Azure Cosmos DB for NoSQL container. Multiple client sessions can update the same cart concurrently. The development team must ensure that when two users update the same cart at nearly the same time, one update does not silently overwrite the other, without introducing pessimistic locking that would reduce throughput. Which approach should the team implement?

Reviewed for accuracy · Report an issueNext question