easymultiple choiceObjective-mapped

You want to let a support engineer restart only the virtual machines in the Prod-Apps resource group, and any VM added later to that group should also be covered. Where should you assign the role?

Question 1easymultiple choice
Full question →

You want to let a support engineer restart only the virtual machines in the Prod-Apps resource group, and any VM added later to that group should also be covered. Where should you assign the role?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

At the subscription scope, because it will cover the resource group and future VMs.

This is broader than needed and grants access to unrelated resource groups in the subscription.

B

Best answer

At the Prod-Apps resource group scope, because the assignment will inherit to all VMs in that group.

This is correct because the resource group is the narrowest scope that still covers all VMs in Prod-Apps, including any future VMs created there. Assigning the role at the group scope keeps access limited to the intended set of resources while still taking advantage of Azure RBAC inheritance for child resources.

C

Distractor review

At each VM resource scope, because role assignments never inherit.

This is incorrect because Azure RBAC does inherit from resource group scope to child resources. Per-VM assignments would create unnecessary administrative overhead.

D

Distractor review

At the management group scope, because it is the only scope that applies to VMs.

This is incorrect because management group scope is far too broad for a single resource group and is not required for this task.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

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.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • 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.

Related practice questions

Related AZ-104 practice-question pages

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

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: At the Prod-Apps resource group scope, because the assignment will inherit to all VMs in that group. — The best scope is the resource group. Azure RBAC uses inheritance, so a role assigned to the resource group applies to all VMs inside it, including VMs that are created later. This gives the engineer exactly the needed access while avoiding a broader subscription-level assignment and avoiding repeated VM-by-VM role assignments. Why others are wrong: Subscription and management group scopes are too broad for a single application group and can expose unrelated resources. Assigning at each VM scope would work but creates avoidable maintenance and risks missing new VMs. The resource group scope is the narrowest practical choice that still satisfies the requirement.

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

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.