Review the Microsoft Azure Cosmos DB Developer (DP-420) scope, data modeling, partition keys, consistency, indexing, SDK integration, performance, security, and maintenance traps before practicing.
DP-420 is a Cosmos DB developer exam. Use this cheat sheet to keep design decisions tied to partitioning, data model, consistency, indexing, query performance, integration, security, and maintenance.
Use this with practice. Review the Cosmos DB checkpoints, then return to the DP-420 exam page for sample questions and update tracking.
| Field | Detail |
|---|---|
| Issuer | Microsoft |
| Certification lane | Azure Cosmos DB Developer Specialty |
| Exam code | DP-420 |
| Main scope | Cosmos DB data modeling, partitioning, query behavior, performance, security, integration, and maintenance |
| IT Mastery status | Sample questions available |
| Area | What to know | Common trap |
|---|---|---|
| Data modeling | Document shape, embedded vs referenced data, access patterns, and denormalization | Designing like a relational schema without query patterns |
| Partitioning | Partition key choice, distribution, hot partitions, tenant patterns, and scale | Choosing a low-cardinality or constant partition key |
| Consistency and distribution | Consistency levels, replication, latency, availability, and global distribution | Choosing strongest consistency without considering latency and availability |
| Indexing and queries | Index policy, query efficiency, RU cost, filters, and projections | Treating every slow query as a throughput-only issue |
| SDK and integration | Client configuration, retries, change feed, transactions, and service integration | Ignoring retry and throttling behavior in app design |
| Security and maintenance | Keys, RBAC, network access, backup, monitoring, alerts, and lifecycle | Securing the app while leaving data access broad |
| Distinction | How to decide |
|---|---|
| Partition key vs id | The partition key distributes data and workload; id uniquely identifies an item within context. |
| Hot partition vs high RU use | A hot partition concentrates load; high RU use can also come from inefficient queries. |
| Embedded vs referenced data | Embed when data is read together; reference when independent update or growth matters. |
| Strong vs eventual consistency | Strong favors freshness; eventual favors availability and latency tradeoffs. |
| Change feed vs query | Change feed reacts to item changes; queries retrieve current data by criteria. |
/id as a partition key without checking distribution.For DP-420 misses, write the workload access pattern first. Then decide whether the problem is document model, partition key, consistency, indexing, SDK behavior, security, or monitoring.