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 12 Question 31 Discussion

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

You need to implement a trigger in Azure Cosmos DB Core (SQL) API that will run before an item is inserted into a container.

Which two actions should you perform to ensure that the trigger runs? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Alishia
1 days ago
Yes, that makes sense. We also need to append pre to the name of the JavaScript function trigger.
upvoted 0 times
...
Penney
3 days ago
I think we need to register the trigger as a pre-trigger.
upvoted 0 times
...
Mattie
5 days ago
Exactly, those two actions should ensure that the trigger runs before an item is inserted into the container.
upvoted 0 times
...
Reiko
9 days ago
Looks like I need to register the trigger as a pre-trigger. Makes sense, since the docs say it should run before the item is inserted.
upvoted 0 times
...
Herman
12 days ago
Yes, that makes sense. We also need to append pre to the name of the JavaScript function trigger.
upvoted 0 times
...
Mattie
17 days ago
I think we need to register the trigger as a pre-trigger.
upvoted 0 times
...

Save Cancel