Exams / AZ-900 / D3 Describe Azure management and governance
Describe cost management in Azure
- Describe factors that can affect costs in Azure
- Explore the pricing calculator
- Describe cost management capabilities in Azure
- Describe the purpose of tags
1. What drives the cost of a resource
"When you provision an Azure resource, Azure tracks how much of each resource you use and charges you based on that usage." The main factors:
| Factor | What the docs say | Exam consequence |
|---|---|---|
| Resource type and settings (tier, SKU, size) | "The type of resources, the settings for the resource, and the Azure region will all have an impact on how much a resource costs." | Service tier changes the price |
| Region | "Azure resources can differ in costs to deploy depending on the region." | Two identical VMs (same B2s size) can cost differently |
| Consumption model | Pay-as-you-go, or "With Reservations, you can commit to specific resources for one- or three-year terms to reduce cost." | Reservations: 1 or 3 years only |
| Bandwidth | "Some inbound data transfers (data going into Azure datacenters) are free." / "For outbound data transfers (data leaving Azure datacenters), data transfer pricing is based on zones." | Ingress free, egress billed by billing zone |
| Licensing | Azure Hybrid Benefit reuses licenses with Software Assurance | Lowers Windows Server / SQL Server license cost |
| Marketplace | "Billing structures are set by the vendor." | Microsoft doesn't set third-party prices |
| Maintenance | "If you deprovision the VM, those additional resources may not deprovision at the same time, either intentionally or unintentionally." | Clean up orphaned disks and public IPs |
A billing zone is not an availability zone: "Zone is a geographical grouping of Azure Regions for billing purpose."
Data transfer rules
- "Outbound data transfer is charged at the normal rate and inbound data transfer is free."
- Same region: "For example, an Azure SQL database in the same region will not have any additional data transfer costs."
- Over a VPN: "Other data transfers over the VPN connections to your on-premises sites or the internet in general are charged separately at the regular data transfer rate."
- ExpressRoute: "Inbound data transfer is included in the monthly cost for all SKUs." and "Outbound data transfer is included only for Unlimited plans." (Metered plans charge egress per GB.) Exception: "All ingress data is free except with the Global Reach add-on."
- Storage: "Any data that leaves the Azure region incurs either a data transfer or network bandwidth charge." Storage also bills operations (reads/writes priced per 10,000), not only capacity.
- Fine print: "Azure already offers the first 100 GB/month of egressed data for free to all customers in all Azure regions around the world." The exam still expects "egress = billed".
What is free and what still bills
| Item | Billed? |
|---|---|
| Resource groups | No: "A resource group is a container that holds related resources for an Azure solution." You pay for the resources inside |
| Virtual networks | No: "Virtual Network in Azure is free of charge." |
| Network interfaces | No meter of their own |
| Entra ID users and groups | No: "Microsoft Entra ID Free has no product charges." |
| Public IPv4 addresses | Yes: "However, you’re charged for a static public IP address irrespective of the associated resource." |
| Deallocated VM | Compute no; disks yes: "* Some Azure resources, such as Disks and Networking continue to incur charges." |
VM states and billing
| How you stop it | Resulting state | Compute billed? |
|---|---|---|
| Stop in the Azure portal (deallocate) | Stopped (deallocated) | No: "You are not billed for the compute resources that this virtual machine uses." |
| Shutdown from inside the OS (RDP) | Stopped (Allocated): "This state can be result of invoking the PowerOff API operation or invoking shutdown from within the guest OS." | Yes |
| Disconnect / sleep in RDP | Running | Yes |
Azure SQL Database has no Stop button. Only the serverless tier pauses automatically: "When the database is paused, the compute cost is zero and only storage costs are incurred."
2. Ways to pay less
| Option | How it works | Docs |
|---|---|---|
| Azure Reservations | 1- or 3-year commitment, discount applied automatically | "Reservations can significantly reduce your resource costs by up to 72% from pay-as-you-go prices." |
| It is a billing discount, not reserved hardware | "Reservations provide a billing discount and don't affect the runtime state of your resources." | |
| Azure savings plan for compute | Flexible commitment across compute | "If you want flexibility in which compute resources you use, Azure savings plan for compute is another option." |
| Azure Hybrid Benefit | Reuse Windows Server / SQL Server licenses | "To qualify for Azure Hybrid Benefit for Windows Server, you need on-premises core licenses for Windows Server from an applicable program with active Software Assurance or qualifying subscription licenses." |
| SQL Server on VMs | "Software Assurance is a requirement to utilize the Azure Hybrid Benefit license type, but pay-as-you-go customers can use the HA/DR license type if the VM is being used as a passive replica in a high availability/disaster recovery configuration." | |
| Deallocate / delete unused resources | Stop VMs from the portal, delete orphaned public IPs and disks | see section 1 |
Reservations don't cover the license part: "For Windows virtual machines and SQL Database, the reservation discount doesn't apply to the software costs." Reservations cut compute, Hybrid Benefit cuts licenses.
Enterprise Agreement: "Azure Prepayment is the amount your organization paid upfront for usage of Azure services." So an EA requires a predetermined spend.
3. Pricing calculator vs TCO calculator
| Pricing calculator | TCO calculator (retired) / Azure Migrate business case | |
|---|---|---|
| Purpose | "The pricing calculator is designed to give you an estimated cost for provisioning resources in Azure." | Compare on-premises costs with Azure costs |
| Scope | Azure only: "you can estimate the cost of any provisioned resources, including compute, storage, and associated network costs." | On-premises (hardware, facilities, power, labor) vs Azure |
| Who | Anyone: "It serves as the only unauthenticated experience that allows you to configure and budget the expected cost of deploying solutions in Azure." | Was public; the business case needs an Azure Migrate project |
| Side effects | "Nothing is provisioned when you add resources to the pricing calculator, and you won't be charged for any services you select." | — |
Status today: "The Total Cost of Ownership (TCO) calculator has been retired." Its replacement: "A business case helps you understand where Azure can bring the most value to your organization by estimating total cost of ownership (TCO), potential savings, and sustainability impact for your applications and workloads." The on-premises side includes facilities: "The facilities cost is based on a colocation model, which includes space, power, and lease costs per kWh."
Old exam questions still expect: TCO = datacenter cost + Azure cost + graphical report, savings on electricity, usable by anyone.
4. Microsoft Cost Management
"Microsoft Cost Management is a suite of FinOps tools that help organizations analyze, monitor, and optimize their Microsoft Cloud costs."
- Scopes: "Cost Management is available to anyone with access to a billing account, subscription, resource group, or management group."
- Cost analysis: choose date ranges (last month, last three months…), group by service, resource group, location or tag, drill down to a resource. "When you set the granularity to Daily for any view, the date range should span a maximum of three months."
- Alerts: "Monitor costs proactively with budget, anomaly, reservation utilization, and scheduled alerts."
- Offers: pay-as-you-go, EA, MCA, Dev/Test… "The following information shows the currently supported Microsoft Azure offers in Cost Management." No EA or Software Assurance needed.
Budgets
- "You can configure alerts based on your actual cost or forecasted cost to ensure that your spending is within your organizational spending limit."
- "When a budget threshold is met, email notifications are normally sent within an hour of the evaluation."
- "Budgets reset automatically at the end of a period (monthly, quarterly, or annually) for the same budget amount when you select an expiration date in the future."
- A budget alerts; it does not stop resources on its own.
Exam traps
- "Which department / office / cost center pays?": tags (not budgets, alerts, locks, policies or templates).
- "Email when spending exceeds X": budget alerts (not Advisor, IAM or Compliance).
- Unused resources to delete to save money: public IP addresses. NICs, users and groups cost nothing.
- Stopped (deallocated) VM: you still pay storage (disks). Shutdown inside the OS → still billed for compute; use Stop in the portal.
- Two VMs of the same size don't always cost the same (region, OS, license, hours, disks).
- Resource groups are free. Ingress is free; egress (including over VPN or to another region) is billed.
- Reservations: max 3 years; a billing discount, not reserved datacenter capacity.
- Software Assurance: Azure Hybrid Benefit (not reservations, which don't cover software costs).
- Azure SQL Database can't be stopped (serverless auto-pause only).
- Marketplace prices are set by the vendor. EA = upfront Azure Prepayment.
- TCO calculator = on-premises vs Azure (electricity savings, reports, anyone can use it); now retired, replaced by the Azure Migrate business case. Pricing calculator = Azure-only estimate.
- Tags: up to 50, not inherited by default, settable via Policy and ARM templates, don't enforce names.
Docs
- Describe factors that can affect costs in Azure (Learn)
- Compare the pricing and TCO calculators (Learn)
- Bandwidth pricing
- VPN Gateway pricing
- IP address pricing
- Virtual Network pricing
- Plan and manage costs for ExpressRoute
- Plan and manage costs for Azure Blob Storage
- Public IP addresses
- VM states and billing
- Virtual Machines - Deallocate
- Plan to manage costs for VMs
- Serverless compute tier for Azure SQL Database
- Save costs with Azure Reservations
- Azure Hybrid Benefit for Windows Server
- Change the license model for a SQL VM
- Azure Hybrid Benefit for Azure SQL
- Review your EA bill
- Azure Migrate business case calculation
- What is Microsoft Cost Management
- Understand Cost Management data
- Cost analysis quickstart
- Create and manage budgets
- Use tags
- Tag policies
- Apply tags with ARM templates
- Manage resource groups
- Microsoft Entra ID Free
- Microsoft Entra licensing
- Define your naming convention (CAF)