3: Describe Azure management and governance

    Describe cost management in Azure

    Cost management in Azure is the practice of seeing what your cloud is spending, predicting what it will spend, and putting guardrails so spend does not exceed the budget. The shift from on-premises capital expenditure to cloud operating expenditure changes the rhythm of the cost conversation. On-premises hardware was bought once, depreciated across multiple accounting periods, and the procurement team rejoined the discussion only at the next refresh cycle. Azure bills the meter every second a virtual machine is allocated, every gigabyte stored in a storage account, every gigabyte that egresses outside a billing boundary, every transaction on a managed database. The cost conversation therefore becomes a continuous operational discipline rather than a periodic procurement event.

    There are three frames the foundational reader needs to keep straight. The first is the billing model: which actions generate a line item on the invoice (resource type, region, SKU, time deployed, transactions executed). The second is the responsibility model: who in the organization owns each line item, and how cost is allocated across engineering teams, security teams, business units, and customer programs through tags and management groups. The third is the protection model: which controls stop a well-meaning operator from deleting a paid-for resource by mistake, and which controls stop runaway spend from spinning up resources nobody approved.

    The toolchain that maps to those three frames sits across this chapter. Microsoft Cost Management provides visibility and forecasting. Tags allocate cost across teams and projects. Azure Policy enforces what may be deployed and where. Resource locks protect specific resources from delete or modify operations. Azure Service Health surfaces Azure-side incidents that affect both availability and billing credits. The Pricing Calculator and the TCO Calculator answer the up-front estimation question (how much will the new design cost, or how does the on-premises footprint compare to Azure), not the run-time control question.

    Cost-management responsibilityOwning rolePrimary Azure toolOut-of-band tool
    Estimate cost of a NEW designArchitect, FinOpsPricing CalculatorSpreadsheet or Excel template
    Compare on-prem to AzureMigration lead, CFO sponsorTCO CalculatorEngagement with Microsoft FastTrack
    Analyze ACTUAL spendFinOps, finance controllerMicrosoft Cost Management cost analysisExported CSV in Power BI
    Drive budgets and alertsFinOps, engineering managerMicrosoft Cost Management budgetsAction group with email or webhook
    Allocate spend to teams/projectsEngineering manager, financeTags, management group hierarchyCustom chargeback report
    Stop unauthorized SKUsCloud governanceAzure Policy (Deny, Audit)Manual review at deployment
    Protect deployed resources from deleteCloud operationsResource locks (CanNotDelete)Backup retention policy
    Lock resource configurationCloud operationsResource locks (ReadOnly)Change-management process
    Recover SLA credits for Azure incidentsFinOps, operationsAzure Service HealthSupport ticket through Azure Support

    Resource locks

    Resource locks are the simplest protection mechanism Azure offers and the one most often overlooked by foundational candidates. A resource lock attaches to a subscription, a resource group, or an individual resource and prevents the locked subject from being modified or deleted, regardless of which role assignment the caller holds. A subscription Owner cannot delete a resource group that carries a CanNotDelete lock without first removing the lock. A Contributor cannot resize a virtual machine that carries a ReadOnly lock without first removing the lock. The lock is a hard guardrail at the resource provider, not a soft policy that someone may waive at deployment time.

    Azure exposes two lock levels:

    • CanNotDelete (shown in the portal as Delete) lets authorized users read and modify a resource but blocks every delete operation. This is the everyday lock for any resource the business cannot afford to lose by accident: production databases, Recovery Services vaults that hold backup copies, Microsoft Entra ID-linked Key Vaults that hold encryption keys, storage accounts that hold immutable audit logs.
    • ReadOnly is stricter. Authorized users can list and read the resource but cannot modify it (no SKU change, no certificate rotation, no firewall rule update). ReadOnly also blocks any operation the underlying resource provider treats as a write, so applying ReadOnly to a resource group can silently block unrelated activity such as listing storage account keys, because the underlying API for that operation is a POST.

    Locks inherit downward. A lock at the subscription scope applies to every resource group and every resource within. A lock at the resource group scope applies to every resource in the group. When multiple locks apply at multiple scopes, the strictest lock wins at any given scope. If a resource group carries a CanNotDelete lock and a single resource inside the group carries a ReadOnly lock, that resource is ReadOnly while its siblings remain merely undeletable.

    Two common traps. First, resource locks are about resource-manager operations, not about data-plane access. A CanNotDelete lock on a storage account does not stop a user with the right role from deleting blobs inside the account; it only stops the storage account resource itself from being removed. Blob-data protection comes from soft delete, immutability policies, and role assignments, not from a lock. Second, locks apply to every authorization principal, including the subscription Owner, the User Access Administrator, and even the account that created the lock. Removing a lock requires the Microsoft.Authorization/locks/* permission, which by default sits in the Owner and User Access Administrator built-in roles only.

    💡 Exam Trap: A CanNotDelete lock on a resource group prevents deletion of the resource group and of any resource inside it, but it does NOT prevent reading or modifying those child resources. ReadOnly is required to block modification.

    ⚠️ Anti-Pattern: Applying a ReadOnly lock to a storage account and then being surprised that key rotation, soft delete configuration, and account-key list operations stop working. ReadOnly is genuinely read-only at the resource provider, including operations the portal hides as routine reads. Reserve ReadOnly for resources whose configuration must not drift in production.

    Azure Service Health

    Azure Service Health is Microsoft's first-party view of Azure platform health, scoped to the subscriptions and regions your account actually uses. It sits inside the Azure portal under Service Health and surfaces four channels:

    • Service issues. Active incidents on Azure services in regions where your subscription has resources. Each incident carries a tracking ID, an impact statement, a mitigation status, and a downloadable communication record that operations can attach to an internal postmortem or to a billing credit request.
    • Planned maintenance. Scheduled maintenance windows for Azure-managed components that may briefly interrupt your workload, with the window, the affected services, and the recommended customer action.
    • Health advisories. Service-level changes that require customer action even when they are not outages: deprecation notices, certificate updates, library version retirements, regional capacity adjustments.
    • Security advisories. Service-level security notifications that affect your tenant: vulnerability disclosures, mandatory patches, certificate revocations.

    The complementary public view is the Azure Status page at status.azure.com, which shows global health for every service in every region but is not filtered to your subscriptions. Foundational candidates often confuse the two surfaces. The public Azure Status page is for anyone, while Azure Service Health inside the portal is the subscription-aware source of truth when you need an incident tracking ID for an SLA credit request.

    Service Health alerts close the cost loop. You can configure an action group (email, SMS, push notification, webhook, Logic App, Azure Function) to fire when an incident matches your subscription and region filter, so the on-call engineer learns about an Azure-side incident from Service Health rather than from a customer ticket. Because SLA credits are time-bound (the claim window typically closes within a defined number of days after incident resolution), capturing the incident reference into your runbook quickly matters for cost recovery.

    Service Health channelWhat it coversTypical lead timeAction group recommended
    Service issuesActive Azure outages affecting your resourcesNone: the incident is already liveYes, page on-call
    Planned maintenanceUpcoming maintenance windowsDays to weeksYes, route to change management
    Health advisoriesDeprecations, version retirementsWeeks to monthsYes, route to engineering backlog
    Security advisoriesMandatory security actionsHours to weeksYes, route to security operations

    💡 Exam Trap: Azure Service Health is SCOPED to your subscriptions and to the regions where you have resources. The PUBLIC Azure Status page (status.azure.com) shows global health for every service in every region. If a stem asks which tool gives a subscription-aware view of Azure-side incidents, the answer is Azure Service Health, never the public status page.

    🎯 Scenario: Finance asks why the monthly invoice never showed the SLA credit for last quarter's regional storage incident. Operations remembers the incident but did not capture the Service Health tracking ID at the time the incident was active. The runbook lesson, captured for the next time, is that every incident matched by a Service Health alert must end with the communication record being downloaded and pinned to a ticket, so the credit request has the evidence it needs before the claim window closes.

    📊 Limit: Removing a resource lock requires the Microsoft.Authorization/locks/* permission. Only the Owner and User Access Administrator built-in roles include that permission by default; other roles, including Contributor, do not.

    Decision Anchor. Choose a CanNotDelete lock when the goal is to stop accidental deletion while still allowing day-to-day configuration changes on the resource. Choose a ReadOnly lock when the resource is in a steady-state configuration that must not drift, and the operations team understands that no portal or API write will succeed against it until the lock is removed. Choose Azure Service Health when you need a subscription-scoped view of Azure-side incidents with tracking IDs and downloadable communication records; choose the public Azure Status page only when you need a global, anonymous view of platform health.


    Continue with the interactive course

    Track your progress, jump into practice questions and use the Shark AI tutor inside the Microsoft - Azure Fundamentals learning hub.