Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-420 Exam - Topic 7 Question 20 Discussion

Posted by Lenna on Apr 25, 2023 at 04:00 AM

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 conflict sent to the conflict feed.

Solution: You set ConfilictResolutionMode to Custom. You Set ResolutionProcedures to a custom stored procedure. You configure the custom stored procedure to use the conflictingItems parameter to resolve conflict.

Does this meet the goal?

Suggested Answer: A

Setting ConflictResolutionMode to Custom and configuring a custom stored procedure with the 'conflictingItems' parameter will allow you to implement a custom conflict resolution policy. This will ensure that any conflicts are sent to the conflict feed for resolution.


Get Premium DP-420 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
HO
Holley 1 year ago
No way, I thought you needed a different setup for multi-region writes!
NE
Nenita 1 year ago
I think it meets the goal, but double-check the stored procedure logic.
LU
Luisa 1 year ago
Wait, are you sure about using conflictingItems? Sounds tricky.
ME
Meghann 1 year ago
Totally agree, setting it to Custom is essential.
AI
Aide 1 year ago
Yes, that’s the right approach for custom conflict resolution!
DE
Denny 1 year ago
I believe this setup does meet the goal since it allows for custom resolution, but I wonder if there are any edge cases we need to consider with the stored procedure.
VI
Virgie 1 year ago
I’m a bit confused about the conflictingItems parameter. I feel like it should work, but I can't recall if there are any additional requirements for it to be effective.
NA
Nakita 1 year ago
I remember practicing a similar question where we had to ensure conflicts were sent to the conflict feed. I think this solution might meet the goal, but I need to double-check the specifics.
CH
Cherelle 1 year ago
I think setting ConflictResolutionMode to Custom is correct, but I'm not entirely sure if using a stored procedure is the right approach for this scenario.
FL
Fletcher 1 year ago
Okay, let's see. I'm pretty sure we need the Agent ID (AID) and the Target Process ID, but I'm not 100% sure. I'll have to double-check the course materials.
CH
Charisse 1 year ago
Hmm, I'm a bit unsure about this one. The question is asking for 3 OmniScript elements, but there are a few options that could work. I'll need to carefully review each element and how it could be used to address the requirements.
0/2000 characters

Save Cancel