DP-420 practice question 24 of 25

You need to implement a solution to meet the product catalog requirements. What should you do to implement the conflict resolution policy.

Full set: 144 questions
Answer options
A: Remove frequently changed field from the index policy of the con-product container.
B: Disable indexing on all fields in the index policy of the con-product container.
C: Set the default consistency level for account1 to eventual.
D: Create a new container and migrate the product catalog data to the new container. Correct answer
Correct Answer:
D. Create a new container and migrate the product catalog data to the new container.
Explanation

A conflict-resolution policy can be set only when a container is created. Because con-product already exists, the only way to apply a new policy is to create another container with the required settings and migrate the data.

Why Incorrect

A – Indexing does not affect conflict-resolution; conflicts occur before indexing. B – Disabling indexing changes query performance, not conflict handling. C – Consistency level influences replication latency, not the conflict-resolution policy itself.

References

1. Microsoft Docs – “Configure conflict resolution policy (NoSQL API)”

para. 1: “The conflict-resolution policy is specified when the container is created and cannot be modified afterwards.”

https://learn.microsoft.com/azure/cosmos-db/nosql/conflict-resolution#configure-conflict-resolution-policy

2. Same article

“Changing a policy” note.

Scroll to Top