DP-420 / Associate

DP-420: Azure Cosmos DB AI Developer Associate

Prepare for DP-420 with an Azure Cosmos DB for NoSQL study guide and 245 questions in English and Spanish.

DP-420 retains its exam code. Since October 6, 2026, the credential is Azure Cosmos DB AI Developer Associate and adds AI retrieval, agent memory, and operational analytics. This guide assumes basic Python or C# experience.

View the Microsoft Learn exam outline

Exam outline and priorities

Exam areaOfficial weight
Design and develop database solutions40–45 %
Secure, optimize, and deploy database solutions30–35 %
Implement AI and analytics capabilities in database solutions20–25 %

Use the weights to allocate study time and review every area. Spend more practice time on errors you can reproduce and explain.

Certification practice project

Build a multitenant catalog assistant using fictional documents and conversations. Design its key, compare SDK operations, secure access with Entra, measure hybrid retrieval, and test publishing operational results in Fabric.

Model documents and distribute load

Start with the most important operations. Decide which data is read together and which relationships grow independently. Evaluate cardinality, distribution, partition size, and prefix filters. Measure RUs per operation with representative data.

Practical exercise

Model orders and sessions with uneven tenant distribution. Compare a flat key, a hierarchical key, and a synthetic bucket with representative filters. Record which queries maintain efficient routing.

Check your understanding

You can justify the key with traffic data and explain when a filter must span partitions.

Technical documentation on Microsoft Learn

Develop with the SDK and consume changes

Reuse the client, distinguish point reads from parameterized queries, and store continuation with its context. For changes, choose a processor with leases or pull reads based on who must control reads and progress.

Practical exercise

Implement a point read and a status search. Save a continuation point and resume. Process changes into a test sink and restart a consumer to check idempotency.

Check your understanding

You can explain what a lease stores, what limits a transactional batch, and when a delete needs a different feed mode.

Technical documentation on Microsoft Learn

Secure, recover, and troubleshoot

Configure scoped identity and data permissions and test private DNS separately. Set recovery objectives and run a restore drill. For performance, correlate client metrics, normalized RUs, and key-level logs.

Practical exercise

Grant read access to one container and test a rejected operation. Reproduce local pressure on a test partition, follow the signal from alert to logs, and rehearse recovery of a fictional document.

Check your understanding

You can distinguish data permissions, network access, regional or localized saturation, and recovery guarantees.

Technical documentation on Microsoft Learn

Evaluate hybrid search and agent memory

Configure full-text and embedding paths. Compare lexical, vector, and hybrid retrieval on a common query set. Define retention for turns and summaries and restrict retrieval to the authorized user or tenant.

Practical exercise

Load queries with exact codes and paraphrases. Compare top-k, latency, and RUs. Restart the agent, verify expected history retrieval, and add a memory from another tenant to test isolation.

Check your understanding

You can explain what VectorDistance, FullTextScore, and RRF contribute and show relevance and isolation evidence.

Technical documentation on Microsoft Learn

Analyze operational data in Microsoft Fabric

Use mirroring to analyze a copy in OneLake and verify freshness. The SQL endpoint can expand JSON. Use the Azure Cosmos DB Spark connector when the notebook must read or write directly to the operational container.

Practical exercise

Query nested lines with OPENJSON and reproduce the aggregate in Spark. Use the connector to write test scores to a separate container and verify resulting ids and keys.

Check your understanding

You can choose where to analyze and where to write based on purpose, permissions, and freshness.

Technical documentation on Microsoft Learn

Practice with the simulator

The bank includes 245 questions in Spanish and English. Start with a short session, review explanations, and reproduce missed decisions in your project.

Practice answer selection, yes/no tables, step ordering, and matching. In a case study, identify the goal, permissions, and constraints before choosing an option.

Open the DP-420 simulator

Before taking the exam

  • Review official objectives and their effective date.
  • Complete the project and keep evidence of relevant error, permission, and deployment tests.
  • Explain decisions using case requirements and consult documentation when unsure.
  • Repeat a timed session after addressing weak areas.

Explore the Microsoft exam sandbox