Skip to content

Azure Cosmos DB AI Developer Associate (DP-420) Fact Sheet

Building AI Applications with Azure Cosmos DB

Quick reference with embedded documentation links for the DP-420 exam. Renamed and re-scoped on 2026-10-06: formerly the Azure Cosmos DB Developer Specialty, now an Associate certification with AI retrieval, agent memory and Microsoft Fabric in scope.


Table of Contents

  1. Exam Overview
  2. Azure Cosmos DB Core Concepts
  3. Data Modeling for NoSQL
  4. Partitioning Strategies
  5. Consistency Levels
  6. SQL API and Queries
  7. Indexing Policies
  8. Change Feed
  9. SDKs and Development
  10. Performance Optimization
  11. Global Distribution
  12. Security and Access Control
  13. Monitoring and Diagnostics
  14. Cost Optimization
  15. Integration Patterns
  16. AI Retrieval and Agent Memory
  17. Fabric, Fleets and Resilience

Exam Overview

Exam Code: DP-420 Exam Name: Building AI Applications with Azure Cosmos DB Level: Associate (was Specialty until 2026-10-06) Duration: 100 minutes Passing Score: 700/1000 Cost: $165 USD (US price; varies by country) Valid For: 1 year, free online renewal

Official Exam Resources

Exam Domain Breakdown

  1. Design and develop database solutions (40-45%) - Resource model and SDK, database operations, data models and partitioning, change feed, Agent Kit
  2. Secure, optimize, and deploy database solutions (30-35%) - Security controls incl. dynamic data masking, availability and recovery incl. per-partition failover, performance and monitoring, fleets
  3. Implement AI and analytics capabilities (20-25%) - Full-text, vector and hybrid search, RAG, agent memory stores, Fabric mirroring and Cosmos DB in Fabric

Removed on 2026-10-06: server-side JavaScript (stored procedures, triggers, UDFs), data movement, DevOps, and the separate data distribution and integration domains. Links on those topics below are kept as background.


Azure Cosmos DB Core Concepts

Platform Overview

NoSQL API (Core SQL API)

Alternative APIs


Data Modeling for NoSQL

Design Principles

Document Design Patterns

Migration and Modeling Tools


Partitioning Strategies

Partition Key Fundamentals

Advanced Partitioning


Consistency Levels

Consistency Model Overview

Consistency Configuration


SQL API and Queries

Query Language Fundamentals

Advanced Query Features

Query Optimization


Indexing Policies

Indexing Fundamentals

Advanced Indexing


Change Feed

Change Feed Fundamentals

Implementation and Integration


SDKs and Development

.NET SDK

Java SDK

Python SDK

JavaScript/Node.js SDK

SDK Common Patterns


Performance Optimization

Request Units (RU) Management

Throughput Optimization

Performance Best Practices

Analytical Store and HTAP


Global Distribution

Multi-Region Configuration

Conflict Resolution

Availability and SLAs


Security and Access Control

Authentication and Authorization

Network Security

Data Encryption


Monitoring and Diagnostics

Azure Monitor Integration

Performance Monitoring

Troubleshooting


Cost Optimization

Cost Management

Cost Optimization Strategies


Integration Patterns

Azure Services Integration

Data Integration

Migration Tools


AI Retrieval and Agent Memory

Domain 3 is new on the 2026-10-06 outline. Deep dive: AI retrieval and agent memory.

Key Facts: - Vector data types: float32, float16, int8, uint8. Default dimensions 1536. Distance: cosine (default), dotproduct, euclidean - flat: exact, max 505 dimensions. quantizedFlat: compressed brute force, max 4096, suggested for up to about 50,000 vectors in scope. diskANN: approximate nearest neighbor, max 4096, best above about 50,000 - quantizedFlat and diskANN need at least 1,000 vectors before the index is used; below that the query does a full scan - Vector policies and vector indexes cannot be modified in place: drop and re-add (or create a new container) - Always use TOP N with ORDER BY VectorDistance(...)

Agent Memory


Fabric, Fleets and Resilience

