DP-300 study notes · 15–20% of the exam
Plan and implement data platform resources
First draft for review. Check details against Microsoft Learn before relying on them.
What this area covers
Choosing and deploying the right Azure SQL offering, sizing it for performance, and planning migrations.
Choosing an offering
| Need | Recommend |
|---|---|
| Modern, fully managed database | Azure SQL Database |
| Instance features (SQL Agent, cross-database queries, CLR, Database Mail) | Azure SQL Managed Instance |
| OS access or features PaaS doesn't support | SQL Server on Azure VMs |
| On-premises SQL Server managed from Azure | Azure Arc-enabled SQL Server |
| Operational data that should land in OneLake for analytics | SQL database in Microsoft Fabric |
- vCore lets you pick compute and storage and use Azure Hybrid Benefit. DTU bundles resources.
- Tiers: General Purpose, Business Critical (local SSD, readable replica) and Hyperscale (up to 128 TB, fast restores).
- Serverless auto-pauses. Elastic pools share resources across many databases. Instance pools host small Managed Instances.
Scale and performance
- Scale up by changing the service objective (portal, CLI, PowerShell or ALTER DATABASE). Scale reads with read scale-out or Hyperscale replicas.
- On VMs, separate data and log disks, use read caching for data and none for log, put tempdb on the local SSD, and pick memory-optimised sizes.
- Partitioning (partition function and scheme) helps manage very large tables with sliding windows.
- Data compression: row, page and columnstore. Estimate with sp_estimate_data_compression_savings.
- Sharding with elastic database tools scales beyond one database.
Migration
- Assess with Azure Migrate or the Azure SQL migration extension.
- Offline: BACPAC export and import, backup and restore. Online: Azure Database Migration Service, Managed Instance link, Log Replay Service and transactional replication (SQL Database can only be a subscriber).
- Between Azure services: database copy, BACPAC, geo-replication, and Managed Instance database copy and move.
- Troubleshoot with connectivity and permission checks, and plan rollback.