nerdexam
Microsoft

DP-420 · Question #40

Drag and Drop Question You have an Azure Cosmos DB for NoSQL account that is configured for multi-region writes. The account contains a database that has two containers named container1 and container2

Sign in or unlock DP-420 to reveal the answer and full explanation for question #40. The question stem and answer options stay visible for context.

Design and implement data distribution

Question

Drag and Drop Question You have an Azure Cosmos DB for NoSQL account that is configured for multi-region writes. The account contains a database that has two containers named container1 and container2. The following is a sample of a document in container1: { "customerId": 1234, "firstName": "John", "lastName": "Smith", "policyYear": 2021 } The following is a sample of a document in container2: { "gpsId": 1234, "latitude": 38.8951, "longitude": -77.0364 } You need to configure conflict resolution to meet the following requirements: - For container1 you must resolve conflicts by using the highest value for policyYear. - For container2 you must resolve conflicts by accepting the distance closest to latitude: 40.730610 and longitude: -73.935242. - Administrative effort must be minimized to implement the solution. What should you configure for each container? To answer, drag the appropriate configurations to the correct containers. Each configuration may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Exhibit

DP-420 question #40 exhibit

Answer Area

Drag items

Last Write Wins (default) modeMerge Procedures (custom) modeAn application that reads from the conflicts feed

Unlock DP-420 to see the answer

You've previewed enough free DP-420 questions. Unlock DP-420 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Cosmos DB#Conflict Resolution#Multi-region Writes#Stored Procedures
Full DP-420 Practice