DP-420 study materials
DP-420 study resources

DP-420 study plan

DP-420 · Give each week a clear focus.

8 weeks · About 6 hours per week

Week 1

Design and develop database solutions

  • Model a document schema for three distinct access patterns (read-heavy, write-heavy, aggregate-reporting) and defend each partition key choice

  • Compare single-partition, hierarchical (multi-level), and synthetic partition key strategies against a 20 GB / 100K RU workload

  • Provision a Cosmos DB for NoSQL account with a database and containers configured for both serverless and provisioned throughput

  • Choose consistency levels per container and document the latency, RU, and staleness trade-off for each choice

Your checkpoint

A written design dossier covering 3 workloads: JSON schema, partition key decision with the query patterns it supports, indexing policy draft, and consistency level justification; plus the live account created in the portal with all three containers deployed.

Week 2

Design and develop database solutions

  • Implement create, read, update, patch, and delete operations with the .NET or JavaScript SDK against the containers built in week 1

  • Replace a multi-document write flow with a transactional batch and verify all-or-nothing behavior on failure

  • Author one stored procedure, one pre-trigger, and one user-defined function, then invoke each from the SDK

  • Implement a change feed processor that reacts to inserts and updates and writes a projection to a second container

Your checkpoint

A working console or API project in a git repo with integration tests that pass against the live account, including a deliberate failing batch that proves rollback and a change feed consumer that materializes at least 100 events into a projection container.

Week 3

Design and develop database solutions & Secure, optimize, and deploy database solutions

  • Configure a container with a hierarchical partition key and query it at both tenant and tenant-plus-user scope

  • Tune an indexing policy (included, excluded, composite, spatial) to cut RU charge on a measured query by at least 40 percent

  • Read change feed in all-versions-and-deletes mode and reconcile deletes into the projection container from week 2

  • Measure RU charge per operation for point read versus query versus cross-partition query and record the results

Your checkpoint

A benchmark spreadsheet or markdown table listing at least 8 operations with their RU cost before and after index tuning, plus the revised indexing policy JSON committed to the repo.

Week 4

Design and develop database solutions & Secure, optimize, and deploy database solutions

  • Harden the week 1-3 solution by replacing master keys with Microsoft Entra ID and role-based access control in application code

  • Add a private endpoint or service endpoint plus firewall rules and confirm the account rejects unauthorized network access

  • Implement optimistic concurrency with ETags and prove a conflicting update is rejected

  • Complete a timed 40-question practice set weighted 50 percent domain 1 and 50 percent domain 2 and log every miss by sub-topic

Your checkpoint

A merged, hardened solution deployed end to end with RBAC-only data-plane access, network restriction verified by a failed connection test, and a written error log of practice misses grouped by sub-topic.

Week 5

Secure, optimize, and deploy database solutions

  • Configure autoscale versus standard throughput and select a partition key that avoids hot partitions under a simulated spike

  • Implement a retry and fallback policy for 429 responses and demonstrate the app sustaining load after throttling

  • Design a key rotation procedure for account keys and execute it against the dev account without downtime

  • Enforce data encryption expectations by documenting how service-managed and customer-managed keys differ in setup and operation

Your checkpoint

A load-test report showing request-unit consumption, throttle count, and latency percentiles before and after retry tuning, plus a runbook for key rotation that was actually executed once.

Week 6

Secure, optimize, and deploy database solutions

  • Deploy the full solution with Bicep or Terraform from a CI/CD pipeline in GitHub Actions or Azure DevOps

  • Parameterize environment-specific settings and run the pipeline against both a dev and a test environment

  • Configure Azure Monitor alerts for normalized RU consumption and server-side latency, and send them to an action group

  • Automate a database-level throughput or indexing policy change through the pipeline and confirm the change landed

Your checkpoint

A green pipeline run that provisions infrastructure into two environments, applies a config change, and triggers an alert that was received in the action group.

Week 7

Implement AI and Analytics capabilities in database solutions

  • Enable the Cosmos DB vector search capability and create a vector embedding policy plus a vector index on a container

  • Generate embeddings for a sample document set, store them, and run a top-k similarity query filtered by a partition key

  • Build a retrieval-augmented generation flow that queries Cosmos DB and passes results to Azure OpenAI

  • Make the RAG flow return grounded results with the source documents for each answer

Your checkpoint

A working RAG demo in the repo with a query log showing at least 10 prompts, the retrieved documents for each, and a note on how vector index choice (flat versus quantized) changed RU cost.

Week 8

Implement AI and Analytics capabilities in database solutions & Secure, optimize, and deploy database solutions & Design and develop database solutions

  • Connect analytical workloads using Azure Synapse Link or the analytical store and query operational data without affecting transactional RU

  • Build a data movement path from Cosmos DB change feed into an analytics sink

  • Re-run two timed practice sets and target 85 percent or better weighted across all three domains

  • Review every remaining flagged sub-topic and close the gaps with handwritten summaries

Your checkpoint

A final readiness packet: one end-to-end analytics pipeline demo, two scored practice sets at 85 percent or better, and a one-page weakness summary with zero unreviewed items.

Milestones

Week 2: The repo contains a passing integration test suite against a live Cosmos DB account, including transactional batch rollback, stored procedure, trigger, UDF, and change feed consumer.

Week 4: The solution enforces RBAC-only data-plane access and network restrictions, and the first timed practice set scores at least 70 percent with all misses categorized.

Week 6: Infrastructure deploys from CI/CD into two environments, monitoring alerts fire, and autoscale plus retry tuning is proven by a load-test report.

Week 8: Two final practice sets score 85 percent or better with domain-level breakdowns, and the RAG plus analytics pipeline demos run end to end.