1.4 The Consumption-Based Model
Key Takeaways
Consumption pricing meters each service’s actual usage; deallocating compute does not automatically stop storage, network, or backup charges.
Pay-as-you-go has no commitment; reservations and savings plans trade commitment for eligible discounts, while Spot uses reclaimable capacity.
A deallocated VM stops compute billing, but disks and other retained resources may continue to cost money.
Inbound transfer is generally free; outbound and inter-region rates depend on service, route, and offer.
For AZ-900, know the Pricing Calculator for prospective estimates and Cost Management for actual spend; Azure Migrate business cases are broader migration planning.
Quick Answer: The consumption-based (pay-as-you-go) model charges only for what you actually use — metered by the second or minute, by the GB, or per transaction. There is no mandatory hardware purchase; each meter depends on the resource, and charges may persist for storage or networking even after compute is deallocated. You can optionally commit to 1- or 3-year terms for large discounts.
Why It Matters
In traditional IT you buy hardware up front against a guess about future demand. Overestimate and you waste money on idle servers; underestimate and you cannot serve users. The consumption model lets you adjust provisioned capacity as demand changes, while billing follows each resource’s meters and configuration. For AZ-900, focus on choosing a pricing option and recognizing billing factors in a scenario.
Core principles
- No upfront cost — no hardware purchase or mandatory contract (unless you choose a discount commitment).
- Adjust capacity — scaling or deallocating can reduce some meters when demand falls, but attached resources may still cost money.
- Pay for what you use — billing tracks real consumption.
- Inspect each meter — deallocation stops VM compute charges; disks, public IPs, backups, or other retained resources may continue billing.
Azure Pricing Options
Pay-As-You-Go (PAYG)
The default: pay per second/hour/transaction with no commitment.
- Best for: unpredictable or short-term workloads, dev/test, proofs of concept.
- Flexibility: maximum — change or stop anytime.
- Discount: No commitment discount; actual price may still reflect an offer or agreement.
Reserved Instances (RIs)
Commit to a specific resource (e.g., a VM size in a region) for 1 or 3 years.
- Best for: steady-state, 24/7, predictable workloads.
- Flexibility: lower — a reservation provides a billing discount for eligible usage within its scope, subject to current exchange and refund rules; it does not guarantee deployable capacity.
- Discount: Varies by resource, region, term, and purchase option; compare current prices.
Azure Savings Plans (for compute)
Commit to a fixed hourly dollar amount of compute spend for 1 or 3 years; the discount flexes automatically across VM families and regions.
- Best for: consistent overall compute spend but changing VM mix.
- Flexibility: medium — locked to a spend rate, not a specific SKU.
- Discount: Varies by eligible compute usage and commitment; compare current prices.
Spot VMs
Buy unused Azure capacity at deep discounts; Azure can reclaim it whenever capacity is needed.
- Best for: interruptible, fault-tolerant work — batch jobs, rendering, CI/CD, dev/test.
- Flexibility: Capacity is not guaranteed; eviction can occur when Azure needs capacity, so build for interruption.
- Discount: Potentially deep and variable; Microsoft advertises up to 90% for eligible Spot VMs.
Pricing Option Comparison
| Option | Commitment | Max Discount | Best For | Key Risk |
|---|---|---|---|---|
| Pay-As-You-Go | None | No commitment discount | Variable/short-term | Unit price may be higher |
| Reservations | Usually 1 or 3 years | Varies | Predictable eligible usage | Commitment and scope rules |
| Savings Plans | 1 or 3 years | Varies | Consistent eligible compute spend | Hourly spend commitment |
| Spot VMs | None | Variable; up to 90% advertised | Interruptible workloads | Capacity can be reclaimed |
How Azure Meters Usage
| Resource | Metered By | Example |
|---|---|---|
| Virtual Machines | Each full minute of compute | A D2s_v3 running ~730 hours/month |
| Storage | Per GB-month + transactions | 100 GB of Hot-tier Blob storage |
| Networking | Per GB of outbound transfer | 50 GB egress to the internet |
| Databases | Per vCore/DTU-hour + storage | Azure SQL with 2 vCores, 730 hours |
| Functions (Flex Consumption plan; the older Consumption plan is legacy) | Executions + resource consumption, subject to grants and current meters | A function invoked repeatedly |
Billing rules you must memorize
- Inbound data (into Azure): generally free.
- Outbound data (leaving Azure): often metered and billed; rates and allowances depend on route, service, and offer.
- Deallocated (stopped) VM: compute charges stop, but disk storage charges continue.
- Deleted VM: verify disks, public IPs, backups, snapshots, and other associated resources separately; deleting the VM alone does not prove all related charges ended.
On the Exam: The classic trap question is "a stopped VM stops all charges." False — deallocation halts compute only; the OS/data disks still cost money until deleted.
Factors That Affect Cost
| Factor | Effect on Cost |
|---|---|
| Resource type | Each service and SKU has its own price and meter; compare the configured total |
| Resource size/SKU | Larger VMs and more storage cost more |
| Region | Prices vary by region (East US vs West Europe) |
| Bandwidth/egress | Outbound transfer is metered |
| Reservations/Savings Plans | Eligible commitments can reduce billed rates, subject to terms and scope |
| Azure Hybrid Benefit | Reuse existing Windows Server / SQL Server licenses to save |
Cost-management tooling (also in the outline): use the Azure Pricing Calculator to estimate before deploying, the Azure Migrate business case for a broader migration comparison (outside the current calculator objective), Azure Cost Management + Billing to track and analyze actual spend, and budgets/alerts plus resource tags to govern and attribute costs.
Study focus: Match a workload to an eligible pricing option (steady usage ⇒ consider a reservation; interruptible batch ⇒ Spot; unpredictable or short use ⇒ pay-as-you-go) and check which meters continue after a resource is stopped.
Worked Scenario: Picking the Right Commitment
An analytics company runs three distinct workloads. Its production database servers run 24 hours a day, every day, with steady load — these are textbook Reserved Instance candidates, locking in potential savings for a 1- or 3-year term because the demand is fully predictable. Its data-science team runs large, restartable model-training jobs overnight that tolerate interruption — perfect for Spot VMs at variable discounts, since an eviction merely reschedules the job.
Its developers spin up short-lived test environments a few hours at a time on an unpredictable schedule — best left on Pay-As-You-Go, because committing would waste the discount on capacity they do not consistently use. If the company has consistent total compute spend but keeps changing VM families, a Savings Plan captures a discount across eligible usage without locking a specific SKU.
Azure Hybrid Benefit and Other Savings Levers
Beyond the four pricing options, AZ-900 expects you to recognize Azure Hybrid Benefit: organizations that already own Windows Server or SQL Server licenses may be able to apply eligible licenses to Azure under the current benefit terms, reducing eligible license-related charges. Combined with reservations, Hybrid Benefit can stack for substantial savings. Other levers that affect the bill include choosing a cheaper region, right-sizing the VM SKU, and reducing egress by keeping traffic within a region.
Cost-Management Tooling Summary
| Tool | Purpose | Before or After Deploy |
|---|---|---|
| Pricing Calculator | Estimate the cost of a planned configuration | Before |
| Azure Migrate business case | Compare migration scenarios and modeled on-premises/Azure costs; beyond current AZ-900 cost-tool objective | Before migration |
| Cost Management + Billing | Track, analyze, and report actual spend | After |
| Budgets & Alerts | Notify or trigger actions when spend nears a threshold | After |
| Azure Advisor (Cost) | Recommend right-sizing and reservation purchases | After |
Common Trap: The Pricing Calculator estimates a proposed deployment, while Cost Management analyzes existing spend, and Azure Migrate can model a migration business case; the current AZ-900 cost objective names the Pricing Calculator, not a standalone TCO calculator. Match the tool to whether the scenario is planning, comparing, or monitoring — exam stems hinge on that distinction.
A company runs a fault-tolerant nightly batch job that can be safely interrupted and restarted. Which Azure pricing option minimizes cost?
Pay-As-You-Go
Reserved Instances (3-year)
Azure Savings Plan (3-year)
Spot VMs
An administrator deallocates (stops) a Virtual Machine through the Azure portal. Which charges CONTINUE to accrue?
Storage charges for the VM's disks
Compute charges for CPU and memory
Both compute and storage charges
No charges of any kind
Which statement about Azure data transfer billing is correct?
Inbound data into Azure is generally free; outbound data leaving Azure is metered
Both inbound and outbound transfers are always billed
Outbound data is free; inbound data is billed
All data transfer within and outside Azure is free
An organization wants to estimate the cost of an Azure solution BEFORE deploying any resources. Which tool should it use?
Azure Pricing Calculator
Azure Cost Management + Billing
Azure Advisor
Azure Monitor
Sections you finish are checked off in the contents.