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:

Quentin
11 days ago
Oh, and I also need to set the trigger name in the RequestOptions. Gotta make sure the system knows which trigger to run.
upvoted 0 times
...
Penney
13 days ago
Great, so we should select options A and C for this question.
upvoted 0 times
...
Alishia
14 days ago
Yes, that makes sense. We also need to append pre to the name of the JavaScript function trigger.
upvoted 0 times
...
Penney
16 days ago
I think we need to register the trigger as a pre-trigger.
upvoted 0 times
...
Mattie
18 days ago
Exactly, those two actions should ensure that the trigger runs before an item is inserted into the container.
upvoted 0 times
...
Reiko
22 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
Val
8 hours ago
A) Append pre to the name of the JavaScript function trigger.
upvoted 0 times
...
...
Herman
25 days ago
Yes, that makes sense. We also need to append pre to the name of the JavaScript function trigger.
upvoted 0 times
...
Mattie
1 months ago
I think we need to register the trigger as a pre-trigger.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77