DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Free Microsoft DP-420 Practice Questions & Answers 2026 Part1

Are you preparing for the Microsoft DP-420 certification exam? SPOTO offers the Microsoft DP-420 Premium File; all questions are aligned with the latest exam content and come with expert-provided answers. Our question banks cover the latest question types, core concepts, and detailed explanations, helping you familiarize yourself with the exam format and difficulty level. Whether you are reviewing core concepts or simulating a real exam environment, these resources will rapidly boost your confidence and readiness.
For over two decades, SPOTO has successfully helped numerous IT professionals secure their ideal positions at Fortune 500 companies. Download now to start practicing efficiently and ensure a high score on the actual exam. Don't miss this opportunity to pass your certification exam with ease!
Take other online exams

Question #1
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 speci c value.Solution: You con gure an Azure Monitor alert to trigger the function.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: A
Question #2
You have a database in an Azure Cosmos DB Core (SQL) API account. The database is backed up every two hours. You need to implement a solution that supports point-in-time restore. What should you do first?
A. Configure the Backup & Restore settings for the account
B. Create a new account that has a periodic backup policy
C. Enable Continuous Backup for the account
D. Configure the Point In Time Restore settings for the account
View answer
Correct Answer: C
Question #3
You have an Azure Cosmos DB Core (SQL) API account that has multiple write regions.You need to receive an alert when requests that target the database exceed the available request units per second (RU/s).Which Azure Monitor signal should you use?
A. ata Usage
B. rovisioned Throughput
C. otal Request Units
D. ocument Count
View answer
Correct Answer: B
Question #4
You need to select the partition key for con - iot1. The solution must meet the IoT telemetry requirements. What should you select?
A. the timestamp
B. the humidity
C. the temperature
D. the device ID
View answer
Correct Answer: D
Question #5
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 speci c value. Solution: You con gure an application to use the change feed processor to read the change feed and you con gure the application to trigger the function.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #6
You have an Azure Cosmos DB Core (SQL) API account named account1 that is configured for automatic failover. The account1 account has a single read-write region in West US and a read region in East US.You run the following PowerShell command.Update-AzCosmosDBAccountFailoverPriority -ResourceGroupName `rg1` -Name`account1` -FailoverPolicy @(`East US`, `West US`)What is the effect of running the command?
A. he account will be configured for multi-region writes
B. he account will be unavailable to writes during the change
C. manual failover will occur
D. he provisioned throughput for account1 will increase
View answer
Correct Answer: B
Question #7
You have an Azure Cosmos DB Core (SQL) API account.You run the following query against a container in the account.What is the output of the query?
A. [{"A": false, "B": true, "C": false}]
B. [{"A": true, "B": false, "C": true}]
C. [{"A": true, "B": true, "C": false}]
D. [{"A": true, "B": true, "C": true}]
View answer
Correct Answer: A
Question #8
You have an Azure Cosmos DB for NoSQL database named db1 that writes to multiple Azure regions. You need to test the performance of db1 in the secondary region. Which command should you run first?
A. az cosmosdb location show
B. az cosmosdb failover-priority-change
C. az cosmosdb network-rule remove
D. az cosmosdb sql database merge
View answer
Correct Answer: B
Question #9
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 speci c value.Solution: You con gure the function to have an Azure CosmosDB trigger.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #10
You have an Azure Cosmos DB for NoSQL account named account1. You plan to implement a multi-region write scenario. You enable multi-region writes for account1.Which two actions should you perform next? Each correct answer presents part of the solution. NOTE: Each correct answer is worth one point.
A. Set consistencyLevel to Eventual
B. Set ApplicationRegion to the name of the deployed region
C. Update connectionString
D. Set UseMultipleWriteLocations to True
View answer
Correct Answer: BD
Question #11
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 a database in an Azure Cosmos DB Core (SQL) API 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 conflicts are sent to the conflicts feed.Solution: You set ConflictResolutionMode to LastWriterWins and you use the default settings for the policy.Does this meet the goal?
A. es
B. o
View answer
Correct Answer: A
Question #12
You have an Azure Cosmos DB for NoSQL database named db1 that is monitored by using Azure Monitor. You need to identify the operations that have the highest throughput. Which metric should you use?
A. Data Usage
B. Autoscale Max Throughput
C. Index Usage
D. Total Request Units
View answer
Correct Answer: D
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 speci c value.Solution: You con gure an Azure Monitor alert to trigger the function.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: A
Question #14
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.
A. Append pre to the name of the JavaScript function trigger
B. For each create request, set the access condition in RequestOptions
C. Register the trigger as a pre-trigger
D. For each create request, set the consistency level to session in RequestOptions
E. For each create request, set the trigger name in RequestOptions
View answer
Correct Answer: C
Question #15
You have an Azure Cosmos DB for NoSQL account that has multiple write regions.You need to receive an alert when requests that target the database exceed the available request units per second (RU/s).Which Azure Monitor signal should you use?
A. ocument Count
B. rovisioned Throughput
C. etadata Requests
D. egion Removed
View answer
Correct Answer: B
Question #16
You need to select the partition key for con-iot1. The solution must meet the IoT telemetry requirements.What should you select?
A. the timestamp
B. the humidity
C. the temperature
D. the device ID
View answer
Correct Answer: D
Question #17
You are developing an application that will use an Azure Cosmos DB Core (SQL) API account as a data source. You need to create a report that displays the top five most ordered fruits as shown in the following table. A collection that contains aggregated data already exists. The following is a sample document: { "name": "apple", "type": ["fruit", "exotic"], "orders": 10000 } Which two queries can you use to retrieve data for the report? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point. A) B) C) D)
A. AOption A
B. BOption B
C. COption C
D. DOption D
View answer
Correct Answer: BD
Question #18
You maintain a relational database for a book publisher. The database contains the following tables.The most common query lists the books for a given authorId.You need to develop a non-relational data model for Azure Cosmos DB Core (SQL) API that will replace the relational database. The solution must minimizelatency and read operation costs.What should you include in the solution?
A. Create a container for Author and a container for Book
B. Create Author, Book, and Bookauthorlnk documents in the same container
C. Create a container that contains a document for each Author and a document for each Book
D. Create a container for Author and a container for Book
View answer
Correct Answer: C
Question #19
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 speci c value.Solution: You con gure the function to have an Azure CosmosDB trigger.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #20
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 speci c value.Solution: You con gure the function to have an Azure CosmosDB trigger.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #21
You have a database in an Azure Cosmos DB for NoSQL 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?
A. md = "SELECT * FROM Persons pWHERE p
B. md = "SELECT * FROM Persons pWHERE p
C. md = "SELECT * FROM Persons pWHERE p
D. md = "SELECT * FROM Persons pWHERE p
View answer
Correct Answer: C
Question #22
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?
A. Throughput
B. Write throughput budget
C. Batch size
D. Collection action
View answer
Correct Answer: C

View The Updated Microsoft Exam Questions

SPOTO Provides 100% Real Microsoft Exam Questions for You to Pass Your Microsoft Exam!

View Answers after Submission

Please submit your email and WhatsApp to get the answers of questions.

Note: Please make sure your email ID and Whatsapp are valid so that you can get the correct exam results.

Email:
Whatsapp/phone number:
Contact Us