MicrosoftMicrosoft
DP-420 · Question #11
DP-420 Question #11: Real Exam Question with Answer & Explanation
Sign in or unlock DP-420 to reveal the answer and full explanation for question #11. The question stem and answer options stay visible for context.
Integrate an Azure Cosmos DB solution
Question
You need to implement a trigger in Azure Cosmos DB for NoSQL 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.
Options
- AAppend pre to the name of the JavaScript function trigger.
- BFor each create request, set the access condition in RequestOptions.
- CRegister the trigger as a pre-trigger.
- DFor each create request, set the consistency level to session in RequestOptions.
- EFor each create request, set the trigger name in RequestOptions.
Unlock DP-420 to see the answer
You've previewed enough free DP-420 questions. Unlock DP-420 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Azure Cosmos DB#Triggers#Pre-triggers#SDK usage