DP-420 in 2026: what the exam covers and how to study

What the DP-420 Azure Cosmos DB AI Developer exam measures since October 2026, how its three areas are weighted, why partition keys carry so much of it, and a study plan built on one AI app with Cosmos DB as its memory.

Short answer: DP-420 earns Microsoft Certified: Azure Cosmos DB AI Developer Associate (the certification was renamed from the Cosmos DB developer specialty). It weighs designing and developing database solutions at 40 to 45%, securing, optimizing and deploying them at 30 to 35%, and AI and analytics at 20 to 25%. It runs 100 minutes, you need 700 out of 1,000, and you renew it each year for free. You should develop in C# or Python.

The new version treats Cosmos DB as the store behind AI apps: agent memory, conversation state, vector and hybrid search, and grounding data, on top of the classic skills of modelling, partitioning and request units.

What does DP-420 cover?

  • Design and develop database solutions40-45%
  • Secure, optimize and deploy30-35%
  • AI and analytics capabilities20-25%
DP-420 skills, by weight in the exam
  • Design and develop: resource models and SDKs, database operations, consistency levels, request unit (RU) needs, data models and partition keys (hierarchical and synthetic keys too), and the change feed.
  • Secure, optimize and deploy: security controls, backup and restore, multi-region reads and writes, partition failover, index performance, and managing many accounts as a fleet.
  • AI and analytics: vector data and indexes, vector and hybrid search, agent memory stores, and analytics through mirroring into Microsoft Fabric.

Why does the partition key matter so much?

Candidate keyCardinalityWrites spreadVerdict
/countrylowa few hot partitionspoor
/customerIdhighevengood for per-customer reads
/tenantId then /userIdhighevenhierarchical key for multi-tenant apps
/datemediumtoday is always hotpoor for writes
Choosing a partition key

The skills list asks you to choose keys by cardinality, access pattern and write distribution, and to spot anti-patterns. Most performance and cost questions trace back to this choice and to RU consumption.

How would you study for it?

  1. 1
    Modelcontainers, documents and a partition key for a chat app
  2. 2
    Buildread, write and query with the SDK, watch the RU charge
  3. 3
    Change feedreact to new messages with the change feed processor
  4. 4
    AIstore embeddings, add vector and hybrid search, keep agent memory
  5. 5
    Operatemulti-region, backup, mirroring into Fabric
One AI app with Cosmos DB as its store

Print the RU charge of every query while you build; it makes the cost questions intuitive. The free tier or the emulator covers most of it.

What helps on the day?

  • Know the five consistency levels and what each trades between latency and freshness.
  • Change feed modes. Know the processor against pull mode, and latest version against all versions and deletes.
  • Use Microsoft Learn sparingly. It is open in the exam but the clock keeps running.

How do you keep the certification?

It expires after a year; renew it with the free online assessment on Microsoft Learn in the six months before.

Where can you check this?

Where do you start?

Pick the partition key for a small chat app and build it. Vector search with SQL embeddings explains embeddings and vector search, which work the same way here; DP-800 is the SQL counterpart for AI apps.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.