Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB — Question 47

You are designing an Azure Cosmos DB for NoSQL data model that will contain authors, books the authors have written, and reviews of the books.

You need to maintain referential integrity between entities by using server-side transactional support.

What is the largest scope of the transactions you can use?

Answer options

Correct answer: D

Explanation

The correct answer is D, as Azure Cosmos DB supports transactions across items that reside within the same logical partition, allowing for atomic operations. Answers A, B, and C are incorrect because they either limit the transaction scope to a smaller area or do not leverage the full transactional capabilities provided by the logical partitioning feature.