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

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have a database in an Azure Cosmos DB Core (SQL) API account that is configured for multi-region writes.
You need to use the Azure Cosmos DB SDK to implement the conflict resolution policy for a container. The solution must ensure that any conflicts are sent to the conflicts feed.
Solution: You set ConflictResolutionMode to Custom and you use the default settings for the policy.
Does this meet the goal?

Answer options

Correct answer: A

Explanation

The proposed solution is correct because setting ConflictResolutionMode to Custom allows you to handle conflicts in a way that directs them to the conflicts feed, thereby meeting the requirement. The other option, 'No', is incorrect since the solution does fulfill the goal of managing conflict resolution appropriately.