Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB (DP-420) Practice Questions
Domain coverage
- Design and implement data models
- Design and implement data distribution
- Integrate an Azure Cosmos DB solution
- Optimize an Azure Cosmos DB solution
- Maintain an Azure Cosmos DB solution
Sample Questions (10 of 100 shown)
isTombstone parameter is used for delete conflicts, not for general conflict resolution. To send conflicts to the conflict feed, the stored procedure should use the conflictingItems parameter, not isTombstone.- Store companies and the users employed by them. Each company will have less than 1,000 users.
- Some users have data that is greater than 2 KB.
- Associate each user to only one company.
- Provide the ability to browse by company.
- Provide the ability to browse the users by company.
- Whenever a company or user profile is selected, show a details page for the company and all the related users.
- Be optimized for reading data.
- New orders will be created frequently by different customers.
- Customers will often view their past order history.
customerId as the partition key is the best choice because it allows customers to efficiently query their own order history (a single partition query). Since different customers create orders, the workload will be distributed across partitions without creating hot spots.deviceId) is the typical natural partition key. Using device ID distributes data evenly across partitions as each device writes to its own partition, avoiding hot partitions that would occur with timestamp-based keys.- Avoid hot partitions
- Avoid capacity limits
- Reduce partition skew
Company_ID as the partition key stores all employees of the same company in the same logical partition. Within that partition, setting Email_Address as a unique key ensures no duplicate email addresses exist per company. This is an efficient design for the described workload.You've viewed 3 of 100 questions. Start the free practice exam to answer all questions with instant feedback.
Exam overview
Building cloud-native applications on Azure Cosmos DB requires a fundamentally different approach to data modeling than traditional relational databases — and DP-420, the Cosmos DB Developer Specialty exam, validates your ability to design data models, optimize for performance and cost, and maintain globally distributed NoSQL solutions at scale. The exam is uniquely weighted: data modeling and partitioning strategy (Domain 1) accounts for 35–40% of the assessment, making it by far the most critical skill area, while data distribution and integration domains together represent only 10–20%. This weighting reflects the reality that partition key selection and document modeling decisions have the single largest impact on Cosmos DB cost, latency, and scalability.
No formal prerequisite certifications are required to register for DP-420, but Microsoft recommends practical experience developing cloud-native applications on Azure, the ability to read and troubleshoot application code in C# or Java, familiarity with JSON payloads, and working knowledge of PowerShell or Azure CLI. Because the exam includes interactive code snippet completions using the Azure Cosmos DB for NoSQL SDK — both C# and Java — hands-on experience with the SDK's point operations, query operations, TransactionalBatch, and Bulk Support is essential. The official preparation path is the Microsoft Learn Cosmos DB Developer Specialty learning track, which covers SDK connectivity, custom index tailoring, and application optimization.
Five domains define DP-420's skill measurement with a heavily skewed distribution. Design and Implement Data Models (35–40%) is the dominant domain, covering NoSQL data modeling patterns (embedding vs. referencing), logical partition key selection based on access patterns, synthetic and hierarchical partition keys, hot partition mitigation, RU overhead of cross-partition queries, SDK point vs. query operations, TransactionalBatch for multi-item transactions, Bulk Support for high-volume loading, and JavaScript stored procedures, triggers, and UDFs. Design and Implement Data Distribution (5–10%) covers regional failover policies, five consistency levels (Strong, Bounded Staleness, Session, Consistent Prefix, Eventual), multi-region writes configuration, and custom conflict resolution policies. Integrate an Azure Cosmos DB Solution (5–10%) covers Change Feed processor with Azure Functions integration, Azure Synapse Link, analytical store, and independent TTL for transactional vs. analytical layers. Optimize an Azure Cosmos DB Solution (15–20%) tests RU cost analysis, query performance tuning, composite indexes for multi-filter and ORDER BY optimization, and the integrated cache. Maintain an Azure Cosmos DB Solution (25–30%) covers network isolation with private endpoints, RBAC with Microsoft Entra ID, primary/secondary key management, periodic and continuous backups, Point-in-Time Restore (PITR), Azure Monitor metrics, Log Analytics diagnostics, and IaC deployment.
Approach your DP-420 preparation by mastering data modeling and partition key design first — Domain 1's 35–40% weight means poor partition key choices will cascade into failures across cost optimization, query performance, and scaling scenarios. Each practice question includes a detailed walkthrough of the Cosmos DB design decisions — why a synthetic partition key with a hash suffix distributes write load more evenly than a natural key with low cardinality, how to calculate RU consumption for a point read vs. a cross-partition query using request header analysis, which consistency level satisfies a 10-millisecond write latency SLA while maintaining causal consistency guarantees, and how to configure Change Feed processor with a lease container for exactly-once event delivery to an Azure Functions trigger. The downloadable PDF packages the same question bank for offline study, so you can review partition key selection matrices, consistency level comparison tables, and JavaScript stored procedure patterns during commutes or in restricted environments. Because the Specialty-level exam grants access to Microsoft Learn documentation during the test, our practice questions are designed to be attempted without documentation first, forcing you to internalize the RU calculation formulas, indexing policy JSON schema, and SDK method signatures before relying on the searchable reference.
Official Exam Domains & Weighting
To successfully pass the DP-420 exam, candidates must master the following core domains:- Domain 1: Design and implement data models — 35–40%
- Domain 2: Design and implement data distribution — 5–10%
- Domain 3: Integrate an Azure Cosmos DB solution — 5–10%
- Domain 4: Optimize an Azure Cosmos DB solution — 15–20%
- Domain 5: Maintain an Azure Cosmos DB solution — 25–30%
What Our Customers Say 130 verified reviews
These Microsoft exam dumps for DP-420 saved me weeks of study time. The questions cover every domain thoroughly.
The DP-420 certification opened up a promotion for me at work. These practice questions were a big part of that success.
The question explanations for DP-420 really dig into the AWS (or relevant) concepts. Helped me understand things at a deeper level.
Got the DP-420 certification after three weeks of self-study with this question bank. Very happy with the purchase.
Lifetime access was the selling point for me. Got sidetracked for a few months and came back — everything was still there for DP-420.
Best investment for Microsoft certification prep. The question bank for DP-420 is comprehensive and mirrors the real exam perfectly.
Frequently Asked Questions
The most challenging areas tend to center on the heavy math and logic behind Request Unit (RU) calculation and scaling. Candidates frequently struggle with questions that require them to precisely balance data modeling tradeoffs — specifically, predicting exactly how a chosen partition key or composite index configuration will impact RU costs for a given mix of read and write operations. Another common pitfall is misunderstanding the scope of JavaScript-based stored procedures, which can only perform transactional operations on items that share the exact same logical partition key. Candidates also frequently misconfigure multi-region writes conflict resolution policies, failing to distinguish between last-writer-wins (LWW) and custom conflict resolution for different data consistency requirements. Our practice questions reproduce these exact scenarios with step-by-step RU calculation and SDK code walkthroughs.
The Microsoft Certified: Azure Cosmos DB Developer Specialty credential expires exactly one year from the date you pass the exam. To maintain active status, you must complete a free, unproctored online renewal assessment on Microsoft Learn during the 6-month window prior to expiration. Renewal assessments focus on Cosmos DB updates and new features released during the preceding 12 months.
If you do not achieve the passing score of 700 on your first attempt, you must wait at least 24 hours before retaking. For a third or subsequent attempt, a strict 14-day cooling-off period is enforced between each registration. You are limited to a maximum of five total attempts within any rolling 12-month window. Each attempt requires the standard $165 USD exam fee unless protected by an Exam Replay voucher.
Yes. Like all Specialty-level Microsoft exams, DP-420 provides access to live Microsoft Learn documentation via a split-screen interface inside the Pearson VUE secure delivery environment. You can search and read official documentation during the exam, but external forums, GitHub repositories, and sandbox environments are not accessible. Our practice tests are designed to be attempted without documentation access first, building the partition key design intuition and RU calculation mental models you will need to navigate the docs efficiently under time pressure.
The mock exam includes data modeling questions where you must evaluate access patterns to determine whether to embed or reference related entities, select logical partition keys with write/read distribution analysis, design synthetic partition keys for even load distribution, and calculate RU costs for point reads vs. cross-partition queries. SDK code questions cover TransactionalBatch usage for multi-item transactions, Bulk Support configuration for high-volume ingestion, Change Feed processor initialization with lease container configuration, and JavaScript stored procedure deployment for transactional operations scoped to a single logical partition key. Consistency level scenarios test your ability to map application requirements (latency SLAs, causal consistency guarantees, read-your-writes semantics) to the correct consistency level. Every practice question includes a detailed RU calculation breakdown and SDK code walkthrough.
Yes, our complete DP-420 practice test is available as a downloadable PDF package that includes all scenario-based questions, data modeling exercises, SDK code snippet completions, and detailed answer explanations. The PDF covers every domain: Design and Implement Data Models (embedding vs. referencing, synthetic partition keys, RU calculation, stored procedures, TransactionalBatch), Design and Implement Data Distribution (consistency levels, multi-region writes, failover policies, conflict resolution), Integrate a Cosmos DB Solution (Change Feed processor, Synapse Link, analytical store), Optimize (composite indexes, integrated cache, indexing policy JSON), and Maintain (private endpoints, RBAC, PITR backup, Azure Monitor, IaC). Download the PDF for offline review during commutes or in restricted network environments.
AZ-305 (Azure Solutions Architect Expert) covers Cosmos DB at the architecture design level — selecting Cosmos DB as a data store, choosing an API, evaluating multi-region consistency models, and estimating high-level costs — but does not test SDK-level coding, RU calculation, indexing policy JSON configuration, Change Feed processor setup, or JavaScript stored procedure authoring. DP-900 (Azure Data Fundamentals) covers Cosmos DB at the conceptual level only — knowing that Cosmos DB is a globally distributed NoSQL database with multiple APIs. DP-420 is the only Microsoft certification that tests hands-on Cosmos DB development at the SDK level, including point operation RU analysis via request headers, composite index schema design for query optimization, TransactionalBatch programming patterns, and Change Feed lease container management. If your daily work involves writing C# or Java code against the Cosmos DB SDK, designing partition strategies, and optimizing for RU consumption, DP-420 is the certification that validates those specific development skills.