Skip to main content

πŸ”¬ Advanced DP-300 Labs

Production-ready, hands-on labs that go beyond the official DP-300 curriculum. Each lab deploys real Azure infrastructure, includes Bicep/PowerShell automation, and teaches skills used in actual customer engagements.

🏒 Real-World DBA Note

These labs were built from real Microsoft DCSA customer scenarios. They cover the kind of work you'll do as an Azure Database Administrator, not just exam prep.

Lab Roadmap by DP-300 Domain​

Advanced labs roadmap by DP-300 domain: 9 labs grouped into Domains 1, 2, 3 and 5 with recommended ordering

How to read this roadmap: each color = one DP-300 exam domain. Arrows show recommended ordering β€” finish prerequisite labs before progressing. Start with SQL DB Tiers (foundation) and Security Assessment (quick win), then branch into the domain that interests you most.

Lab Catalog​

Pick a lab β€” every page follows the same shape: Architecture diagram β†’ What gets deployed β†’ Numbered steps β†’ Verify β†’ Clean up.

Lab Structure​

Every lab follows the same pattern:

SectionWhat You'll Find
ArchitectureMermaid diagram + component table showing what gets deployed
PrerequisitesAzure subscription, tools, permissions needed
DeployBicep template or PowerShell script β€” one command to set up the environment
StepsNumbered, hands-on steps with commands and expected output
VerifyValidation commands to confirm each step worked
Clean UpDelete the resource group to avoid ongoing costs

Quick Reference​

LabDP-300 DomainResources DeployedTimeCost
AlwaysOn HA SetupDomain 5: HA/DR3 VMs, ILB, VNET, NSG, AD DS~2 hrs~$3/hr (3Γ— D2ads_v6)
Cross-Region AlwaysOnDomain 5: HA/DR+1 DR VM, VNET peering (extends above)~1 hr~$1/hr extra
SQL MI Flavors & ReplicasDomain 1 + 53 MIs (GP, BC, DR), VNETs, FOG~6 hrs deploy~$40/day (3 MIs)
SQL Security AssessmentDomain 2: Security1 Azure SQL DB (or existing server)~30 min~$0.50 (S0 tier)
SQL Migration LabDomain 1: Plan & Implement2 VMs, Storage Account~1 hr~$2/hr (2Γ— D2ads_v7)
Azure SQL DB TiersDomain 1 + 37 DBs (Basic→HS), Elastic Pool~30 min~$5/hr (all tiers)
Migration ScenariosDomain 1: Plan & ImplementSource VM + 3 targets (VM, DB, MI)~4 hrs~$5/hr
Geo-Replication & FailoverDomain 5: HA/DR2 Azure SQL Servers (2 regions)~45 min~$0.60/hr (2Γ— S1)
Performance TroubleshootingDomain 3: Monitor & Optimize1 Azure SQL DB + workload scripts~1 hr~$0.50 (S2 tier)

Prerequisites (All Labs)​

  • Azure subscription with permissions to create resource groups and VMs
  • Azure CLI installed and logged in (az login)
  • PowerShell 5.1+ or 7+ (all scripts are PowerShell)
  • VS Code with the SQL Server (mssql) extension
# Verify prerequisites
az --version # Azure CLI 2.50+
$PSVersionTable # PowerShell 5.1+ or 7+
az account show # Logged in

Exam Mapping​

LabExam Skills Measured
AlwaysOn HAConfigure AG, WSFC, quorum, ILB listener, automatic failover
Cross-Region AlwaysOnMulti-subnet AG, async commit, VNET peering, forced failover, RPO measurement
SQL MI FlavorsDeploy GP/BC tiers, read replicas, MI failover groups, tier comparison
Security AssessmentEvaluate security posture, TDE, auditing, sensitive data discovery
Migration (Basic)Backup to URL, restore from blob, validate migration, IaaS Agent extension
SQL DB TiersDTU vs vCore, GP/BC/Hyperscale, Serverless, Elastic Pool, benchmarking
Migration ScenariosBACPAC, DMS Online, MI Link, LRS, transactional replication, comparison
Geo-ReplicationConfigure geo-replication, failover groups, measure RPO/RTO
PerformanceQuery Store, DMVs, wait stats, execution plans, index tuning