Microsoft DP-420 Practice Exam Questions & Answers

8 Free Questions Last reviewed November 28, 2026 Prepared & Reviewed by the ValidExamDumps Editorial Team

227 Practice Questions (Our Bank)
100 minutes Exam Duration
700 out of 1000 Passing Score
USD 165 Official Exam Fee
Exam Facts

Microsoft DP-420 Exam Details

Key details for this exam, checked against the published exam outline

Exam Code
DP-420
Full Name
Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB
Issuing Body
Microsoft
Question Format (Our Bank)
Multiple Choice, Hotspot, Drag & Drop, Order List, Case Studies
Delivery
Online proctored or Pearson VUE test centre
Eligibility
No prerequisites required
Practice Questions

Free DP-420 Practice Questions

Answer each question, then see the correct answer and why it is right

VA
ValidExamDumps Editorial Team Every question and its answer is checked by our DP-420 exam preparation team, who also write the explanation shown with each one. How we research and review these pages

Question 1 Domain 1 Design and develop database solutions

An Azure Cosmos DB for NoSQL account named account1 stores loT telemetry from 50.000 devices spread across 10 distinct districts. Every device sends one 1-KB document each second, and each document contains three properties named deviceld, districtld, and tinestamp.

You must design a partitioning solution that satisfies these requirements:

* Queries for a single device must stay routable without fanning out across every partition. *The data for any one device must not be able to exceed the logical partition limit of account1.

* Writes for a given time window must not be concentrated in a single logical partition.

Which settings should you configure? To answer, choose the appropriate options in the answer area.

NOTE: Each correct selection earns one point.

Question 1 exhibit

Explanation

Correct answer area highlighted in green

Hotspot answer

Question 2 Domain 1 Design and develop database solutions

Your organization runs an Azure Cosmos DB for NoSQL account called account1.

An application named App1 connects to account1 and applies strong consistency to every request.

You enable the Azure Cosmos DB integrated cache for account1.

Your goal is to make sure App1 takes advantage of the integrated cache.

Which action should you take?

Correct Answer A
Explanation

The integrated cache in Azure Cosmos DB is only compatible with eventual consistency. Because App1 currently relies on strong consistency, it cannot gain any benefit from the integrated cache. For App1 to make use of the integrated cache, the account's consistency level must be changed to eventual consistency. The integrated cache is designed for workloads where eventual consistency is tolerable, delivering better performance through client-side caching.

Question 3 Domain 1 Design and develop database solutions

An Azure Cosmos OB for NoSQL account has been set up for global distribution across four regions. When a connection is established, the SQL SDK must determine the best endpoint to use for reads and writes. Which two factors can affect the SDK's choice? Each correct answer forms a complete solution. NOTE- Each correct selection is worth one point.

Correct Answer B, E
Explanation

Two factors that affect how the SQL SDK picks an endpoint when a connection is opened are: (1) the preferred regions explicitly set in the connection policy, which the SDK uses to rank endpoints by priority; and (2) the live availability and latency measurements for each region, which the SDK tracks to find the endpoint offering the lowest latency. The SDK weighs configured preferences against actual performance to optimize read and write operations.

Get the complete DP-420 question set

Get Full Access

Question 4 Domain 1 Design and develop database solutions

An Azure Cosmos DB database includes a container called container1. Throughput on container1 is capped at 20,000 RU/s, and the container currently holds 240 GB of data.

Using current usage, you must project the expenses for container1.

What number of RU/s will be billed?

Correct Answer B
Explanation

For a container set to 20,000 RU/s that holds 240 GB of data, 20,000 RU/s will be billed. This reflects standard provisioned throughput pricing, where charges apply to the provisioned RU/s capacity regardless of how much is actually consumed, up to that ceiling. Storage size (240 GB) is billed separately from throughput, so throughput charges depend only on the provisioned RU/s. Because this is manual provisioning rather than autoscale, the full 20,000 RU/s is charged even when some of it goes unused during certain periods.

Question 5 Domain 1 Design and develop database solutions

Your Azure subscription is ready for use.

You intend to deploy an Azure Cosmos DB for NoSQL single-region write account named account1 that will be replicated across two Azure regions.

You must configure the default consistency level for account1. The configuration has to satisfy these requirements:

* Write operations must be carried out against a local majority within one region.

* Read operations must be served from a local minority within one region.

Which consistency level should you choose?

Correct Answer D
Explanation

The consistency level that calls for writes to a local majority in one region and reads from a local minority in one region is Strong consistency. Strong consistency guarantees that once a write completes, every later read returns the most recent committed data. It is the only level that ensures both the write quorum (local majority) and read freshness (local minority), so it satisfies both stated requirements.

