Exams / DP-300 / D1 Plan and implement data platform resources
D1.1
Plan and deploy Azure SQL solutions
- Recommend a database offering based on specific requirements
- Choose an automated deployment method
- Identify use cases for Azure Arc-enabled SQL services
- Identify use cases for Azure SQL Database in Microsoft Fabric
- Plan for table partitioning
- Recommend a database sharding solution
- Deploy database offerings on selected platforms
- Deploy hybrid SQL Server solutions
- Apply patches and updates for hybrid and infrastructure as a service (IaaS) deployment
You are reading a free preview. The rest of the DP-300 course unlocks with an Exam pass or All access.See plans
1. Choose the offering: SQL Database, Managed Instance or SQL Server on a VM
The question usually gives one blocking feature plus "minimize administrative effort". Rule out the options that lack the feature, then pick the most managed option that remains.
| Requirement | SQL Database | SQL Managed Instance | SQL Server on Azure VM |
|---|---|---|---|
| SQL Server Agent | No (use elastic jobs) | Yes | Yes |
| MSX/TSX multiserver administration | No | Not supported | Yes |
| Linked servers | No | Yes (targets include SQL Server instances) | Yes |
| FILESTREAM / FileTable | No | Not supported | Yes |
| Merge or peer-to-peer replication | No (push subscriber only, one-way transactional or snapshot replication) | No | Yes |
| SQL Data Sync | Yes (the hub must be an Azure SQL Database) | Not supported | As a member |
| Engine version | Managed | Always the latest stable engine | You choose and patch it |
Service tiers and compute tiers (vCore model)
The vCore model is the recommended model. You choose compute and storage independently, and it allows Azure Hybrid Benefit. DTU tiers are Basic, Standard and Premium.
| Tier | Key facts for the exam |
|---|---|
| General Purpose | Remote storage. 320 IOPS per vCore, 16,000 IOPS maximum. Serverless is available. |
| Business Critical | Local SSD, 1-2 ms latency. 4,000 IOPS per vCore. Readable secondary replica included. No serverless. |
| Hyperscale | Maximum data size of 128 TB. Serverless is available (auto-pause is in preview). |
| Serverless (compute tier) | Single databases only. Autoscales between a minimum and a maximum vCore count and bills compute per second. Auto-pause bills storage only while paused. Available in General Purpose and Hyperscale. |
| Elastic pool | Many databases on one server share a set of resources. It's the cost-effective choice for "varying and unpredictable usage demands". |
- Azure SQL Database and SQL Managed Instance scale "with minimal downtime". During the short switchover, use retry logic.
- Auto-pause can be disabled. When the Enable auto-pause checkbox is cleared, the database never pauses, so there is no resume delay.
SQL Managed Instance tiers and storage
- General Purpose suits typical latency needs. Business Critical is built for low I/O latency. (Hyperscale and Premium are not SQL Managed Instance tiers.)
- Maximum storage per instance: General Purpose up to 16 TB (32 TB on Next-gen General Purpose). Business Critical standard-series up to 4 TB. Business Critical premium-series and memory optimized premium-series reach 16 TB at high vCore counts in supported regions, and only 5.5 TB in other regions.
2. Deploy and automate deployment
- ARM/Bicep templates: you can export a template from existing resources, but "most exported templates require adjustments" before you deploy them. For example, change the server name, which must be globally unique.
- Copy an environment in this order: export the template → edit the names and variables → deploy the template → publish the database project (SSDT/DACPAC) to apply the schema and permissions.
3. SQL Server on Azure VMs: SQL IaaS Agent extension, editions and patching
| Topic | What to know |
|---|---|
| Registration | Marketplace images deployed through the portal register automatically. A custom image or a self-installed instance must be registered manually, after you register the subscription with the Microsoft.SqlVirtualMachine resource provider. |
| Registration result | Creates a SQL virtual machine resource that is separate from the VM resource. |
| Management modes | Legacy modes were Full, Lightweight and NoAgent. In older exam items, Full was needed for automated patching and backup. Microsoft removed management modes in March 2023. |
| Linux extension | Limited functionality, lightweight only (license type and edition). No automated backup or patching. Portal deployment supports RHEL 9/10 and Ubuntu 22.04/24.04/26.04. Older exam items expect Ubuntu. |
| Edition downgrade | Enterprise → Standard: uninstall SQL Server and reinstall it from the Standard media. Then re-register with the extension and change the edition property in the portal (the property is for billing only). |
Patching
| Automated Patching (IaaS Agent extension) | Azure Update Manager | |
|---|---|---|
| Updates installed | Windows and SQL Server updates marked Important or Critical | Also SQL Server Cumulative Updates |
| Status | Scheduled to retire on September 17, 2027 | Recommended |
| PowerShell | New-AzVMSqlServerAutoPatchingConfig then Set-AzVMSqlServerExtension -AutoPatchingSettings |
Maintenance configurations |
Use one of the two, never both. Disable Automated Patching before you use Azure Update Manager, or migrate with the MigrateSQLVMPatchingSchedule module. Keep the IaaS Agent extension installed for portal management.
4. Hybrid SQL Server
- SQL Server enabled by Azure Arc extends Azure services to SQL Server instances hosted outside of Azure. You manage all instances "from a single point of control: Azure". It also supports Microsoft Entra authentication and Defender threat detection.
- SQL Data Sync uses a hub-and-spoke topology. The hub and the sync metadata database must be Azure SQL Databases, and the metadata database must be in the same region as the hub. Members can be Azure SQL databases or SQL Server databases. On-premises members need the client sync agent. Snapshot isolation must be enabled on the hub and on every member. Data Sync retires on September 30, 2027, and new sync groups can't be created in subscriptions that never used it.
5. SQL database in Microsoft Fabric
- A "developer-friendly transactional database, based on Azure SQL Database", created inside Fabric.
- Data is replicated automatically to OneLake in near real time, as Parquet. A SQL analytics endpoint runs analytical queries without affecting the transactional workload, and other Fabric services (Spark, Power BI) can use the data.
- Use it for an operational database that also needs ready-to-use analytics in Fabric.
6. Partitioning vs sharding
| Table partitioning | Sharding (elastic database tools) | |
|---|---|---|
| Scope | Inside one database | Across many identically structured databases |
| How | A partition function maps rows to partitions by a partitioning column, and a partition scheme maps the partitions to filegroups | A shard map and the Elastic Database client library route each key to a shard |
| Scaling | Manageability and query performance of large tables | Horizontal scale-out ("scaling out") |
Exam traps
- "Pause to save cost", "per-second billing" or "autoscale compute": serverless, which exists only in General Purpose or Hyperscale. Never Business Critical, never DTU tiers.
- Several databases with varying load: elastic pool. A single database with intermittent load → serverless.
- More than ~4 TB in SQL Database: Hyperscale. Lowest latency → Business Critical.
- SQL Agent + PaaS: Managed Instance. MSX/TSX → VM only. Managed Instance doesn't support MSX/TSX, FILESTREAM, FileTable or merge replication.
- SQL Data Sync never works with Managed Instance. It needs snapshot isolation.
- Downgrading an edition = uninstall and reinstall. The portal edition property only changes billing.
- Custom-image VM: register Microsoft.SqlVirtualMachine first (not Microsoft.Sql).
- Azure Update Manager: disable Automated Patching first. Don't remove the IaaS Agent extension.
- Two-node WSFC: node majority with a witness. Single-subnet AG listener → Standard load balancer (Basic was retired on September 30, 2025), or a DNN listener.
Docs
- Serverless compute tier
- Elastic pools
- Scale resources
- Purchasing models
- vCore model - SQL Database
- SQL Managed Instance resource limits
- What is SQL Managed Instance?
- T-SQL differences: SQL Server vs SQL Managed Instance
- SQL Agent jobs in SQL Managed Instance
- Replication to Azure SQL Database
- What is SQL Data Sync?
- Set up SQL Data Sync with SQL Server
- Export template in the Azure portal
- SQL IaaS Agent extension (Windows)
- Register a SQL Server VM with the extension
- SQL IaaS Agent extension for Linux
- Register a Linux SQL Server VM
- SQL Server on Linux VMs FAQ
- Change SQL Server edition
- Automated Patching
- Azure Update Manager for SQL Server VMs
- Set-AzVMSqlServerExtension
- WSFC quorum modes
- Availability group, single subnet tutorial
- Configure the AG load balancer
- Upgrade Basic Load Balancer
- SQL Server enabled by Azure Arc
- SQL database in Microsoft Fabric
- Elastic database tools (sharding)
- Partitioned tables and indexes