DP-420 English PDF practice questions: 271 questions with answers and available explanations. Access covers this exam only. One-time payment; no automatic renewal.
Exam overview
For developers modeling, querying and optimizing Azure Cosmos DB data, including support for AI applications.
Exam code
DP-420
Official exam / credential
Azure Cosmos DB AI Developer
Exam format
Proctored assessment; interactive items may be included
Exam duration
100 minutes
Official exam languages
English, Japanese, Simplified Chinese, Korean, German, French, Spanish, Portuguese (Brazil), Traditional Chinese, Italian
Official exam languages and practice-question file languages are listed separately. Confirm the exam version and available languages when booking with the provider.
Start with the provider’s current objectives as a checklist, then test whether you can explain each topic and apply it in a practical setting. Use the free sample questions as a diagnostic for finding the areas that need review.
Attempt the question before opening its answer and explanation.
For every missed question, verify the underlying concept with official documentation or hands-on practice instead of memorising an answer.
Before booking, recheck the exam code, version and available test languages on the provider’s official page.
Questions follow the source order. Expand each answer to see its explanation.
Disclaimer: All questions on ExamPico are compiled from internet sources and are provided for study reference only.
Question 11
HOTSPOT - You are creating a database in an Azure Cosmos DB Core (SQL) API account. The database will be used by an application that will provide users with the ability to share online posts. Users will also be able to submit comments on other users' posts. You need to store the data shown in the following table. The application has the following characteristics: ✑ Users can submit an unlimited number of posts. ✑ The average number of posts submitted by a user will be more than 1,000. ✑ Posts can have an unlimited number of comments from different users. ✑ The average number of comments per post will be 100, but many posts will exceed 1,000 comments. ✑ Users will be limited to having a maximum of 20 interests. For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Hot Area:
Show answer and explanation
Answer
YYN
Explanation
Embedding posts/comments in parent documents increases write RU for large documents. Embedding up to 20 interests reduces read cost.
Question 12
DRAG DROP - You have an app that stores data in an Azure Cosmos DB Core (SQL) API account The app performs queries that return large result sets. You need to return a complete result set to the app by using pagination. Each page of results must return 80 items. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Select and Place:
Show answer and explanation
Answer
ABD
Explanation
Pagination: set MaxItemCount, use continuation token for next page, append results to variable.
Question 13
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Cosmos DB Core (SQL) API account named account 1 that uses autoscale throughput. You need to run an Azure function when the normalized request units per second for a container in account1 exceeds a specific value. Solution: You configure an Azure Monitor alert to trigger the function. Does this meet the goal?
A. Yes
B. No
Show answer and explanation
Answer
A
Explanation
Normalized RU consumption is an Azure Monitor metric for Cosmos DB containers. You can create a metric alert rule on Normalized RU Consumption that fires when usage exceeds a threshold, and configure an action group with an Azure Function action to invoke the function. This is the correct pattern for reacting to throughput utilization; Cosmos DB data-plane triggers cannot monitor RU metrics.
Question 14
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Cosmos DB Core (SQL) API account named account 1 that uses autoscale throughput. You need to run an Azure function when the normalized request units per second for a container in account1 exceeds a specific value. Solution: You configure the function to have an Azure CosmosDB trigger. Does this meet the goal?
A. Yes
B. No
Show answer and explanation
Answer
B
Explanation
An Azure Cosmos DB trigger is bound to the change feed of a container and fires on document insert/update/delete — not on throughput or normalized RU consumption metrics. To run a function when normalized RU/s exceeds a threshold, you must use Azure Monitor metric alerts with an action group, not a Cosmos DB trigger.
Question 15
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Cosmos DB Core (SQL) API account named account 1 that uses autoscale throughput. You need to run an Azure function when the normalized request units per second for a container in account1 exceeds a specific value. Solution: You configure an application to use the change feed processor to read the change feed and you configure the application to trigger the function. Does this meet the goal?
A. Yes
B. No
Show answer and explanation
Answer
B
Explanation
The change feed processor reads document changes from a container's change feed. It does not monitor normalized RU/s consumption or container throughput metrics. Normalized RU consumption is exposed as an Azure Monitor metric; the correct solution is an Azure Monitor alert on that metric configured to trigger an Azure Function via an action group.
Downloads and personal use
Purchase this exam question set separately with 1, 3, 6 or 12 months of download access.
After payment confirmation, My Library shows the generation status. We will email you when your PDF is ready to download.
Download again during your term. Purchase a new term after expiry.
PDFs are licensed for personal study only and must not be resold or shared publicly.
Files already saved to your device are not remotely deleted when access expires.