AZ-900 Study Guide
Module 6 of 119 min read
Azure Cost Management & SLAs
Learn to manage and optimize your Azure spending using calculators, budgets, and cost-saving features. Understand what an SLA is and how it works.
These study notes summarise Microsoft Learn material for Exam AZ-900. For the official skills measured, see the Microsoft Learn study guide for Exam AZ-900.
On this pageShow
This module focuses on the financial aspects of using Azure. You'll learn about the factors that drive cost, the tools Azure provides for estimating and analyzing your spending, and the specific features you can use to optimize your bill. We will also cover Service Level Agreements (SLAs), which are Microsoft's formal commitment to uptime and a key factor in designing reliable applications.
What Drives Azure Costs?
Azure pricing is multi-dimensional. The cost of a service depends on several factors you choose during deployment and configuration.
| Cost Factor | How It Affects Cost | How to Optimize |
|---|---|---|
| Resource Type & Tier | Different services have different prices. Higher-performance tiers (e.g., Premium SSDs) cost more than standard tiers. | Choose the right service and performance tier for your workload. Don't overprovision. |
| Azure Region | The cost of labor and electricity varies by geography, so the same service can have different prices in different regions. | Deploy resources in lower-cost regions if it doesn't impact latency or compliance. |
| Bandwidth (Egress) | Data transfer out of Azure data centers to the internet is called egress and is generally charged per GB. Inbound (ingress) data is free. | Minimize unnecessary data transfers out of Azure. Use a Content Delivery Network (CDN) for serving static content globally. |
| Usage Meters | Most services are billed based on consumption, such as per-second billing for VMs or per-execution for Functions. | Shut down resources like dev/test VMs when not in use. Use serverless options for sporadic workloads. |
Azure Cost Management Tools
Azure provides a suite of free tools to help you manage your cloud spend, from initial estimates to ongoing optimization.
| Tool | When to Use It | Key Output |
|---|---|---|
| Azure Pricing Calculator | Before deployment: To estimate the monthly cost of a proposed Azure solution. | A detailed, shareable cost estimate for any combination of Azure services. |
| Total Cost of Ownership (TCO) Calculator | Before migration: To compare the cost of running your workload on-premises vs. in Azure. | A comprehensive report showing your potential savings over several years by moving to the cloud. |
| Microsoft Cost Management + Billing | After deployment: To analyze your actual spending patterns in the Azure portal. | Dashboards, spending breakdowns by resource or tag, and cost analysis trends. |
| Azure Budgets | Ongoing: To set spending thresholds and receive alerts when costs exceed your budget. | Email alerts or automated actions (e.g., shutting down a resource group) when a budget is reached. |
Cost-Saving Methods
Beyond right-sizing and shutting down resources, Azure offers specific pricing models to reduce costs for predictable workloads.
| Pricing Model | How It Works | Savings vs. Pay-As-You-Go | Best For |
|---|---|---|---|
| Azure Reservations | Commit to a 1 or 3-year term for certain services (like VMs and databases). | Up to 72% | Stable, predictable workloads that run 24/7. |
| Azure Hybrid Benefit | Apply existing on-premises Windows Server and SQL Server licenses with Software Assurance to Azure. | Up to 40% on VMs | Organizations with existing Microsoft licenses. |
| Azure Spot VMs | Purchase unused Azure compute capacity at a deep discount. | Up to 90% | Interruptible, non-critical workloads like batch processing or rendering farms. |
Exam Tip
Spot VMs can be evicted by Azure at any time with little notice when the capacity is needed for regular pay-as-you-go customers. They are not suitable for production or mission-critical applications.
Using Tags for Cost Management
Tags are key-value pairs of metadata that you apply to Azure resources. They are a critical tool for organizing resources and tracking costs.
- Example:
Department: Finance,Project: Q4-Report,Owner: JohnDoe - When you tag your resources, the tags show up in your Cost Management billing reports, allowing you to filter and group costs by project, department, or any other dimension.
Note
Tags applied to a resource group are NOT automatically inherited by the resources inside it. You must tag resources explicitly or use Azure Policy to enforce tagging.
Azure Service Level Agreements (SLAs)
An SLA is Microsoft's formal, financially-backed commitment to the uptime and connectivity of a service. If a service fails to meet its stated SLA, you may be eligible for service credits (a partial refund).
| SLA Level | Monthly Downtime Allowed | Common Scenarios |
|---|---|---|
| 99.9% ("three nines") | ~43.8 minutes | A single-instance VM using Premium SSD. |
| 99.95% | ~21.9 minutes | VMs in an Availability Set. |
| 99.99% ("four nines") | ~4.38 minutes | Zone-redundant services or services like Azure Load Balancer. |
Composite SLAs
When your application depends on multiple Azure services, the combined SLA is the product of the individual service SLAs. This means the overall composite SLA will always be lower than the least reliable individual component.
Example:
- Web App (SLA: 99.95%)
- SQL Database (SLA: 99.99%)
- Composite SLA = 99.95% × 99.99% = 99.94%
To increase the composite SLA, you must introduce redundancy, for example, by deploying your web app to multiple regions and using a load balancer.
Official exam information from Microsoft
- Study guide for Exam AZ-900: Microsoft Azure Fundamentals (skills measured, weights and passing score), and the Microsoft Certified: Azure Fundamentals certification page.