New or reworked skills on the 2026-10-06 outline. Deep dive: Fabric, fleets and resilience.

Operational Analytics with Microsoft Fabric

Fleets

Security and Availability Additions

Change Feed Modes and Copy Jobs

AI-Assisted Tools


Additional Resources

Backup and Disaster Recovery

Compliance and Governance

Development Best Practices

Community and Learning Resources


Exam Preparation Checklist

Core Competencies to Master

  • Design appropriate partition keys for various workload types
  • Choose the right consistency level based on requirements
  • Optimize queries to minimize RU consumption
  • Configure indexing policies for cost and performance
  • Implement change feed processors for event-driven architectures
  • Use SDK best practices for connection management and bulk operations
  • Configure global distribution and multi-region writes
  • Implement proper authentication and authorization
  • Set up monitoring, alerts, and diagnostics
  • Optimize costs using autoscale, serverless, and TTL

Hands-On Practice Areas

  1. Create Cosmos DB accounts with different APIs
  2. Design and implement effective data models
  3. Write complex SQL queries with joins and aggregations
  4. Configure custom indexing policies
  5. Implement change feed processors with Azure Functions
  6. Perform bulk import operations
  7. Configure multi-region deployments
  8. Troubleshoot 429 rate limiting errors
  9. Analyze query metrics and optimize performance
  10. Implement security controls (RBAC, firewall, private endpoints)

Key Documentation to Review

  • Partitioning and partition key selection
  • Consistency levels and their trade-offs
  • Request Units calculation and optimization
  • Change feed patterns and implementations
  • SDK best practices for your primary language
  • Query performance tuning techniques
  • Security and access control mechanisms
  • Monitoring metrics and diagnostic logs

Quick Reference Tables

Consistency Levels Comparison

Level Guarantee Use Case Latency Availability
Strong Linearizability Financial, inventory Highest Lowest
Bounded Staleness K versions or T time lag Stock quotes, leaderboards High Low
Session Read-your-writes User sessions, shopping carts Medium Medium
Consistent Prefix No out-of-order reads Social media, notifications Low High
Eventual Eventually converges View counts, telemetry Lowest Highest

Request Unit Guidelines

Operation Typical RU Cost Notes
Point read (1KB) 1 RU By ID and partition key
Point write (1KB) 5-10 RU Depends on indexing policy
Query (simple) 2-5 RU Single partition, indexed properties
Query (complex) 10-100+ RU Cross-partition, aggregations
Bulk insert (1KB) 5-7 RU Using bulk executor
Update (1KB) 10-15 RU Includes read and write

API Selection Guide

API Use When Migration From Query Language
NoSQL (SQL) New applications, best performance N/A SQL-like
MongoDB Existing MongoDB apps MongoDB MongoDB Query
Cassandra Wide-column workloads Cassandra CQL
Gremlin Graph relationships Neo4j, TinkerPop Gremlin
Table Key-value store Azure Table Storage OData

Summary

This fact sheet is a link-first reference for DP-420 on the 2026-10-06 outline:

  1. Design and develop database solutions (40-45%) - SDK and resource model, operations, data modeling, partitioning, change feed, Agent Kit
  2. Secure, optimize, and deploy (30-35%) - Entra ID and RBAC, network security, dynamic data masking, backup, multi-region and per-partition failover, monitoring, fleets
  3. AI and analytics (20-25%) - Vector, full-text and hybrid search, RAG, agent memory, Fabric mirroring and Cosmos DB in Fabric

Study Approach

  1. Work through each documentation link, newest domain first if you studied the old outline
  2. Build one small RAG app end to end on a container with vector and full-text indexes
  3. Practice query optimization and troubleshooting with query and index metrics
  4. Understand cost implications of design decisions, including vector index choice

Success Tips

  • Partition key selection still shows up everywhere, now including agent memory and vector shard keys
  • Know when each vector index type fits and why diskANN results are approximate
  • Know which features need continuous backup (all versions and deletes change feed, Fabric mirroring, online copy jobs)
  • Be comfortable with change feed implementation patterns

Good luck with your DP-420 certification exam!