Azure Course · Advanced scenarios

Advanced AZ-900 Scenarios: Governance, Security and Cost

Work through six Azure governance scenarios involving RBAC, Policy, locks, tagging, budgets and security.

Learn the concept, inspect a worked scenario, and test a fresh variation.

AZURE LESSON PREVIEW
Advanced scenariosLearn → test

Core idea

Permission, resource rules and spend are separate questions.

RBAC → who
Policy → resource rule
Budget → spend signal
Check the choice and reasoning.Compare each decision with the scenario requirements and official guidance.

The direct answer

Combine Azure controls without confusing their jobs.

A multi-team subscription can have the right users and still allow a costly, wrongly located resource. Or it can have a good Policy rule but grant the wrong people broad permissions. AZ-900 asks about identity, governance and cost; this lesson combines them in one scenario and six checks.

The official Microsoft AZ-900 guide includes RBAC, Policy, locks, tags, Cost Management and Defender for Cloud. The Azure Policy overview explains how Policy governs resource state. The synced course pricing block follows this introduction.

Course access

Choose your next step in Azure.

Review the current course options and access details here.

Heycademy Courses · Coming Soon

Master AZ-900 with Heycademy

We’re preparing an interactive learning experience with practical exercises, skill assessments and personalized learning to help you build confidence and master new skills.

Launching soon!
We’re putting the finishing touches on this course. Please check back for updates.

Before the scenario

Five questions, five control families.

Control-selection matrix
QuestionRelevant conceptWhat it does not do
Who may perform an action?Azure RBAC role and scope.Does not replace resource-rule evaluation.
Does the resource meet a rule?Azure Policy.Does not replace a role assignment.
Should deletion be guarded?Resource lock.Does not create a spend limit.
Which project owns cost?Tags and cost reporting.Does not automatically block deployment.
When should someone be warned of spend?Budget and alerts.Does not guarantee a hard cap.

Microsoft Entra ID supplies identities and authentication methods. RBAC is the Azure resource authorization layer. Policy evaluates resource rules. These controls can work together; none is a complete security architecture by itself. Zero Trust and defense in depth are broader principles in the current objective list.

Worked multi-team subscription

Solve each failure at its own layer.

Atlas has one subscription and two teams: Analytics and Web. Each team owns separate resource groups. Only project deployers should create resources. All new resources must be in approved regions, critical production assets should resist accidental deletion, and finance needs project-level cost visibility. Assume an administrator will review role scopes and Policy effects before enabling them.

  1. Define groups and grant suitable RBAC roles at the narrow resource-group scope needed.
  2. Assign an allowed-locations Policy at the relevant scope and test a permitted and rejected deployment.
  3. Apply a delete lock to the specified critical asset and test the intended operational workflow.
  4. Require or standardize project tags for allocation; verify the report after resources appear.
  5. Create budgets/alerts to signal spend; review real usage rather than assuming a cap.

Verification: a Web deployer should not gain Analytics permissions merely because both resource groups share a subscription. A permitted user’s disallowed-region request should still face Policy evaluation. A lock may affect authorized maintenance operations and needs an operating procedure.

Six scenario checks

Choose a control, then justify the boundary.

Scenario 1

1. Read access: A finance analyst must inspect cost data but not deploy resources.

Decision and explanation

Decision: Use an appropriately scoped read-only RBAC role.

Why another control fails: A Policy or tag does not grant the user read permission. Microsoft reference.

Scenario 2

2. Region rule: Teams may deploy only to two approved Azure regions.

Decision and explanation

Decision: Use Azure Policy to evaluate or enforce allowed locations.

Why another control fails: RBAC answers who may act; it does not itself encode the location rule. Microsoft reference.

Scenario 3

3. Deletion guard: An authorized operator could accidentally delete a critical resource.

Decision and explanation

Decision: Consider a delete lock at an appropriate scope.

Why another control fails: A tag is metadata and a budget is not deletion protection. Microsoft reference.

Scenario 4

4. Cost attribution: Finance needs spend grouped by project.

Decision and explanation

Decision: Use a consistent tag strategy and Cost Management reporting.

Why another control fails: Tags help attribution but do not cap spend. Microsoft reference.

Scenario 5

5. Spend alert: A project owner wants warning when spend crosses a threshold.

Decision and explanation

Decision: Configure a budget and alert in Cost Management.

Why another control fails: An alert is not a hard enforcement cap. Microsoft reference.

Scenario 6

6. Security signal: The team needs recommendations about cloud security posture.

Decision and explanation

Decision: Review Microsoft Defender for Cloud and relevant recommendations.

Why another control fails: Azure Monitor telemetry and Policy rules have different purposes. Microsoft reference.

Keep building this skill

Turn the example into a sound cloud decision.

Return to the course options whenever you are ready.

Explore course options →

A concrete cost review

A budget is a signal, not an automatic stop.

Suppose Atlas expects a monthly spend of 400 units for a test workload. It sets warning thresholds at 300 and 380 units. A notification should trigger a review of actual services, consumption, region, storage and idle resources. The example values are an internal planning illustration, not Azure prices. If spend reaches 380, nothing in the word “budget” alone proves resources stop incurring charges.

Use the current Azure pricing calculator for a specific estimate and Cost Management for observed spend. Tags can help assign cost to teams but require consistent application. A Policy can help enforce tags; this is a resource rule, distinct from the report that analyzes cost.

Transfer the method

Authorized action, rejected resource.

A deployer has a Contributor-type role at the project scope but receives a denial when creating a resource in an unapproved region. The team suggests adding more RBAC permissions. What should you inspect?

Show the reasoning

Inspect the applicable Policy assignment and its effect. RBAC may already permit the user to submit the action, while Policy rejects the resource location. Adding permissions does not make the location compliant. Confirm the exact denial and scope before changing controls.

Change the case: the resource is in an approved region, but the user cannot create it. Now inspect the role assignment, scope and any other applicable rules. One symptom can have several causes; error details matter.

What this scenario leaves open

Real subscriptions need more design.

The example does not specify custom roles, inheritance, exception handling, identity lifecycle, network isolation, log retention or actual workload pricing. Do not copy its decisions into production without a threat model and service review. AZ-900 focuses on describing purposes and choosing between concepts, while implementation exams and production work go deeper.

For the next check, use the service-confusion lesson and explain RBAC, Policy and locks from memory.

Assignment scope and inheritance

Place a rule where it actually applies.

Atlas’s two project resource groups sit under one subscription. A role assignment or Policy at subscription scope can affect both groups, while a narrower assignment may target only one group. The choice should match the business rule. For example, an organization-wide location rule belongs at a scope that covers all affected projects, while a Web deployer’s permissions should not spill into Analytics by accident.

Do not solve a scope problem by adding a broader role. Write the intended subject, action, resource and scope in one sentence, then check the assignment. If a compliant request still fails, inspect actual denial details and inherited policies before changing any permission. This level of reasoning is useful for AZ-900 and for avoiding real operational mistakes.

FAQ

Questions about this skill.

Can RBAC replace an allowed-locations Policy?

No. RBAC governs who can act; Policy evaluates resource rules such as location.

Does a budget stop billing at a threshold?

A budget and alert provide visibility; do not assume they impose a hard spending cap.

Can a lock affect an authorized administrator?

Yes. The protected operation can still be blocked; plan maintenance and removal procedures.

Continue with the course

Build reliable Azure fundamentals skills.

Review the course options and choose your next learning step.

Take the next step →
Scroll to Top