DRAG DROP (Drag and Drop is not supported).
You have an Azure Cosmos DB Core (SQL) API account that is con gured 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,
" rstName": "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 con gure con ict resolution to meet the following requirements:
For container1 you must resolve con icts by using the highest value for policyYear. For container2 you must resolve con icts 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 con gure for each container? To answer, drag the appropriate con gurations to the correct containers. Each con guration 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.
Select and Place:

- See Explanation section for answer.
Answer(s): A
Explanation:

Box 1: Last Write Wins (LWW) (default) mode
Last Write Wins (LWW): This resolution policy, by default, uses a system-de ned timestamp property. It's based on the time-synchronization clock protocol.
Box 2: Merge Procedures (custom) mode
Custom: This resolution policy is designed for application-de ned semantics for reconciliation of con icts. When you set this policy on your Azure Cosmos container, you also need to register a merge stored procedure. This procedure is automatically invoked when con icts are detected under a database transaction on the server. The system provides exactly once guarantee for the execution of a merge procedure as part of the commitment protocol.
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/con ict-resolution-policies https://docs.microsoft.com/en-us/azure/cosmos-db/sql/how- to-manage-con icts
Reveal Solution Next Question