Azure DP-420 Certification Fact Sheet¶
Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB¶
Comprehensive quick reference guide with embedded documentation links for hands-on developers preparing for the DP-420 certification exam.
Table of Contents¶
- Exam Overview
- Azure Cosmos DB Core Concepts
- Data Modeling for NoSQL
- Partitioning Strategies
- Consistency Levels
- SQL API and Queries
- Indexing Policies
- Change Feed
- SDKs and Development
- Performance Optimization
- Global Distribution
- Security and Access Control
- Monitoring and Diagnostics
- Cost Optimization
- Integration Patterns
Exam Overview¶
Essential Information¶
- Exam Code: DP-420
- Duration: 180 minutes
- Questions: 40-60 questions
- Passing Score: 700/1000
- Cost: $165 USD
Official Exam Resources¶
- π DP-420 Official Exam Page - Complete exam details, registration, and skills measured
- π DP-420 Study Guide - Official study guide with exam objectives
- π DP-420 Learning Path - Microsoft's official training course materials
Exam Domain Breakdown¶
- Design and Implement Data Models (35-40%) - Data modeling, API selection, document design
- Design and Implement Data Distribution (5-10%) - Partitioning, global distribution
- Integrate Azure Cosmos DB Solutions (5-10%) - Change feed, Azure services integration
- Optimize Azure Cosmos DB Solutions (15-20%) - Performance, cost optimization
- Maintain Azure Cosmos DB Solutions (25-30%) - Monitoring, security, backup/recovery
Azure Cosmos DB Core Concepts¶
Platform Overview¶
- π Azure Cosmos DB Overview - Introduction to Cosmos DB fundamentals and capabilities
- π Choose an API in Azure Cosmos DB - Guidance on selecting the right API for your workload
- π Multi-Model Database Capabilities - Understanding Cosmos DB's multi-model approach
- π Resource Model - Account, database, container, and item hierarchy
NoSQL API (Core SQL API)¶
- π NoSQL API Overview - Introduction to the native Cosmos DB NoSQL API
- π Getting Started with NoSQL API - Quick start guide for .NET developers
- π NoSQL API Best Practices - Performance and design best practices
- π JSON Document Support - Working with JSON documents in Cosmos DB
Alternative APIs¶
- π MongoDB API - MongoDB compatibility for easy migration
- π Cassandra API - Apache Cassandra compatibility with CQL support
- π Gremlin API - Graph database capabilities with Gremlin query language
- π Table API - Key-value store compatible with Azure Table Storage
Data Modeling for NoSQL¶
Design Principles¶
- π Data Modeling in Azure Cosmos DB - Fundamental principles of NoSQL data modeling
- π Modeling and Partitioning Best Practices - Real-world example of effective data modeling
- π Embed vs Reference Data - When to embed or reference related data
- π Modeling Relationships - Handling one-to-many and many-to-many relationships
Document Design Patterns¶
- π Document Structure Design - Designing effective document structures
- π Denormalization Strategies - When and how to denormalize for performance
- π Handling Large Documents - Working with the 2MB document size limit
- π Modeling Hierarchical Data - Techniques for nested and hierarchical data
Migration and Modeling Tools¶
- π Data Migration Guide - Migrating data to Cosmos DB
- π Azure Data Factory for Cosmos DB - ETL and data migration with ADF
Partitioning Strategies¶
Partition Key Fundamentals¶
- π Partitioning Overview - Complete guide to logical and physical partitioning
- π Choosing a Partition Key - Critical decision factors for partition key selection
- π Partition Key Best Practices - Real-world guidance for effective partition keys
- π Synthetic Partition Keys - Creating composite keys for better distribution
Advanced Partitioning¶
- π Hierarchical Partition Keys - Multi-level partitioning for improved distribution
- π Hot Partition Detection and Mitigation - Identifying and fixing hot partition issues
- π Partition Key Strategies by Workload - Patterns for different application types
- π Cross-Partition Queries - Understanding and optimizing cross-partition operations
Consistency Levels¶
Consistency Model Overview¶
- π Consistency Levels in Azure Cosmos DB - Comprehensive guide to all five consistency levels
- π Consistency Level Trade-offs - Understanding latency vs. consistency trade-offs
- π Choosing the Right Consistency Level - Decision guide for application requirements
- π Consistency Level Guarantees - Formal guarantees for each consistency level
Consistency Configuration¶
- π Configure Default Consistency - Setting account-level consistency defaults
- π Override Consistency Per Request - Request-level consistency configuration in SDKs
- π Session Consistency Deep Dive - Understanding session tokens and read-your-writes
- π Strong Consistency and Multi-Region - Limitations and considerations
SQL API and Queries¶
Query Language Fundamentals¶
- π SQL Query Getting Started - Introduction to Cosmos DB SQL query syntax
- π SQL Query Reference - Complete SQL query language reference
- π Query Execution - Executing queries using SDKs and Azure Portal
Advanced Query Features¶
- π JOIN Operations - Intra-document joins within Cosmos DB
- π Subqueries - Using subqueries for complex filtering
- π Aggregate Functions - COUNT, SUM, AVG, MIN, MAX operations
- π Array and Object Functions - Working with nested arrays and objects
- π String Functions - String manipulation in queries
- π Mathematical Functions - Numeric calculations and operations
Query Optimization¶
- π Query Performance Tuning - Best practices for efficient queries
- π Understanding Query Metrics - Analyzing RU consumption and execution time
- π Parameterized Queries - Using parameters for better performance and security
- π Pagination with Continuation Tokens - Efficiently handling large result sets
Indexing Policies¶
Indexing Fundamentals¶
- π Indexing Overview - How Cosmos DB automatic indexing works
- π Indexing Policies - Configuring and customizing indexing behavior
- π Index Types - Range, spatial, and composite indexes
Advanced Indexing¶
- π Composite Indexes - Optimizing multi-property queries with composite indexes
- π Spatial Indexes - Geospatial queries and location-based indexing
- π Include and Exclude Paths - Fine-tuning indexed properties for cost optimization
- π Indexing Mode Configuration - Consistent vs. none indexing modes
- π Vector Search and Indexing - AI and vector embedding search capabilities
Change Feed¶
Change Feed Fundamentals¶
- π Change Feed Overview - Introduction to real-time change notifications
- π Change Feed Design Patterns - Common architectural patterns using change feed
- π Change Feed Processing - Understanding the change feed processor library
Implementation and Integration¶
- π Change Feed in .NET SDK - Pull and push models for processing changes
- π Azure Functions Trigger for Cosmos DB - Serverless change feed processing
- π Change Feed Estimator - Monitoring change feed lag and health
- π Change Feed All Versions Mode - Capturing all versions and deletes
SDKs and Development¶
.NET SDK¶
- π Azure Cosmos DB .NET SDK v3 - Primary SDK for .NET applications
- π .NET SDK Best Practices - Performance optimization for .NET developers
- π Bulk Operations in .NET - High-throughput batch operations
- π Transactional Batch in .NET - ACID transactions within a partition
Java SDK¶
- π Azure Cosmos DB Java SDK v4 - Modern async SDK for Java developers
- π Java SDK Best Practices - Performance and connection management
- π Java SDK Performance Tips - Optimizing Java applications
Python SDK¶
- π Azure Cosmos DB Python SDK - Python client library for Cosmos DB
- π Python SDK Samples - Code examples for common Python scenarios
JavaScript/Node.js SDK¶
- π Azure Cosmos DB JavaScript SDK - Node.js and browser-based applications
- π JavaScript SDK Samples - Code examples for Node.js developers
SDK Common Patterns¶
- π Connection Management - Singleton client pattern and connection pooling
- π Retry Policies - Building resilient applications with automatic retries
- π Direct vs Gateway Mode - Connectivity modes and performance implications
Performance Optimization¶
Request Units (RU) Management¶
- π Request Units Explained - Understanding RU consumption and calculation
- π Estimating RU Requirements - Capacity planning and RU estimation
- π Provisioned Throughput - Configuring RU/s at database and container level
- π Autoscale Throughput - Automatic scaling based on workload
Throughput Optimization¶
- π Serverless Mode - Pay-per-request pricing for variable workloads
- π Shared Throughput - Sharing RU/s across multiple containers
- π Optimizing RU Consumption - Techniques to reduce request unit usage
Performance Best Practices¶
- π Performance Tips for NoSQL API - General performance optimization strategies
- π Query Performance Optimization - Reducing RU costs in queries
- π Bulk Import Performance - High-performance data ingestion
- π SDK Performance Benchmarks - Understanding SDK performance characteristics
Analytical Store and HTAP¶
- π Azure Synapse Link for Cosmos DB - Hybrid transactional and analytical processing
- π Analytical Store Overview - Column-oriented store for analytics without ETL
- π Query Analytical Store with Spark - Big data analytics on operational data
Global Distribution¶
Multi-Region Configuration¶
- π Global Distribution Overview - Turnkey global distribution capabilities
- π Add and Remove Regions - Configuring multi-region deployments
- π Multi-Region Writes - Enabling write capabilities in all regions
- π Automatic Failover - Configuring failover priorities and policies
Conflict Resolution¶
- π Conflict Resolution Overview - Managing conflicts in multi-region write scenarios
- π Last-Write-Wins Policy - Default timestamp-based conflict resolution
- π Custom Conflict Resolution - User-defined merge procedures
Availability and SLAs¶
- π High Availability in Cosmos DB - Understanding 99.999% availability SLA
- π SLA for Azure Cosmos DB - Comprehensive service level agreements
- π Availability Zones - Zone-redundant deployments
Security and Access Control¶
Authentication and Authorization¶
- π Security Overview - Comprehensive security features and capabilities
- π Azure AD Authentication - Role-based access control with Azure Active Directory
- π Primary and Secondary Keys - Master key authentication and management
- π Resource Tokens - Fine-grained access control for specific resources
Network Security¶
- π Firewall Configuration - IP firewall rules and access restrictions
- π Virtual Network Service Endpoints - Private connectivity from VNets
- π Private Endpoints - Azure Private Link integration
- π Public Network Access Control - Disabling public internet access
Data Encryption¶
- π Encryption at Rest - Transparent data encryption for stored data
- π Customer-Managed Keys - Bring your own key (BYOK) with Azure Key Vault
- π Encryption in Transit - TLS 1.2+ for all connections
Monitoring and Diagnostics¶
Azure Monitor Integration¶
- π Monitoring Cosmos DB - Complete monitoring and observability guide
- π Metrics in Azure Monitor - Available metrics and dimensions
- π Diagnostic Logs - Configuring diagnostic logging to Log Analytics
- π Setting Up Alerts - Proactive monitoring with Azure Monitor alerts
Performance Monitoring¶
- π Query Metrics and Diagnostics - Understanding query execution statistics
- π Server-Side Latency Metrics - Diagnosing latency issues
- π RU Consumption Monitoring - Tracking normalized RU consumption
- π Partition Metrics - Storage and throughput distribution analysis
Troubleshooting¶
- π Troubleshooting Guide - Common issues and resolutions for .NET SDK
- π Rate Limiting (429) Errors - Understanding and fixing throughput exceeded errors
- π Connection Issues - Diagnosing connectivity problems
- π Performance Diagnostics - Using built-in diagnostics tools
Cost Optimization¶
Cost Management¶
- π Understanding Cosmos DB Pricing - Billing components and cost calculation
- π Optimize Throughput Costs - Strategies to reduce RU/s expenses
- π Optimize Storage Costs - Managing data retention and storage usage
- π Choosing Between Provisioned and Serverless - Cost comparison for different workload types
Cost Optimization Strategies¶
- π Time to Live (TTL) - Automatic data expiration to reduce storage costs
- π Reserved Capacity - Pre-purchasing capacity for cost savings
- π Free Tier - 1000 RU/s and 25 GB storage free
- π Cost Analysis and Budgets - Planning and managing Cosmos DB costs
Integration Patterns¶
Azure Services Integration¶
- π Azure Functions Integration - Serverless triggers, input and output bindings
- π Logic Apps Connector - Workflow automation with Cosmos DB
- π Azure Stream Analytics - Real-time streaming data to Cosmos DB
- π Event Grid Integration - Event-driven architectures with change feed
Data Integration¶
- π Azure Data Factory - ETL pipelines and data movement
- π Azure Databricks Integration - Apache Spark connector for Cosmos DB
- π Power BI Integration - Real-time dashboards and reporting
Migration Tools¶
- π Data Migration Tool - Command-line tool for bulk data import
- π Azure Cosmos DB Live Migrator - Zero-downtime migration strategies
- π Spark Connector for Migration - Large-scale data migration using Databricks
Additional Resources¶
Backup and Disaster Recovery¶
- π Backup Overview - Automatic continuous backup
- π Point-in-Time Restore - Restoring data to any point in time
- π Periodic Backup Mode - Traditional scheduled backup approach
- π Restore Cosmos DB Account - Recovery procedures and best practices
Compliance and Governance¶
- π Compliance Certifications - Industry standards and regulatory compliance
- π Azure Policy for Cosmos DB - Governance and compliance policies
- π Audit Logging - Control plane operation logging
Development Best Practices¶
- π Design Patterns - Common architectural patterns catalog
- π Testing Strategies - Using the Cosmos DB emulator for local development
- π Cosmos DB Emulator - Development and testing without Azure costs
- π DevOps and CI/CD - Infrastructure as Code with ARM templates
Community and Learning Resources¶
- π Azure Cosmos DB Blog - Latest features, announcements, and deep dives
- π GitHub Samples Repository - Official code samples for all SDKs
- π Azure Architecture Center - Reference architectures using Cosmos DB
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¶
- Create Cosmos DB accounts with different APIs
- Design and implement effective data models
- Write complex SQL queries with joins and aggregations
- Configure custom indexing policies
- Implement change feed processors with Azure Functions
- Perform bulk import operations
- Configure multi-region deployments
- Troubleshoot 429 rate limiting errors
- Analyze query metrics and optimize performance
- 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 provides a comprehensive reference for the Azure DP-420 certification exam with 100 embedded documentation links covering all major exam domains:
- Design and Implement Data Models - NoSQL modeling, APIs, document design
- Data Distribution - Partitioning strategies, global distribution
- Integration - Change feed, Azure services, migration
- Optimization - Performance tuning, RU management, analytical store
- Maintenance - Monitoring, security, backup/recovery
Study Approach¶
- Work through each documentation link systematically
- Create hands-on labs for each major topic
- Build sample applications using the SDKs
- Practice query optimization and troubleshooting
- Understand cost implications of design decisions
Success Tips¶
- Focus on hands-on experience with Cosmos DB
- Understand partition key selection deeply - it appears in many scenarios
- Know when to use each consistency level
- Practice optimizing RU consumption
- Be comfortable with change feed implementation patterns
- Understand the trade-offs between different approaches
Good luck with your DP-420 certification exam!
Last Updated: 2025-10-13 Total Documentation Links: 100 Exam Version: Current as of October 2025