AZ-900 study notes · 30–35% of the exam

Describe Azure management and governance

First draft for review. Check details against Microsoft Learn before relying on them.

What this area covers

Controlling and forecasting cost, enforcing standards and protecting resources, the tools for deploying and managing Azure, and monitoring.

Cost management

  • What affects cost: resource type and size, how long it runs, region, network traffic, subscription type, and Marketplace purchases. Inbound data is generally free. Outbound data (egress) is billed.
  • Pricing calculator: estimates the cost of things you plan to deploy.
  • TCO calculator: compares on-premises costs with Azure.
  • Microsoft Cost Management: analyses what you've already spent, with budgets and alerts. Budgets notify you but don't stop resources unless you automate it with action groups.
  • Tags: name-value pairs such as CostCenter=Finance used to group costs and operations. Resources don't inherit tags from their resource group by default, but Azure Policy can enforce or add them.
  • Saving money: deallocate idle VMs, right-size, use reservations and Spot VMs, use Azure Hybrid Benefit, and pick the right storage tier.

Governance and compliance

  • Microsoft Purview: data governance, risk and compliance across on-premises, multicloud and SaaS data. It discovers, classifies and maps your data.
  • Azure Policy: rules on resource properties, such as allowed regions, required tags or allowed VM sizes. It can deny non-compliant deployments, report compliance on existing resources, and remediate some of them. An initiative groups policies.
  • Resource locks:
    • Delete (CanNotDelete): lets you modify a resource but not delete it.
    • ReadOnly: allows no changes and no deletion.
    • Locks apply to everyone, including Owners, and are inherited by child scopes. You must remove a lock before the blocked action can run.

Managing and deploying resources

  • Azure portal: web console with dashboards.
  • Azure Cloud Shell: a browser shell that's already signed in, with Bash or PowerShell and Azure CLI and Azure PowerShell preinstalled.
  • Azure CLI (az commands) and Azure PowerShell (cmdlets): cross-platform and scriptable.
  • Azure Arc: brings servers, Kubernetes clusters and data services outside Azure under Azure management, including Policy, RBAC and Monitor.
  • Infrastructure as code: define infrastructure in files so deployments are repeatable and version-controlled.
  • Azure Resource Manager (ARM): the management layer every request goes through, whether from the portal, CLI, PowerShell, SDKs or REST. It applies RBAC, tags, locks and policies.
  • ARM templates: declarative JSON that ARM deploys consistently. Bicep is a simpler language that compiles to ARM templates.

Monitoring

  • Azure Advisor: recommendations in five areas: reliability, security, performance, operational excellence and cost.
  • Azure Service Health:
    • Azure status shows the global picture.
    • Service Health shows the services and regions you use, plus planned maintenance and health history.
    • Resource Health shows individual resources.
  • Azure Monitor: collects metrics and logs from Azure, on-premises and other clouds.
    • Log Analytics: write KQL queries over logs.
    • Alerts: conditions on metrics or logs, with action groups to notify people or run automation.
    • Application Insights: application performance monitoring, covering requests, failures, dependencies and users.

Exam tips

  • Use the pricing calculator for the future, Cost Management for the past, and the TCO calculator to compare with on-premises.
  • Policy controls what can be deployed, RBAC controls who can act, and locks stop accidents.
  • If Azure itself is broken, check Service Health. For advice on improving your setup, check Advisor.