AZ-900 Microsoft Azure Fundamentals Exam
Start here! Get your feet wet with the Microsoft cloud and begin your journey to earning your Microsoft Certified: Azure Fundamentals certification!
Gauge your current knowledge

Gauge your current knowledge

Start here! Get your feet wet with the Microsoft cloud and begin your journey to earning your Microsoft Certified: Azure Fundamentals certification!
Gauge your current knowledge

Gauge your current knowledge

Before deploying cloud services, you should estimate your potential expenses using tools like the Azure Pricing Calculator to prevent unexpected bills. Several factors directly influence your bill. Region selection matters because prices vary across geographic locations due to local infrastructure costs. Resource size, like the number of CPU cores in a virtual machine, and resource type, such as compute or storage, determine which billing meters apply.
Choosing the right pricing model depends on your workload's needs. The default Pay-As-You-Go model charges only for what you use, offering high flexibility. For predictable workloads, commitment-based options like Reserved Instances offer deep discounts for one- or three-year prepaid terms. For workloads that can tolerate interruptions, Spot Pricing provides massive discounts on unused capacity, though Azure can reclaim these resources with little notice.
Different resources have unique billing. Virtual machines incur costs for compute hours, storage, and data transfers. Storage accounts charge based on capacity used, redundancy options chosen, and the number of read/write transactions. Database services like Azure SQL Database bundle compute, storage, and licensing costs, and you can lower licensing costs with the Azure Hybrid Benefit if you own on-premises licenses.
To manage costs, use the Azure Cost Management + Billing suite. The Cost Analysis tool lets you filter expenses by department or resource group. You can set budgets and configure alerts to notify stakeholders before spending exceeds limits. Applying tags to resources helps group and track costs by specific projects or teams. For automation, you can use Azure Action Groups to trigger responses to budget alerts or schedule data exports for long-term analysis.
Continuous optimization involves eliminating waste. Azure Advisor analyzes your usage to identify underutilized resources, like a virtual machine with low CPU, and recommends resizing or shutting it down. You can also use Azure Policy to enforce guardrails, such as restricting deployments to lower-cost regions or preventing expensive resource sizes. Regularly reviewing recommendations for discounts ensures your cloud environment remains cost-efficient.
Two key calculators help forecast and control cloud expenses: the Azure Pricing Calculator and the Total Cost of Ownership (TCO) Calculator. They serve different but complementary roles. The Azure Pricing Calculator estimates the cost of individual Azure services before deployment. You add services like Virtual Machines, configure their region and size, and see real-time pricing. This tool is ideal for planning monthly budgets and comparing configurations.
The Total Cost of Ownership (TCO) Calculator evaluates the long-term financial impact of migrating on-premises workloads to Azure. It requires you to input current costs for hardware, software, energy, facilities, and personnel. The tool then compares these on-premises expenses against projected Azure costs over multiple years to identify potential savings and build a migration business case.
The key difference is their focus and analysis level. Use the Pricing Calculator for granular, service-level estimates and iterative design of new deployments. Use the TCO Calculator for holistic, multi-year comparisons and high-level financial justifications for migration. Together, they support a comprehensive cost-management strategy by covering both detailed resource costs and overall migration benefits.
The Azure Cost Management + Billing service provides visibility and control over cloud spending. Before deployment, you can estimate costs using the Azure pricing calculator or see built-in estimates in the portal. After resources are running, the service offers tools to track and optimize expenses.
A core capability is setting budgets and alerts. You create a budget for a subscription or resource group and configure alerts to trigger at thresholds like 50% or 100% of that budget. Alerts can send email notifications or integrate with Action Groups to trigger automated responses, helping you react quickly to cost spikes.
For analysis, the Cost analysis tool lets you explore costs by service, resource, location, or custom dimensions like tags. You can group costs by service to see spending on Virtual Machines versus Storage, or by tags to allocate expenses to specific teams. You can also filter and export data as CSV for deeper analysis in tools like Excel or Power BI.
Cost allocation is the process of assigning spending to different parts of an organization. Tags (key-value pairs attached to resources) are essential for this. By tagging resources with metadata like Department: Finance, you can then group costs by tag in Cost Analysis. Tag inheritance can automatically extend tags from a subscription or resource group down to child resources, ensuring complete cost data.
To reduce costs, leverage built-in programs. Azure Advisor provides tailored recommendations to identify idle or underutilized resources. Azure Reservations offer deep discounts for one- or three-year commitments on compute services. Azure savings plans provide flexible discounts for consistent compute usage. Applying the Azure Hybrid Benefit can lower licensing costs. Automating actions like shutting down non-production workloads during off-hours further cuts waste.
Tags in Azure are metadata elements you attach to resources as a key-value pair, like Environment: Production. Their primary purpose is to organize resources, track costs, and enforce governance. You manage tags through the Azure portal, Azure CLI, or PowerShell.
For cost management, when a tagged resource reports usage, the tag flows into Azure Cost Management. You can then filter and group costs by tag to see spending broken down by department, project, or environment. This improves budgeting accuracy and financial reporting. Note that tag changes only affect future usage data; historical cost data retains the old tag value.
Tags also support governance and compliance. You can tag resources to indicate they meet certain regulations. Azure Policy can enforce tagging rules, automatically adding required tags when a resource is created or remediating existing resources to be compliant. This ensures consistent application of business context across your cloud environment.
For resource organization, tags help categorize assets by criteria like environment, department, or project. This makes it easy to identify resource ownership and purpose. Best practices for a tagging strategy include using consistent naming conventions, automating tag application with Azure Policy or infrastructure-as-code tools, and performing regular audits to ensure tags remain accurate and relevant.