This chapter covers Azure SQL Database pricing models: DTU (Database Transaction Unit) and vCore (virtual Core). Understanding these models is critical for the DP-900 exam because scenario-based questions often ask you to recommend the appropriate pricing model based on workload requirements, scalability needs, and budget constraints. Roughly 10-15% of exam questions touch on Azure SQL purchasing options, and you must know the differences, use cases, and key features of each model to choose correctly.
Jump to a section
Imagine you need transportation for your business. The DTU model is like renting a car from a fleet: you pick a pre-configured package (economy, mid-size, SUV) that bundles engine power, fuel efficiency, and cargo space together. You pay a flat daily rate, and the rental company handles maintenance, upgrades, and fuel economy optimization. You cannot customize the engine or swap out parts; you just choose a tier and drive. The vCore model is like buying a car directly: you purchase the engine (vCores), choose how much memory (memory per core) and storage (storage per instance) you need, and even decide whether to use a fuel-efficient engine (serverless) or a high-performance one (provisioned). You pay separately for each component, and you can upgrade the engine later without changing the entire car. However, you are responsible for tuning and managing the car's performance. Azure SQL's DTU model bundles compute, storage, and I/O into a single metric (Database Transaction Unit), while the vCore model decouples them, giving you granular control over each resource. Just as renting is simpler but less flexible, DTU is easier to start with but offers less customization; purchasing gives you control but requires more planning.
What are DTU and vCore?
Azure SQL Database offers two purchasing models for compute and storage resources: the DTU-based model and the vCore-based model. The DTU model is a legacy, bundled approach where compute, storage, and I/O are combined into a single unit called the Database Transaction Unit (DTU). The vCore model is a newer, more flexible model that allows you to independently scale compute (vCores), memory, and storage, and offers additional features like Azure Hybrid Benefit, reserved instances, and serverless compute.
Why Two Models?
The DTU model was designed for simplicity. Microsoft pre-configured tiers (Basic, Standard, Premium) with fixed ratios of CPU, memory, and I/O. This works well for small to medium workloads where performance requirements are predictable and you don't need fine-grained control. The vCore model was introduced to meet the demands of enterprise workloads that require predictable performance, high scalability, and cost optimization through reserved capacity or hybrid licensing.
How DTU Works Internally
A DTU is a blended measure of CPU, memory, and I/O (data I/O and log I/O). Each service tier (Basic, Standard, Premium) has predefined DTU limits. For example, Standard S2 provides 50 DTUs. The database engine monitors resource consumption continuously. If the cumulative resource usage exceeds the DTU limit, queries may be throttled or queued. The DTU calculation is proprietary, but Microsoft publishes benchmarks: 1 DTU roughly equals 1 logical CPU + 2 GB memory + a certain I/O throughput (specific per tier). The DTU model does not expose individual resource metrics easily; you see a single DTU percentage in Azure Monitor.
How vCore Works Internally
In the vCore model, you choose the number of virtual cores (vCores) and the hardware generation (Gen5, Fsv2, M-series). Each vCore corresponds to a logical CPU thread. Memory is allocated proportionally: Gen5 offers 5.1 GB per vCore. You also select the max data size (up to 4 TB for General Purpose, 100 TB for Hyperscale). I/O throughput is determined by the storage type and configuration. You can choose between provisioned throughput (fixed vCores) or serverless (auto-scaling compute based on workload, billed per second). The vCore model also supports Azure Hybrid Benefit (use your own SQL Server license to reduce cost) and Reserved Instances (prepay for 1 or 3 years for up to 72% discount).
Key Components and Defaults
DTU Tiers: Basic (5 DTUs, 2 GB storage), Standard (10-3000 DTUs, 250 GB-1 TB storage), Premium (125-4000 DTUs, 500 GB-4 TB storage).
vCore Tiers: General Purpose (serverless or provisioned, up to 80 vCores, 4 TB storage), Business Critical (up to 80 vCores, 4 TB storage, local SSD), Hyperscale (up to 80 vCores, 100 TB storage, multiple read replicas).
Hardware Generations: Gen5 (most common), Fsv2 (compute optimized), M-series (memory optimized).
Memory per vCore: Gen5 = 5.1 GB, Fsv2 = 2 GB, M-series = 14 GB.
Max storage: DTU: 4 TB (Premium), vCore: 100 TB (Hyperscale).
Backup retention: DTU: 7-35 days (configurable), vCore: 7-35 days (configurable, with long-term retention up to 10 years).
Configuration and Verification
To create a DTU database using Azure CLI:
az sql db create --resource-group myGroup --server myServer --name myDB --service-objective S2To create a vCore database:
az sql db create --resource-group myGroup --server myServer --name myDB --service-objective GP_Gen5_2To check the current pricing model:
SELECT DATABASEPROPERTYEX(DB_NAME(), 'Edition') AS Edition,
DATABASEPROPERTYEX(DB_NAME(), 'ServiceObjective') AS ServiceObjective;The edition will be 'Basic', 'Standard', 'Premium' (DTU) or 'GeneralPurpose', 'BusinessCritical', 'Hyperscale' (vCore).
Interaction with Related Technologies
Elastic Pools: DTU pools share a pool of DTUs across multiple databases, cost-effective for low-activity databases. vCore pools share vCores.
Serverless: Only available in vCore General Purpose. Compute auto-pauses after 1 hour of inactivity (configurable), and resumes automatically on first connection.
Azure Hybrid Benefit: Only applicable to vCore model, not DTU.
Reserved Instances: Only for vCore model.
Migration: You can convert a DTU database to vCore using Azure Portal, CLI, or PowerShell. The conversion is an online operation with minimal downtime.
Exam-Relevant Details
DTU is a bundled measure; you cannot change the ratio of CPU/memory/I/O.
vCore offers independent scaling; you can increase vCores without changing storage.
Hyperscale tier is only available in vCore, supports up to 100 TB, and uses a distributed architecture.
Serverless compute is only in vCore General Purpose.
DTU model has Basic tier (5 DTUs) which is not available in vCore.
The exam may ask which model supports Azure Hybrid Benefit – answer: vCore.
The exam may ask which model supports Reserved Instances – answer: vCore.
The exam may ask which model is simpler to configure – answer: DTU.
The exam may ask which model offers the highest storage capacity – answer: vCore (Hyperscale).
Trap Patterns
Trap: DTU model is always cheaper. Reality: For steady-state workloads, vCore with reserved instances can be cheaper. DTU is simpler but may cost more for high compute or storage.
Trap: vCore model always provides better performance. Reality: DTU Premium tier offers high I/O with local SSD, comparable to Business Critical. Performance depends on workload and configuration.
Trap: You can switch between DTU and vCore freely without downtime. Reality: Conversion is online but may cause a brief failover (typically < 30 seconds).
Trap: Serverless is available in both models. Reality: Serverless is only in vCore General Purpose.
Trap: DTU model supports Hyperscale. Reality: Hyperscale is exclusive to vCore.
Assess workload requirements
Begin by analyzing the database workload characteristics: expected transactions per second, storage size, memory needs, and I/O patterns. For predictable, low-to-medium workloads with simple scaling needs, the DTU model may suffice. For variable or high-performance workloads requiring independent scaling or advanced features like Azure Hybrid Benefit, consider the vCore model. Document the peak and average resource usage to estimate DTU or vCore requirements.
Choose service tier
For DTU, select from Basic (5 DTU, 2 GB storage, 1 database), Standard (10-3000 DTU, up to 1 TB), or Premium (125-4000 DTU, up to 4 TB, local SSD). For vCore, choose General Purpose (balanced compute/storage, up to 4 TB), Business Critical (high performance, local SSD, up to 4 TB), or Hyperscale (up to 100 TB, multiple read replicas). Each tier has specific I/O limits and availability SLAs. The exam expects you to match tier to workload: OLTP with low latency → Business Critical or Premium; large databases → Hyperscale; dev/test → Basic or General Purpose serverless.
Configure compute and storage
In DTU, you only set the service objective (e.g., S2 = 50 DTUs). Storage is included up to the tier's max. In vCore, you specify vCores (1-80), hardware generation (Gen5, Fsv2, M-series), and max storage (up to tier limit). For serverless, set auto-pause delay (default 60 minutes) and min/max vCores. Use Azure CLI or Portal to deploy. Example CLI for vCore: `az sql db create --service-objective GP_Gen5_2`. This step determines baseline cost.
Evaluate additional features
Determine if you need Azure Hybrid Benefit (bring your own SQL Server license) or Reserved Instances (prepay for 1 or 3 years). These are only available with vCore. Also consider geo-replication, failover groups, and backup retention policies. DTU supports active geo-replication and failover groups, but vCore offers more granular control. For example, vCore allows configuring long-term backup retention up to 10 years, while DTU max is 35 days.
Monitor and adjust
After deployment, monitor DTU consumption (for DTU model) or vCore/memory/I/O metrics (for vCore model) using Azure Monitor or DMVs. In DTU, if DTU usage consistently exceeds 80%, consider scaling up to a higher service objective. In vCore, you can scale vCores up or down with minimal downtime. For serverless, adjust auto-pause settings based on idle patterns. The exam may ask about scaling actions: in DTU, you can change service objective online; in vCore, you can change vCores online, but changing hardware generation requires recreation.
Consider migration path
If starting with DTU and later needing vCore features, you can migrate online using Azure Portal or CLI. The conversion changes the service objective from DTU-based to vCore-based. For example, converting from Standard S2 (50 DTU) to General Purpose Gen5 2 vCores. During conversion, a brief failover occurs (typically under 30 seconds). After migration, review performance and adjust vCores as needed. The exam may test that migration is supported but not all tiers map exactly; you may need to choose a vCore tier that offers equivalent or better performance.
Enterprise Scenario 1: E-Commerce Platform with Seasonal Spikes
A large e-commerce company runs its product catalog and order processing on Azure SQL Database. During Black Friday, traffic surges 10x. They need to scale compute quickly without over-provisioning during off-peak months. They chose the vCore serverless model for the General Purpose tier. During normal days, the database auto-scales down to 2 vCores and even pauses after 1 hour of inactivity at night. During the sale, it scales up to 16 vCores automatically. They set a minimum of 2 vCores to avoid cold starts. The billing is per-second for compute, saving ~60% compared to provisioned. The key configuration is setting the auto-pause delay to 60 minutes and max vCores to 16. They also use Azure Hybrid Benefit with existing SQL Server licenses to reduce costs further. Misconfiguration: Initially they set the auto-pause delay too short (10 minutes), causing frequent pauses during light traffic, leading to user latency on reconnections. They increased it to 60 minutes.
Enterprise Scenario 2: Financial Services with High Compliance and Performance
A bank requires high-performance transaction processing with low latency and high availability for its core banking system. They need local SSD storage for fast I/O and synchronous replication for zero data loss. They chose the vCore Business Critical tier with 8 vCores on Gen5 hardware. The database is 2 TB. They use read-scale replicas (one secondary) to offload reporting queries. They also use zone-redundant configuration for resilience. Cost is higher but justified by SLAs. They monitor vCore usage and I/O latency. Common problem: Inadequate storage throughput – Business Critical provides up to 128 MB/s per vCore, but if the application writes large logs, they needed to increase vCores to get more I/O bandwidth. They learned that I/O limits are tied to vCores.
Enterprise Scenario 3: Small Business with Multiple Low-Traffic Databases
A SaaS startup runs 50 small customer databases, each under 5 GB, with low activity. They want to minimize cost and management overhead. They chose the DTU model with an elastic pool (Standard tier). They created a pool of 200 DTUs shared across all databases. Each database gets up to 50 DTUs, but idle databases consume no DTU. This is simpler than managing 50 separate vCore databases. Cost: $200/month for the pool vs $500/month if each were a vCore database with 1 vCore. The drawback: if one database spikes, it can throttle others. They set a max DTU per database to 10 to prevent noise. The exam scenario often asks: 'Which model for many small databases with variable activity?' Answer: DTU elastic pool.
Exactly What DP-900 Tests
DP-900 objective 2.1: 'Compare and contrast the DTU-based purchasing model and the vCore-based purchasing model.' The exam expects you to:
Identify which model is simpler (DTU) vs more flexible (vCore).
Know which model supports Azure Hybrid Benefit (vCore only).
Know which model supports Reserved Instances (vCore only).
Know which model supports serverless compute (vCore only).
Know the maximum storage capacity for each model (DTU: up to 4 TB Premium; vCore: up to 100 TB Hyperscale).
Know the service tiers: Basic, Standard, Premium (DTU); General Purpose, Business Critical, Hyperscale (vCore).
Understand that DTU bundles compute, storage, and I/O; vCore allows independent scaling.
Common Wrong Answers and Why Candidates Choose Them
'DTU model is always cheaper.' Many assume bundled is cheaper, but for steady workloads, vCore with reserved instances can be 50% cheaper. The exam may present a scenario where a database runs 24/7 – vCore reserved is cheaper.
'vCore model supports serverless and Hyperscale in all tiers.' Serverless is only in General Purpose; Hyperscale is a separate tier. Candidates confuse features with tiers.
'DTU model supports Azure Hybrid Benefit.' This is false. Azure Hybrid Benefit is only for vCore. Candidates may think it applies to legacy model.
'You cannot change from DTU to vCore without downtime.' The conversion is online with a brief failover. Candidates may think it's a full migration.
Specific Numbers and Terms on the Exam
DTU values: Basic 5, Standard 10-3000, Premium 125-4000.
vCore memory: Gen5 = 5.1 GB/vCore, Fsv2 = 2 GB/vCore, M-series = 14 GB/vCore.
Max storage: DTU Premium = 4 TB, vCore Hyperscale = 100 TB.
Serverless auto-pause default: 60 minutes.
Reserved instance discounts: up to 72% for 3-year.
Edge Cases and Exceptions
Hyperscale does not support serverless. Serverless is only in General Purpose.
Basic tier (DTU) does not support elastic pools. Only Standard and Premium.
Business Critical does not support serverless.
DTU Premium and vCore Business Critical both use local SSD.
vCore General Purpose uses remote storage (Azure Premium Blob) with local cache.
How to Eliminate Wrong Answers
If the question mentions 'Azure Hybrid Benefit' or 'Reserved Instances', eliminate DTU options.
If the question mentions 'serverless' or 'auto-pause', eliminate DTU and Business Critical/Hyperscale.
If the question mentions 'simplicity' or 'fixed resources', choose DTU.
If the question mentions 'granular control' or 'independent scaling', choose vCore.
If the question mentions 'high storage > 4 TB', choose vCore Hyperscale.
DTU model bundles compute, storage, and I/O; vCore model allows independent scaling.
Azure Hybrid Benefit and Reserved Instances are only available with vCore.
Serverless compute is only available in vCore General Purpose tier.
Hyperscale tier (up to 100 TB) is only available in vCore model.
DTU tiers: Basic (5 DTU), Standard (10-3000 DTU), Premium (125-4000 DTU).
vCore memory per vCore: Gen5 = 5.1 GB, Fsv2 = 2 GB, M-series = 14 GB.
Conversion from DTU to vCore is online with a brief failover (under 30 seconds).
For many small databases with variable activity, DTU elastic pools are cost-effective.
For high-performance OLTP with low latency, choose Business Critical (vCore) or Premium (DTU).
The exam expects you to match the purchasing model to workload requirements: simplicity vs. flexibility.
These come up on the exam all the time. Here's how to tell them apart.
DTU-based model
Bundles compute, memory, and I/O into a single DTU metric.
Simpler to configure – just choose a service tier (Basic, Standard, Premium).
Does not support Azure Hybrid Benefit.
Does not support Reserved Instances.
Maximum storage 4 TB (Premium tier).
vCore-based model
Allows independent scaling of vCores, memory, and storage.
Requires more planning – choose vCores, hardware generation, and storage size.
Supports Azure Hybrid Benefit (bring your own license).
Supports Reserved Instances (1 or 3 years).
Maximum storage 100 TB (Hyperscale tier).
Mistake
DTU model is outdated and no longer supported.
Correct
DTU model is still fully supported and actively used. Microsoft continues to offer it for Azure SQL Database. It is not deprecated. However, new features like serverless and Hyperscale are only added to vCore.
Mistake
vCore model always costs more than DTU.
Correct
For low-resource workloads, DTU may be cheaper. But vCore with reserved instances can be up to 72% cheaper than pay-as-you-go DTU for steady workloads. Cost depends on configuration and usage.
Mistake
You can convert a DTU database to vCore with zero downtime.
Correct
Conversion is online but involves a brief failover, typically under 30 seconds. During that time, the database becomes unavailable. It is not zero downtime, but the downtime is minimal.
Mistake
Serverless is available in all vCore tiers.
Correct
Serverless is only available in the General Purpose tier. Business Critical and Hyperscale do not support serverless compute.
Mistake
DTU model supports Hyperscale storage.
Correct
Hyperscale is exclusive to the vCore model. DTU model maximum storage is 4 TB (Premium).
Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.
DTU (Database Transaction Unit) is a bundled measure of compute, storage, and I/O. You select a pre-defined tier (Basic, Standard, Premium). vCore (virtual Core) allows you to independently choose the number of vCores, memory (per hardware generation), and storage. vCore offers more flexibility, Azure Hybrid Benefit, Reserved Instances, and serverless compute. DTU is simpler but less customizable. For the exam, remember that DTU is a single metric, while vCore separates resources.
No. Azure Hybrid Benefit (using your existing SQL Server license to reduce cost) is only available with the vCore-based purchasing model. The DTU model does not support bring-your-own-license. This is a common exam point: if a question mentions Azure Hybrid Benefit, the answer must involve vCore.
Serverless compute is only supported in the vCore-based model, specifically in the General Purpose tier. It is not available in DTU, nor in vCore Business Critical or Hyperscale. Serverless auto-scales compute and pauses after inactivity (default 60 minutes). You are billed per second for compute. The exam may ask which model/tier supports serverless.
For DTU, the maximum storage is 4 TB (Premium tier). For vCore, the maximum storage is 100 TB (Hyperscale tier). General Purpose and Business Critical in vCore support up to 4 TB. So if you need more than 4 TB, you must use vCore Hyperscale. This is a key differentiator.
You can convert a DTU database to vCore using Azure Portal, CLI, or PowerShell. The conversion is an online operation, meaning the database remains available during the process. However, there is a brief failover at the end (typically under 30 seconds) when the service objective changes. So it is not zero downtime, but the downtime is minimal. The exam may ask about the nature of the conversion.
For a single small database with low and predictable usage, the DTU Basic tier (5 DTU, 2 GB storage) is often the cheapest and simplest. For multiple small databases, a DTU elastic pool can be cost-effective. However, if you need features like serverless or Azure Hybrid Benefit, vCore General Purpose might be better even for small databases. The exam expects you to consider total cost of ownership and feature requirements.
DTU model has three tiers: Basic (5 DTU), Standard (10-3000 DTU), and Premium (125-4000 DTU). vCore model has three tiers: General Purpose (balanced, up to 80 vCores, 4 TB), Business Critical (high performance, local SSD, up to 80 vCores, 4 TB), and Hyperscale (up to 80 vCores, 100 TB, multiple read replicas). Note that serverless is only in General Purpose.
You've just covered Azure SQL Pricing: DTU vs vCore Models — now see how well it sticks with free DP-900 practice questions. Full explanations included, no account needed.
Done with this chapter?