Free DP-420 Practice Test Questions and Answers (2026)
Q: 1
You are implementing an Azure Data Factory data flow that will use an Azure Cosmos DB (SQL API)
sink to write a dataset. The data flow will use 2,000 Apache Spark partitions.
You need to ensure that the ingestion from each Spark partition is balanced to optimize throughput.
Which sink setting should you configure?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 2
You provision an Azure Cosmos DB for NoSQL container. You set the throughput to Autoscale, and the
maximum request units per second {RU/s) to 20,000.
For how many RU/s will you be charged when the actual RU/s usage is zero?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 3
You have an Azure Cosmos DB database named databaset contains a container named container1.
The container1 container store product data and has the following indexing policy.
Which path will be indexed?
Which path will be indexed?Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 4
You need to select the partition key for con-iot1. The solution must meet the IoT telemetry
requirements.
What should you select?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 5
HOTSPOT
You have an Azure Cosmos DB for NoSQL account that frequently receives the same three queries.
You need to configure indexing to minimize RUs consumed by the queries.
Which type of index should you use for each query? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one point.


Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 6
HOTSPOT
You have a container named container1 in an Azure Cosmos DB for NoSQL account named account1.
You configure container1 to use Always Encrypted by using an encryption policy as shown in the C#
and the Java exhibits. (Click the C# tab to view the encryption policy in C#. Click the Java tab to see
the encryption policy in Java.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 7
You have an Azure Cosmos DB for NoSQL account named account1 that has a single read-write region
and one additional read region. Account1 uses the strong default consistency level.
You have an application that uses the eventual consistency level when submitting requests to
account1.
How will writes from the application be handled?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 8
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 sett 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 a container named conlainer1 in an Azure Cosmos DB for NoSQL account.
You need to make the contents of container1 available as reference data for an Azure Stream
Analytics job.
Solution: You create an Azure function to copy data to another Azure Cosmos DB for NoSQL
container.
Does this meet the goal?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 9
You have a database named db1in an Azure Cosmos DB for NoSQL account named account 1.
You need to write JSON data to db1 by using Azure Stream Analytics. The solution must minimize
costs.
Which should you do before you can use db1 as an output of Stream Analytics?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 10
You have an Azure Cosmos DB Core (SQL) API account.
You configure the diagnostic settings to send all log information to a Log Analytics workspace.
You need to identify when the provisioned request units per second (RU/s) for resources within the
account were modified.
You write the following query.
AzureDiagnostics
| where Category == "ControlPlaneRequests"
What should you include in the query?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 11
You have a database in an Azure Cosmos DB for NoSQL account that is configured for multi-region
writes.
You need to use the Azure Cosmos DB SDK to implement the conflict resolution policy for a container.
The solution must ensure that any conflict sent to the conflict feed.
Solution: You set ConfilictResolutionMode to Custom. You Set ResolutionProcedures to a custom
stored procedure. You configure the custom stored procedure to use the isTomstone parameter to
resolve conflict.
Does this meet the goal?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 12
HOTSPOT
You plan to use a multi-region Azure Cosmos DB for NoSQL account to store data for a new
application suite. The suite contains the applications shown in the following table.
Each application should use the weakest consistency level possible.
Which consistency level should you configure for each application? To answer, select the appropriate
options in the answer are
a. NOTE: Each correct selection is worth one point.

Each application should use the weakest consistency level possible.
Which consistency level should you configure for each application? To answer, select the appropriate
options in the answer are
a. NOTE: Each correct selection is worth one point.

Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 13
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.


Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 14
HOTSPOT
You have an Azure Cosmos DB Core (SQL) API account named account1.
In account1, you run the following query in a container that contains 100GB of data.
SELECT *
FROM c
WHERE LOWER(c.categoryid) = "hockey"
You view the following metrics while performing the query.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 15
HOTSPOT
You have an Azure Cosmos DB for NoSQL account.
You plan 10 create a container named container1. The container1 container will store items that
include two properties named nm and age
The most commonly executed queries will query container1 for a specific name. The following is a
sample of the query.
You need to define an opt-in Indexing policy for container1. The solution must meet the following
requirements:
• Minimize the number of request units consumed by the queries.
• Ensure that the _etag property is excluded from indexing.
How should you define the indexing poky? To answer, select the appropriate options in the answer
are
a. NOTE: Each correct selection Is worth one point.

You need to define an opt-in Indexing policy for container1. The solution must meet the following
requirements:
• Minimize the number of request units consumed by the queries.
• Ensure that the _etag property is excluded from indexing.
How should you define the indexing poky? To answer, select the appropriate options in the answer
are
a. NOTE: Each correct selection Is worth one point.

Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 16
HOTSPOT
You have an Azure Cosmos DB Core (SQL) API account named storage1 that uses provisioned
throughput capacity mode.
The storage1 account contains the databases shown in the following table.
The databases contain the containers shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

The databases contain the containers shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 17
You have a database in an Azure Cosmos DB Core (SQL) API account.
You need to create an Azure function that will access the database to retrieve records based on a
variable named accountnumber. The solution must protect against SQL injection attacks.
How should you define the command statement in the function?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 18
You plan to store order data in Azure Cosmos DB for NoSQL account. The data contains information
about orders and their associated items.
You need to develop a model that supports order read operations. The solution must minimize the
number or requests.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 19
You plan to create an Azure Cosmos DB Core (SQL) API account that will use customer-managed keys stored in Azure Key Vault. You need to configure an access policy in Key Vault to allow Azure Cosmos DB access to the keys. Which three permissions should you enable in the access policy? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 20
The following is a sample of a document in orders.
The orders container uses customer as the partition key.
You need to provide a report of the total items ordered per month by item type. The solution must
meet the following requirements:
Ensure that the report can run as quickly as possible.
Minimize the consumption of request units (RUs).
What should you do?
The orders container uses customer as the partition key.
You need to provide a report of the total items ordered per month by item type. The solution must
meet the following requirements:
Ensure that the report can run as quickly as possible.
Minimize the consumption of request units (RUs).
What should you do?Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Question 1 of 20