Question 957 of 1,031
Describe Azure management and governancemediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to configure an Azure Policy with the Deny effect. This is correct because Azure Policy with the Deny effect evaluates resource properties at deployment time and immediately blocks any non-compliant request, such as creating a virtual machine outside of East US or West Europe, while returning a clear error message to the user. On the AZ-900 exam, this scenario tests your understanding of how Azure Policy enforces governance rules proactively, often contrasting it with Azure RBAC (which controls who can act) or resource locks (which prevent deletion). A common trap is confusing Deny with Audit or Modify effects—remember that Deny is the only effect that actively blocks deployment in real time. For a quick memory tip, think “Deny = Do Not Deploy,” as it stops the resource from being created the moment the rule is violated.

AZ-900 Describe Azure management and governance Practice Question

This AZ-900 practice question tests your understanding of describe azure management and governance. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A multinational company has a strict data residency requirement: all Azure virtual machines must be deployed only in the East US or West Europe Azure regions. The IT governance team wants to enforce this rule automatically so that any attempt to create a virtual machine in any other region is blocked immediately at the time of deployment. Users must receive a clear error message if they try to create a VM in a disallowed region. Which Azure feature should the governance team configure to meet this requirement?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "immediately / without restart"

    Why it matters: Time or reboot constraint — the correct answer must take effect right away without requiring a reboot or reload.

Question 1mediummultiple choice
Read the full NAT/PAT explanation →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Configure an Azure Policy with the Deny effect assigned to the subscription scope.

Azure Policy with the Deny effect is the correct choice because it enforces organizational rules by evaluating resource properties during deployment and blocking any non-compliant request. In this scenario, a policy can be defined to deny virtual machine creation in any region other than East US or West Europe, and the Deny effect ensures the deployment fails with a clear error message, meeting the real-time enforcement requirement.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create a resource lock on the subscription to prevent all resource creation.

    Why it's wrong here

    Resource locks (CanNotDelete or ReadOnly) are designed to protect resources from accidental deletion or modification, not to block the creation of new resources. A resource lock on the subscription would prevent deletion of the subscription itself, but it does not block deployments of virtual machines in disallowed regions.

  • Configure an Azure Policy with the Deny effect assigned to the subscription scope.

    Why this is correct

    Azure Policy with the Deny effect evaluates resource creation or update requests and denies them if they do not comply with the policy rules (e.g., VM location). The denial includes a clear error message explaining which policy prevented the action. This is the standard method to enforce location restrictions proactively.

    Clue confirmation

    The clue word "immediately / without restart" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Assign an Azure RBAC role that denies create permissions for VMs in disallowed regions.

    Why it's wrong here

    Azure RBAC roles manage permissions based on actions (e.g., Microsoft.Compute/virtualMachines/write) but cannot easily restrict by resource property such as region. Even with a custom role, you would need to specify each disallowed region in NotActions, which is cumbersome and error-prone. Azure Policy is the correct service for rules based on resource properties.

  • Set up a budget alert in Cost Management to notify when a VM is created in a disallowed region.

    Why it's wrong here

    Azure Cost Management budget alerts are designed to track spending and send notifications when costs exceed thresholds. They do not prevent resource creation and cannot enforce location restrictions. This solution is reactive, not proactive.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse Azure Policy (which enforces rules on resource properties) with Azure RBAC (which controls user permissions), leading them to incorrectly choose RBAC when the requirement is about restricting specific resource configurations rather than user actions.

Detailed technical explanation

How to think about this question

Azure Policy uses a JSON-based policy definition with an 'if-then' condition that evaluates resource properties (e.g., 'location' field) against allowed values. The Deny effect triggers an HTTP 403 Forbidden response with a detailed error message, which is surfaced in the Azure portal, CLI, or API. In a real-world scenario, this policy can be combined with initiatives to enforce compliance across multiple subscriptions, and the 'audit' effect can be used for non-blocking evaluation before moving to 'deny'.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-900 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-900 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-900 question test?

Describe Azure management and governance — This question tests Describe Azure management and governance — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Configure an Azure Policy with the Deny effect assigned to the subscription scope. — Azure Policy with the Deny effect is the correct choice because it enforces organizational rules by evaluating resource properties during deployment and blocking any non-compliant request. In this scenario, a policy can be defined to deny virtual machine creation in any region other than East US or West Europe, and the Deny effect ensures the deployment fails with a clear error message, meeting the real-time enforcement requirement.

What should I do if I get this AZ-900 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "immediately / without restart". Time or reboot constraint — the correct answer must take effect right away without requiring a reboot or reload.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More AZ-900 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-900 exam.