Home › Studies › AZ-305 › Data Storage › Choosing a SQL Platform

Choosing a SQL Platform

SQL Database · SQL Managed Instance · SQL Server on Azure VMs

Practice questions for this topic →

Decision table

OptionModelPick when…
Azure SQL Database (single / elastic pool; Hyperscale; serverless)PaaS, database-scoped; always the latest stable engineNew cloud apps and SaaS; least administration; no instance-level features needed
Azure SQL Managed InstancePaaS, instance-scoped, native VNet; near-100% SQL Server feature parityMost migrations: SQL Agent, cross-database queries, CLR, Database Mail, Service Broker, linked servers
SQL Managed Instance instance poolsSeveral instances share a poolMany small SQL Server instances; 2-vCore instances exist only in pools; deployment up to about 10 minutes
SQL Server on Azure VMsIaaS; 100% SQL Server compatibilityOS-level access, SSRS on the same server, features or versions PaaS lacks

SQL Database lacks SQL Agent, cross-database queries, CLR and Database Mail. Those features point to Managed Instance.

Facts to know

Exam Tips

Tick each tip once you can answer it without looking.

“Migrate SQL Server with SQL Agent jobs and cross-database queries, minimal changes, PaaS” → Azure SQL Managed Instance. Trap: Azure SQL Database doesn't support SQL Agent or cross-database queries.

“New cloud-native app, minimal administration, single database” → Azure SQL Database.

“App needs OS-level access or SQL Server Reporting Services on the same server” → SQL Server on Azure VM.

“Migrate 20 small SQL Server instances cost-effectively to PaaS” → SQL Managed Instance instance pools.

“Managed Instance needs more databases/storage/IOPS at GP price” → Next-gen General Purpose (up to 500 DBs, 32 TB).

“Must use CLR assemblies or Service Broker in PaaS” → SQL Managed Instance.

“Reuse existing SQL Server licenses to cut cost” → Azure Hybrid Benefit (vCore model, MI or VM). Trap: Not available with DTU or serverless.

“Managed Instance migration and licensing” → Azure Arc migration experience or the Managed Instance link; Azure Hybrid Benefit; license-free DR benefit for a DR-only secondary. Trap: Near-100% SQL Server feature parity.

“SQL Server on Azure VMs management extras” → The free SQL IaaS Agent extension adds portal management, automated backup, automatic patching, Key Vault integration, tempdb configuration. Trap: HA and DR are your own design.

“Managed Instance geo-DR partner” → A failover group between two managed instances. Trap: SQL Server and SQL Database can't be secondaries for a Managed Instance.

“Backup command and attach support” → SQL Database: system backups only. Managed Instance: copy-only backups to Blob. Attach a database: neither. Trap: Always Encrypted is supported in both.

Sources

← Data StorageSQL Database Tiers & Compute →