Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam DP-420 Topic 2 Question 61 Discussion

Actual exam question for Microsoft's DP-420 exam
Question #: 61
Topic #: 2
[All DP-420 Questions]

You have an Azure Cosmos DB Core (SQL) API account that uses a custom conflict resolution policy. The account has a registered merge procedure that throws a runtime exception.

The runtime exception prevents conflicts from being resolved.

You need to use an Azure function to resolve the conflicts.

What should you use?

Show Suggested Answer Hide Answer
Suggested Answer: D

The Azure Cosmos DB Trigger uses the Azure Cosmos DB Change Feed to listen for inserts and updates across partitions. The change feed publishes inserts and updates, not deletions.


Contribute your Thoughts:

Carma
29 days ago
I don't know about you, but I'm feeling a bit 'conflicted' about this question. Option B is the way to go, though.
upvoted 0 times
Glenn
3 days ago
User 3: Yeah, that seems like the most efficient way to resolve conflicts.
upvoted 0 times
...
Jolene
18 days ago
User 2: I agree, using a function triggered by an Azure Cosmos DB trigger makes sense.
upvoted 0 times
...
Lenna
20 days ago
User 1: I think option B is the best choice.
upvoted 0 times
...
...
Aleisha
1 months ago
This is a classic case of 'the solution is right in front of you.' Option B is the winner, my friends.
upvoted 0 times
Esteban
6 days ago
I think we should use option B, a function triggered by an Azure Cosmos DB trigger.
upvoted 0 times
...
...
Tori
1 months ago
Haha, I bet the developer who wrote that runtime exception is regretting it now. Option B is the answer, no doubt about it.
upvoted 0 times
Silva
12 days ago
I agree, that developer must be kicking themselves. Option B is definitely the way to go.
upvoted 0 times
...
...
Elliot
2 months ago
I think option D is the way to go. Receiving the items directly from the conflicts feed and resolving them in the function sounds like the best solution.
upvoted 0 times
...
Evangelina
2 months ago
Option B seems the most straightforward approach. Using the Azure Cosmos DB trigger to handle the conflicts feed is the logical choice here.
upvoted 0 times
Reta
9 days ago
Yes, option B seems like the most efficient way to resolve conflicts in the Azure Cosmos DB Core (SQL) API account.
upvoted 0 times
...
Lynsey
13 days ago
I think using the Azure Cosmos DB trigger to receive items pushed from the change feed is the way to go.
upvoted 0 times
...
Simona
1 months ago
I agree, option B is the best choice for handling conflicts in this scenario.
upvoted 0 times
...
...
Kenia
2 months ago
I'm not sure, but I think A could also work since it pulls items from the conflicts feed.
upvoted 0 times
...
Winfred
2 months ago
I agree with Apolonia, because the function needs to receive items pushed from the change feed.
upvoted 0 times
...
Apolonia
3 months ago
I think the answer is B.
upvoted 0 times
...

Save Cancel