DP-420 · Question #119
DP-420 Question #119: Real Exam Question with Answer & Explanation
The correct answer is B: No. Setting ConflictResolutionMode to Custom and ResolutionProcedure to a stored procedure is incorrect for ensuring conflicts are sent to the conflicts feed.
Question
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 for NoSQL 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. You set ResolutionProcedure to a custom stored procedure. You configure the custom stored procedure to use the isTombstone parameter to resolve conflicts. Does this meet the goal?
Options
- AYes
- BNo
Explanation
Setting ConflictResolutionMode to Custom and ResolutionProcedure to a stored procedure is incorrect for ensuring conflicts are sent to the conflicts feed.
Common mistakes.
- A. Setting ConflictResolutionMode to Custom with a ResolutionProcedure means the stored procedure actively resolves the conflict, preventing it from being sent to the conflicts feed for later manual processing.
Concept tested. Azure Cosmos DB conflict resolution policies
Reference. https://learn.microsoft.com/en-us/azure/cosmos-db/conflict-resolution-policies
Topics
Community Discussion
No community discussion yet for this question.