AZ-900 Exam Cram: Cost Management in Azure
Describe cost management in Azure
AZ-900 Exam Cram: Cost Management in Azure
This cram sheet focuses on the essential knowledge required to master the Cost Management portion of the Azure Fundamentals (AZ-900) exam. Managing costs is a central pillar of the Cloud Adoption Framework and a major component of the exam's management and governance section.
Topic Weighting
| Domain | Estimated Exam Weight |
|---|---|
| Describe Azure management and governance | 20–25% |
| Focus Area: Cost Management | ~8–10% of total exam |
[!IMPORTANT] Expect at least 3–5 questions specifically targeting the differences between the Pricing Calculator, TCO Calculator, and the features of Azure Cost Management.
Key Concepts Summary
1. Factors Affecting Costs
- Resource Type: Different resources have different meters (e.g., VMs are billed per second; Storage is billed per GB/month).
- Services: Azure usage rates vary between Enterprise, Web Direct, and Cloud Solution Provider (CSP) customers.
- Location: Costs vary significantly between regions due to local infrastructure costs and taxes.
- Bandwidth: While data ingress (inbound) is generally free, data egress (outbound) between regions or out of Azure is billed.
2. Tools for Estimation vs. Management
- Pricing Calculator: Used before deployment to estimate monthly costs based on expected usage.
- TCO Calculator: Used to compare the cost of on-premises infrastructure against an equivalent Azure environment over time.
- Azure Cost Management + Billing: Used after deployment to analyze, report, and optimize actual cloud spend.
3. Resource Tags
- Purpose: Metadata (Key:Value pairs) applied to resources to logically organize them into a taxonomy.
- Cost Management Role: Tags do not affect resource performance but are critical for cost attribution and departmental billing.
Common Pitfalls
- DON'T confuse Azure Advisor with Cost Management. While Advisor gives cost recommendations, Cost Management is the tool for granular analysis and budgeting.
- DON'T assume all regions cost the same. Moving a workload from 'US East' to 'Brazil South' can significantly increase or decrease your bill.
- DON'T think Ingress is charged. Remember: In is Free, Out is Fee.
- DON'T forget that Resource Groups do not inherit tags. You must apply tags to the resources themselves for them to show up in tagged cost reports.
Mnemonics / Memory Triggers
- TCO = "The Comparison One": Use it when you need to justify moving from your data center to the cloud.
- Pricing = "Planned Spend": Use it when you are sketching out a new project on a napkin.
- The 3 B's of Cost Management:
- Budgets (Set limits)
- Billing (Pay the invoice)
- Behavior (Analyze how you spend)
Formula / Equation Sheet
Azure shifts spending from CapEx (Upfront) to OpEx (Ongoing). Use this table to remember the core financial drivers:
| Concept | Definition / Formula | Exam Context |
|---|---|---|
| Total Cost of Ownership (TCO) | OnPrem(Hardware + Power + Labor) - Azure(Subscription) | Justification for Migration |
| Azure Reservation | Upfront commitment (1 or 3 years) | Up to 72% discount on VMs |
| Azure Hybrid Benefit | Use existing Windows/SQL licenses in Azure | Massive savings for migrating workloads |
| Spot Pricing | Use unused Azure capacity at a discount | Workloads that can be interrupted |
Practice Set
1. A company wants to estimate the cost of a new 3-tier web application before they create any resources. Which tool should they use?
▶Click for AnswerAzure Pricing Calculator. It is the primary tool for estimating costs of services before deployment.
2. Which factor primarily determines the cost of data transfers in Azure?
▶Click for AnswerDirection (Egress) and Destination. Inbound data is free; outbound data across regional boundaries is charged.
3. True or False: Azure Cost Management can be used to set alerts that automatically shut down VMs when a budget is exceeded.
▶Click for AnswerFalse. Cost Management alerts notify you, but they do not stop your services automatically. You would need Azure Automation or Logic Apps for that.
4. You need to compare the cost of running a physical datacenter for 5 years versus running the same workload in Azure. Which tool is best?
▶Click for AnswerTCO (Total Cost of Ownership) Calculator.
5. How do Tags help in cost management?
▶Click for AnswerThey allow you to categorize costs by department, environment (Prod/Dev), or project name in billing reports.
Visualizing the Hierarchy
The following diagram shows how costs aggregate through the Azure management levels:
\begin{tikzpicture}[node distance=1.2cm, every node/.style={rectangle, draw, fill=blue!10, rounded corners, minimum width=4cm, minimum height=0.8cm}] \node (mg) {Management Groups (Policy/Governance)}; \node (sub) [below of=mg] {Subscriptions (Billing Boundary)}; \node (rg) [below of=sub] {Resource Groups (Lifecycle Boundary)}; \node (res) [below of=rg] {Resources (The Meters/Costs)};
\draw[->, thick] (mg) -- (sub);
\draw[->, thick] (sub) -- (rg);
\draw[->, thick] (rg) -- (res);
\node[draw=none, fill=none, right=2cm of sub, text width=4cm] {\textit{Costs are collected at the Subscription level.}};\end{tikzpicture}