Question 6 Domain 1 Design and develop database solutions

You have an Azure Cosmos DB for NoSQL account named account1.

You intend to set up a container named container1 that will hold data continuously gathered from self-driving cars. The items in container1 will mostly be read through queries that filter for data gathered from one particular car on a single day. Each car can be recognized by a property named Vehicle-Identification-Number.

You need to choose a partition strategy for container1. The strategy must meet the following requirements:

* Maximize read and write performance.

* Minimize the costs of data reads and writes.

What should you choose?

Correct Answer D
Explanation

For self-driving car data that is accessed by a specific car during a given day, the best partition strategy is:

  • Partition on /Vehicle-Identification-Number: Because queries target data from a specific car during a given day, using the VIN as the partition key keeps all data for each car together. This turns queries into single-partition queries, which maximize read/write performance and minimize RUs.
  • Why this minimizes costs: Single-partition queries use far fewer RUs than cross-partition queries. All data for one car sits in one partition, so requests such as 'get all readings from Car X on Date Y' can run within a single partition.
  • Why this maximizes performance: Avoiding cross-partition distribution means faster query execution and better throughput for this access pattern.

This strategy matches the primary query pattern (a specific car and a specific time period), making it the best choice for both cost and performance.

Question 7 Domain 1 Design and develop database solutions

Your organization builds an application named App1 with the Azure Cosmos DB SDK, currently configured to use the Eventual consistency level.

App1 runs queries against an Azure Cosmos DB for NoSQL account named account!

You must determine which consistency level App1 should use to satisfy these requirements:

* Increase the throughput of the queries issued by App1 without raising the number of request units those queries currently consume.

* Deliver the strongest consistency guarantees possible.

Which consistency level should you choose?

Correct Answer A
Explanation

This question asks for the consistency level that satisfies two goals: (1) raising throughput without consuming more request units, and (2) delivering the strongest consistency guarantees.

Azure Cosmos DB consistency levels run from weakest to strongest: Eventual → Consistent Prefix → Session → Bounded Staleness → Strong. The essential point is how switching consistency levels affects throughput and RU cost:

  • Eventual Consistency: Weakest guarantees, highest throughput, lowest RU cost
  • Strong Consistency: Strongest guarantees, but requires synchronous replication to every replica before writes are acknowledged

The question notes that App1 already uses Eventual consistency. To 'deliver the strongest consistency guarantees,' you need Strong Consistency. At first glance, the goal of 'maximizing throughput without increasing request units' appears to conflict with this. The answer is that Strong Consistency consumes the SAME number of request units for reads and writes, so it does not push RU consumption above what Eventual uses. The difference lies in latency, not RU cost. Strong Consistency guarantees that reads always return the latest write, satisfying the top consistency requirement while staying within the same RU budget.

Question 8 Domain 1 Design and develop database solutions

Consider an Azure Cosmos DB database named databaset, which contains a container called container1. The container1 container holds product data and uses the indexing policy shown below.

Question 8 exhibit

Which path will be indexed?

Correct Answer A
Study Guide

What the Microsoft DP-420 Exam Covers

Exam domains verified against the Official Microsoft DP-420 exam guide, last checked November 2026.

Domain 1 Design and develop database solutions

40% - 45%

Evaluate resource models and SDK solutions; Evaluate consistency levels; Evaluate Request Unit (RU) consumption requirements; Evaluating and configuring appropriate throughput; Configure account-level and container-level settings; Create and manage database and containers; Initialize SDK clients and connections; Implement database operations; Implement queries, parameterized queries, paging, and continuation tokens; Implement point read operations; Implement create, replace, update, patch and delete operations; Implement bulk, batch, and transactional operations; Configure Time to Live (TTL); Implement concurrency control mechanisms; Design and implement data models and partitioning strategies; Design data models for access patterns and operational requirements; Design and select partition keys based on cardinality, access patterns, and write distribution requirements; Determine when to embed or reference related data; Evaluate the impact of partition key selection on scalability and performance; Implement hierarchical partition keys (HPKs) and multi-tenant partitioning strategies; Implement synthetic partition keys; Identify partitioning anti-patterns and partitioning issues during solution reviews; Estimate workload cost requirements; Implement change feed; Implement change feed operations; Differentiate between change feed processor and pull mode models; Configure lease containers; Implement change feed processing using latest mode or all versions and delete; Implement copy container jobs; Design and implement Azure Cosmos DB solutions by using AI-assisted tools; Implement Agent Kit to follow Azure Cosmos DB development recommended solutions; Implement Agent Kit to accelerate AI application development

