Microsoft Certified:Azure Cosmos DB Developer Specialty
Domain 1Objective 7
Implement Server-Side Programming in Azure Cosmos DB for NoSQL by Using JavaScript DP-420 Practice Questions (Page 3)
Part of the Design and implement data models domain, which makes up ~45% of our current practice bank. Microsoft does not publish an official question count, but from its 100-minute exam (~40–65 total, ~18–29 in this domain), expect 3–4 from this objective — we provide 24 practice questions to prepare you well beyond it. (estimate)
24questions here
5free pages
9concepts
Questions 11–15
- 11
A banking application uses Azure Cosmos DB for NoSQL to store account documents. A stored procedure is used to transfer funds between two accounts that belong to the same customer. The stored procedure reads both account documents, adjusts the balances, and replaces both documents. What is the primary benefit of using a stored procedure for this operation?
Select an answer first - 12
A team is developing a .NET application that uses Azure Cosmos DB for NoSQL. They have written a stored procedure in a JavaScript file named `bulkUpdate.js`. They need to deploy this stored procedure to a container named `orders` in their development environment. Which code snippet correctly deploys the stored procedure?
Select an answer first - 13
A team is deploying a stored procedure to an Azure Cosmos DB for NoSQL container using the .NET SDK. The stored procedure already exists in the container, and the team wants to update its JavaScript code. Which method should they use?
Select an answer first - 14
A team is designing a stored procedure for an Azure Cosmos DB for NoSQL container partitioned by `tenantId`. The stored procedure must update multiple documents that belong to the same tenant. The team is concerned about the 2-second execution time limit for stored procedures. Which approach should they take to ensure the stored procedure completes within the time limit?
Select an answer first - 15
What is the primary purpose of a stored procedure in Azure Cosmos DB for NoSQL?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Microsoft. “DP-420” is a trademark of its owner, used for identification only.