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 1 Question 79 Discussion

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?
D) a function that receives items pushed from the conflicts feed and is triggered by an Azure Cosmos DB trigger
A) a function that pulls items from the conflicts feed and is triggered by a timer trigger
B) a function that receives items pushed from the change feed and is triggered by an Azure Cosmos DB trigger
C) a function that pulls items from the change feed and is triggered by a timer trigger

Microsoft DP-420 Exam - Topic 1 Question 79 Discussion

Actual exam question for Microsoft's DP-420 exam
Question #: 79
Topic #: 1
[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:

0/2000 characters
Reyes
14 days ago
I'm leaning towards B. Change feed is powerful for real-time updates.
upvoted 0 times
...
Bulah
20 days ago
I agree, D seems right. It uses the conflicts feed effectively.
upvoted 0 times
...
Cletus
25 days ago
I think option D is the best choice. It directly addresses conflicts.
upvoted 0 times
...
Marcelle
30 days ago
Just a heads up, the merge procedure throwing exceptions complicates things a lot!
upvoted 0 times
...
Theodora
1 month ago
I’m leaning towards B, but I see the appeal of D too.
upvoted 0 times
...
Oneida
1 month ago
Wait, can you really trigger from the conflicts feed like that? Sounds risky!
upvoted 0 times
...
Gerry
2 months ago
Agree, D makes the most sense for handling conflicts.
upvoted 0 times
...
Delbert
2 months ago
I think option D is the best choice here.
upvoted 0 times
...
Soledad
2 months ago
I feel like the Azure Cosmos DB trigger is the way to go, but I’m not confident if it should be for the conflicts feed or the change feed.
upvoted 0 times
...
Nana
2 months ago
I practiced a similar question about triggers, but I can't recall if a timer trigger is the best choice for handling conflicts.
upvoted 0 times
...
Solange
2 months ago
I think it might be option D since it mentions the conflicts feed, which is directly related to resolving conflicts.
upvoted 0 times
...
Shanda
2 months ago
I remember studying the differences between the conflicts feed and the change feed, but I'm not entirely sure which one to use here.
upvoted 0 times
...

Save Cancel