Above Practice Questions from this Domain: Q1Q2Q3Q4Q5Q6Q7Q8

Domain 2 Secure, optimize, and deploy database solutions

30% - 35%

Implement database security controls; Configure authentication mechanisms; Configure authorization controls; Configure network security; Configure dynamic data masking; Implement availability and recovery solutions; Configure backup and restore solutions; Implement multi-region read and write configurations; Configure partition failover solutions; Optimize and remediate database performance; Optimize query performance; Analyze query performance metrics; Analyze index performance metrics; Monitor end-to-end latency against service objectives; Configure Azure Monitor alerts; Analyze diagnostic logs in Log Analytics; Implement Fleet management and monitoring across multiple accounts and subscriptions; Configure Fleet level throughput management; Configure Fleet monitoring with fleet analytics

Domain 3 Implement AI and analytics capabilities in database solutions

20% - 25%

Design and implement AI retrieval; Design and implement full-text search; Design for vector data, including vector data type, vector indexes, and size; Design and implement vector partitioning and sharded DiskANN implementations; Implement vector search; Design and implement hybrid search; Optimize full-text and vector performance; Design and implement Retrieval-Augmented Generation (RAG); Design and implement agent memory stores; Design durable memory stores; Implement conversation state; Implement semantic memory; Design and implement operational analytics on Azure Cosmos DB; Choose between Azure Cosmos DB and Cosmos DB in Microsoft Fabric; Configure and monitor data mirroring into Microsoft Fabric; Query Azure Cosmos DB mirrored JSON data in Microsoft Fabric with T-SQL and Spark; Read and write data into Azure Cosmos DB from Microsoft Fabric with Cosmos DB Spark connector

FAQ

DP-420 Exam FAQ

Common questions about the exam itself

What prior experience do I need before taking DP-420?
You should have solid knowledge of developing applications for Azure and working with Azure Cosmos DB. Hands-on experience with the SQL API, SDKs in C# or Java, writing SQL queries, and creating server-side JavaScript objects is expected. Most candidates benefit from six months to a year of practical development work.
Is DP-420 harder than other Azure data certifications?
DP-420 tests deep implementation skills rather than just administration or general knowledge. It requires hands-on ability to design data models, optimize performance, and manage multi-region deployments. The exam format includes scenario-based questions that test your judgment on real-world problems.
Which objective area gives most candidates trouble on DP-420?
Design and Implement Data Models is the largest domain at 35 to 40 percent and trips up many candidates because it combines data modeling theory with practical partitioning decisions. Success here depends on understanding how partition keys affect throughput and cost, not just memorizing syntax.
How long should I study for DP-420?
Most candidates prepare for six to ten weeks, depending on their background with Azure and databases. If you already work with Azure and have database experience, you might finish in four to six weeks. Without either, allow ten to twelve weeks.
What happens on exam day for DP-420?
You take the exam online from home or at a Pearson VUE test centre. You have one hundred minutes to answer forty questions. The exam includes multiple choice, scenario-based questions, and possibly drag-and-drop or case study formats. You must show valid ID and follow proctoring requirements.
What is the passing score for DP-420 and what does it mean?
You need to score at least 700 out of 1000 to pass. This means around seventy percent of the weighted question points, adjusted for question difficulty. One difficult question answered correctly may count more than an easier one.
Can I retake DP-420 if I fail?
Yes, you can retake the exam. Microsoft requires you to wait at least 24 hours after a failed attempt before scheduling your next try. There is no limit to how many times you can retake, but you pay the full exam fee each time.
How long is the Azure Cosmos DB Developer Specialty certification valid?
Your certification is valid for one year from the date you pass. Before it expires, you must complete a free renewal assessment to keep it active. Renewal only requires passing the online assessment, not the full proctored exam.
What job role does DP-420 prepare me for?
DP-420 targets cloud developers and data engineers who design and build globally distributed applications using Azure Cosmos DB. Candidates typically work on backend APIs, real-time data pipelines, or multi-region applications where low latency and high availability matter.
How does DP-420 relate to DP-900 or DP-300?
DP-900 is a foundational Azure Data Fundamentals exam you can take first if you are new to cloud databases. DP-300 covers SQL Server and relational databases, while DP-420 is specialist-level for NoSQL Cosmos DB development. You do not need either prerequisite, but having DP-900 knowledge helps.

Other Microsoft Exams

Free practice questions for more Microsoft certification exams

All Microsoft exams