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 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
7 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
...
Aleisha
11 days 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
...
Tori
20 days 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
...
Elliot
23 days 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
26 days 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
Simona
14 days ago
I agree, option B is the best choice for handling conflicts in this scenario.
upvoted 0 times
...
...
Kenia
1 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
2 months ago
I think the answer is B.
upvoted 0 times
...

Save Cancel