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?
Suggested Answer: D
Get Premium DP-420 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
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.
12 comments · newest first
RE
Reyes
2 months ago
I'm leaning towards B. Change feed is powerful for real-time updates.
BU
Bulah
2 months ago
I agree, D seems right. It uses the conflicts feed effectively.
CL
Cletus
2 months ago
I think option D is the best choice. It directly addresses conflicts.
MA
Marcelle
3 months ago
Just a heads up, the merge procedure throwing exceptions complicates things a lot!
TH
Theodora
3 months ago
I’m leaning towards B, but I see the appeal of D too.
ON
Oneida
3 months ago
Wait, can you really trigger from the conflicts feed like that? Sounds risky!
GE
Gerry
3 months ago
Agree, D makes the most sense for handling conflicts.
DE
Delbert
3 months ago
I think option D is the best choice here.
SO
Soledad
3 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.
NA
Nana
4 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.
SO
Solange
4 months ago
I think it might be option D since it mentions the conflicts feed, which is directly related to resolving conflicts.
SH
Shanda
4 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.