DP-420 Study Guide
A curated learning path for the DP-420 exam: the best documentation, videos, blog posts and tutorials for every exam objective.A curated learning path for the DP-420 exam: the best documentation, videos, blog posts and tutorials for every exam objective, in the order worth studying them.
Microsoft Certified: Azure Cosmos DB AI Developer Associate
Exam at a Glance
DP-420 measures whether you can build applications on Azure Cosmos DB that hold up in production and serve AI workloads: modeling and partitioning data, writing efficient SDK code, securing, recovering, and tuning the database, and using it as the retrieval index, agent memory, and operational data source behind AI and analytics.
| DP-420 | Building AI Applications with Azure Cosmos DB |
|---|---|
| Certification | Microsoft Certified: Azure Cosmos DB AI Developer Associate |
| Level | Intermediate (associate role-based exam) |
| Prerequisite | No prerequisite certification is listed; Microsoft Certified: Azure Data Fundamentals (exam DP-900) and Microsoft Certified: Azure AI Fundamentals (exam AI-901) are optional starting points |
| Exam length | 100 minutes |
| Questions | Typically 40 to 60; the number and format mix can vary |
| Passing score | 700 out of 1000 |
| Question formats | Multiple choice, multiple select, drag and drop, build list, hot area, case studies |
| Microsoft Learn access | Available within the exam; browsing is restricted and the timer continues |
| Skills measured version | October 6, 2026 |
| Renewal | Certification expires annually; renew with a free online assessment on Microsoft Learn |
| Cost | Depends on your country or region; shown when you schedule |
What the Exam Covers
The exam has three domains. Designing and developing database solutions carries the most weight at 40-45%, securing, optimizing, and deploying them carries 30-35%, and AI and analytics capabilities carry 20-25%. The AI and analytics domain is the smallest, but the whole domain is new in the October 2026 outline, and its retrieval and memory designs rest on the partitioning, indexing, and request unit decisions from the other two domains, so give it full attention.
Design and develop database solutions — 40-45%
Evaluating consistency levels, request unit (RU) consumption, and throughput options, configuring account and container settings, creating databases and containers, and initializing SDK clients and connections. Queries with parameters, paging, and continuation tokens, point reads, create, replace, update, patch, and delete operations, bulk, batch, and transactional operations, time to live (TTL), and concurrency control. Data models built for access patterns, embedding versus referencing, partition keys chosen for cardinality and write distribution, hierarchical, multi-tenant, and synthetic partition keys, partitioning anti-patterns, and workload cost estimates. The change feed processor versus the pull model, lease containers, latest version versus all versions and deletes mode, and container copy jobs. Using the Azure Cosmos DB Agent Kit to follow recommended practices and speed up AI application development.
Secure, optimize, and deploy database solutions — 30-35%
Authentication with Microsoft Entra ID or keys, role-based access control across the control and data planes, network security, and dynamic data masking. Backup and restore, multi-region reads and writes, and partition failover. Optimizing queries, analyzing query and index metrics, monitoring end-to-end latency against service objectives, configuring Azure Monitor alerts, and analyzing diagnostic logs in Log Analytics. Managing throughput and monitoring with fleet analytics across many accounts and subscriptions.
Implement AI and analytics capabilities in database solutions — 20-25%
Full-text search, vector data types, vector indexes and sizes, vector partitioning and sharded DiskANN, vector search, hybrid search, tuning full-text and vector performance, and retrieval-augmented generation (RAG). Agent memory stores: durable memory, conversation state, and semantic memory. Choosing between Azure Cosmos DB and Cosmos DB in Microsoft Fabric, configuring and monitoring mirroring into Fabric, querying mirrored JSON data with T-SQL and Spark, and reading and writing Azure Cosmos DB data from Fabric with the Cosmos DB Spark connector.
The full bullet-level list lives in the official study guide. Treat it as your checklist:
The Official DP-420 Study Guide
How This Maps to CertiAce Practice Modules
The CertiAce question bank is organized by the three learning paths of the official DP-420 course on Microsoft Learn. Each path covers one skills-measured domain, so the modules map to the domains one-to-one and you can drill each domain in isolation:
| CertiAce practice module | What you will drill there |
|---|---|
| Design and develop Azure Cosmos DB database solutions | Throughput and consistency, SDK clients and operations, queries and paging, data modeling and partition keys, the change feed, and the Agent Kit |
| Secure, optimize, and deploy Azure Cosmos DB solutions | Authentication and role-based access control, network security and masking, backup and restore, multi-region availability and failover, indexing and query tuning, monitoring, and fleets |
| Implement AI and analytics capabilities in Azure Cosmos DB | Full-text, vector, and hybrid search, RAG, agent memory stores, and operational analytics with Microsoft Fabric mirroring |
Where DP-420 Fits
| Certification | What it validates | When to take it |
|---|---|---|
| Microsoft Certified: Azure Data Fundamentals (DP-900) | Core data concepts and Azure data services, including Azure Cosmos DB use cases and APIs | Optional first step if non-relational data or Azure data services are new to you |
| Microsoft Certified: Azure AI Fundamentals (AI-901) | AI concepts and capabilities, and simple AI solutions in Microsoft Foundry | Optional first step if generative AI concepts are new to you |
| Microsoft Certified: Azure Cosmos DB AI Developer Associate (DP-420, this exam) | Building, securing, and tuning applications on Azure Cosmos DB, including AI retrieval, agent memory, and Fabric analytics | You are here |
| Microsoft Certified: Azure AI Cloud Developer Associate (AI-200) | Building the back end of AI solutions on Azure, with Azure Cosmos DB for NoSQL as one of its data stores | A companion if you build the application tier around your database |
| Microsoft Certified: Azure AI Apps and Agents Developer Associate (AI-103) | Building AI apps and agents with Microsoft Foundry and Python | A companion if you also build the models and agents that your retrieval and memory stores serve |
DP-420 has no listed prerequisite certification, and none of the other certifications above lists one either. The exam expects you to build applications in C# or Python and to be familiar with Azure services, generative AI concepts, and retrieval-based systems, so if Azure data services or generative AI are new to you, Microsoft Certified: Azure Data Fundamentals (exam DP-900) or Microsoft Certified: Azure AI Fundamentals (exam AI-901) is a sensible first step. Both are optional. If you already build on Azure Cosmos DB, go straight to DP-420.
Microsoft Certified: Azure AI Cloud Developer Associate (exam AI-200) and Microsoft Certified: Azure AI Apps and Agents Developer Associate (exam AI-103) are companions rather than next levels: DP-420 is not a listed prerequisite for either of them.
Before You Start
The exam is written for working developers: its audience profile asks for experience developing applications in C# or Python and familiarity with Azure services, generative AI concepts, retrieval-based systems, and application development practices. Check yourself against this table. Anything unfamiliar is where your preparation should start:
| Area | You should be comfortable with |
|---|---|
| Application development | Writing and debugging C# or Python applications, calling an SDK, handling exceptions and retries, and working with JSON |
| Data fundamentals | How a JSON document store differs from relational tables, what a query filter and an index do, and basic SQL syntax |
| Azure fundamentals | Subscriptions and resource groups, the Azure portal and Azure CLI, Microsoft Entra identities and role assignments, and virtual networks |
| Monitoring basics | What Azure Monitor metrics, alerts, and a Log Analytics workspace are |
| Generative AI | What embeddings and vector similarity are, how retrieval-augmented generation grounds a model, and how to call an embedding API such as Azure OpenAI |
| Microsoft Fabric | What a Fabric workspace is and how to run a simple SQL query in it |
Step-by-Step Study Plan
How long you need depends on where you start. Treat these estimates as planning guidance and adjust them to your starting knowledge and weekly study hours:
| Your starting point | Suggested prep time |
|---|---|
| You build on Azure Cosmos DB for NoSQL weekly, including vector search | 3 to 5 weeks |
| You know Azure Cosmos DB, but vector search, agent memory, and Fabric are new to you | 4 to 7 weeks |
| Experienced C# or Python developer, new to Azure Cosmos DB | 6 to 10 weeks |
Step 1: Read the Official Study Guide
Skim the full skills-measured list once, and mark every bullet you could not explain to a colleague. That marked-up list is your personal syllabus: everything else in this plan exists to clear it. The October 6, 2026 outline is a major rewrite: Microsoft renamed the certification from Azure Cosmos DB Developer Specialty to Azure Cosmos DB AI Developer Associate, retitled the exam, removed server-side JavaScript programming, data movement, and the DevOps process, and added AI-assisted tools, fleet management, AI retrieval, and agent memory stores. Material written for the previous outline spends time on removed topics and misses the new ones, so check its date before relying on it. Most questions cover generally available features, but commonly used preview features may also appear.
Step 2: Schedule Your Exam
Choose a realistic target date after reviewing the skills list and your available study time. A date on the calendar turns studying into a countdown, so pick one using the prep-time table above and plan backwards from it.
The exam is offered in English, Japanese, Chinese (Simplified), Korean, German, French, Spanish, Portuguese (Brazil), Chinese (Traditional), and Italian. Microsoft updates the English version first and the other languages about eight weeks later, which matters after a change as large as the October 6, 2026 update if you plan to take the exam in another language. If the exam is not available in your native language, check the English as a Second Language accommodation and arrange any approved extra time before booking.
Certification and Exam Details Page
Step 3: Work Through the Official Learning Paths
Complete the three learning paths behind course DP-420T00-A on Microsoft Learn, in order: the second and third paths expect the first one, or equivalent experience. Each path covers one skills-measured domain, and the CertiAce practice modules follow them one-to-one, so you can benchmark each domain as soon as you finish its path. The AI and analytics path uses Python as its main language. Take notes on concepts you cannot explain in simple terms, and for every design choice record what it costs in request units and what it does to latency, availability, or consistency. If you prefer instructor-led training, course DP-420T00-A runs over four days.
Design and develop Azure Cosmos DB database solutions
Secure, optimize, and deploy Azure Cosmos DB solutions
Implement AI and analytics capabilities in Azure Cosmos DB
Step 4: Get Hands-On Practice
DP-420 rewards developers who have written and tuned real Azure Cosmos DB code: many objectives ask which setting, index, partition key, or SDK pattern fits a requirement and what it costs. The official lab site has an exercise for each module of the three learning paths, most of them in both C# and Python. It also keeps older labs for topics the current outline removed, such as stored procedures, ARM templates, and data migration with Azure Data Factory, so pick the labs whose module names match the learning paths. Aim for hands-on time with:
- Creating an account, database, and containers, then choosing between provisioned (standard or autoscale) and serverless throughput and a consistency level for a workload
- Connecting with a singleton SDK client, then running point reads, patches, transactional batches, bulk operations, and paged queries while noting each request charge
- Designing a data model and partition key for a set of access patterns, including a hierarchical or synthetic key
- Processing the change feed with the change feed processor and with the pull model, using a lease container
- Switching an application to Microsoft Entra authentication with data-plane role assignments, and restricting network access
- Restoring data to a point in time with continuous backup, and adding a region to see how reads, writes, and failover behave
- Tuning an indexing policy, including a composite index, comparing query metrics before and after, and alerting on throttled (429) requests
- Adding full-text and vector policies to a container, running full-text, vector, and hybrid queries, and building a small agent memory store
- Mirroring a database into Microsoft Fabric and querying the mirrored data with T-SQL and Spark
- Installing the Agent Kit in your AI coding assistant and asking it to review a data model or an expensive query
The Azure Cosmos DB lifetime free tier gives one account per subscription its first 1000 RU/s and 25 GB of storage free, which supports many of the core exercises; it is not available for serverless accounts. The Linux-based emulator runs locally in Docker without a subscription and suits SDK, query, and change feed practice, but request units are not yet implemented there, range and composite indexes are not yet available, and full-text indexes are not supported, so do the tuning and search exercises against a real account. Some objectives cost more: the AI exercises need an embedding API such as Azure OpenAI, Fabric mirroring needs continuous backup on the account and a Fabric capacity to query the mirrored data, and fleets group several accounts. Delete chargeable resources when you finish, and learn from the documentation what you cannot deploy.
Official DP-420 Lab Instructions
Azure Cosmos DB lifetime free tier
Step 5: Benchmark Your Knowledge
Use CertiAce to benchmark your readiness module by module. The practice modules map to the exam domains as shown above, so use the module mapping and the topics behind your missed questions to identify the skills-measured areas to revisit. Microsoft also offers a free official practice assessment on the certification page. Microsoft's practice assessment list still shows it under the former Azure Cosmos DB Developer Specialty name, so check any question on a topic the October 2026 outline removed, such as JavaScript stored procedures, against the current skills list. Aim for consistent performance across every module, not one lucky high score; if a topic is unstable, go back to learning plus hands-on practice.
Step 6: Take the Exam
The day before, review only your weak topics: no brand-new material. On exam day, read each question for what it is truly asking, eliminate wrong options first, and watch for wording that implies constraints such as the lowest request unit cost, latency, consistency, availability, or least privilege. Pin down the partition key, the throughput model, and the regions in each scenario before you choose an answer.
Worth knowing before you sit down:
- Microsoft Learn is available during the exam in a split screen. Use it to check details you genuinely need: the timer keeps running, and the exam is deliberately too long to look up every answer. Browsing is limited to Microsoft Learn itself (no Q&A, practice assessments, or profile), and personal notes and other websites are unavailable.
- You can take unscheduled breaks, but the clock keeps running and you cannot return to questions you already saw.
- Case studies lock when you leave them: finish each one before moving on, because you cannot revisit its questions afterwards.
- Try the exam sandbox beforehand so the question formats and interface hold no surprises: Exam Sandbox
Additional Learning Resources
| Resource | Type | Why it is useful |
|---|---|---|
| Azure Cosmos DB documentation | Docs | The official home for Azure Cosmos DB, from the resource model and SDK quickstarts to security, vector search, the emulator, and Fabric integration |
| Partitioning and horizontal scaling in Azure Cosmos DB | Docs | Logical and physical partitions and their limits, choosing a partition key, common anti-patterns, and when synthetic or hierarchical keys fit |
| Azure Cosmos DB Agent Kit | Docs | The open-source agent skills that bring Azure Cosmos DB best practices into AI coding assistants, and the kit's limit: it gives guidance only and never runs operations on your database |
| Reliability in Azure Cosmos DB | Docs | Availability zones, multiple read regions versus multiple write regions, failover behavior during a region outage, conflicts, and backups |
| Monitor Azure Cosmos DB | Docs | Platform metrics including normalized request unit usage, resource logs in Log Analytics, and recommended alert rules such as rate limiting on request units |
| Azure Cosmos DB fleets overview | Docs | Fleets, fleetspaces, throughput pools shared across accounts and subscriptions, and fleet analytics for estate-wide usage and cost |
| Vector search in Azure Cosmos DB for NoSQL | Docs | Container vector policies, the flat, quantizedFlat, and diskANN index types and their dimension limits, and VectorDistance queries with TOP N |
| Agent memories in Azure Cosmos DB for NoSQL | Docs | Short-term and long-term memory, partition keys for memory stores, the one-document-per-turn model, and recency, semantic, hybrid, and keyword retrieval queries |
| Mirroring Azure Cosmos DB | Docs | Mirroring into Microsoft Fabric OneLake without consuming request units: the continuous backup prerequisite, the SQL analytics endpoint, nested JSON with OPENJSON, and limits such as no support for accounts with multiple write regions |
| Code with Cosmos | Video series | Four short Microsoft episodes that build an AI app on Azure Cosmos DB: the emulator and Agent Kit, vector, full-text, and hybrid search, agent memory, and production observability |
Realistic DP-420 exam-style questions with instant feedback and detailed explanations.
Practice DP-420 now