nerdexam
MicrosoftMicrosoft

DP-420 · Question #93

DP-420 Question #93: Real Exam Question with Answer & Explanation

The correct answer is A: Yes. There are three ways for conflict resolution with the SDK: 1. Last-Writer-Wins: Conflicts do NOT show up in conflict feed 2. Custom Conflict Resolution Policy with Stored Proc: Conflicts do NOT show up in conflict feed unlesss there's an error in your stored procedure 3. Custom C

Integrate an Azure Cosmos DB solution

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 and you use the default settings for the policy. Does this meet the goal?

Options

  • AYes
  • BNo

Explanation

There are three ways for conflict resolution with the SDK: 1. Last-Writer-Wins: Conflicts do NOT show up in conflict feed 2. Custom Conflict Resolution Policy with Stored Proc: Conflicts do NOT show up in conflict feed unlesss there's an error in your stored procedure 3. Custom Conflict Resolution Policy: Conflicts DO show up in conflict feed. https://learn.microsoft.com/en-us/azure/cosmos-db/sql/how-to-manage- conflicts?tabs=dotnetv2%2Capi-async%2Casync#create-a-custom-conflict-resolution-policy

Topics

#Conflict Resolution#Multi-Region Writes#Cosmos DB for NoSQL#SDK Configuration

Community Discussion

No community discussion yet for this question.

Full DP-420 PracticeBrowse All DP-420 Questions