hardmulti selectObjective-mapped

A contractor needs Contributor on only VM1 and VM2 in rg-prod. Other resources in rg-prod must remain untouched, and the contractor must not gain access to any other resource groups or subscriptions. Which two role-assignment scopes meet the requirement? Select two.

Question 1hardmulti select
Full question →

A contractor needs Contributor on only VM1 and VM2 in rg-prod. Other resources in rg-prod must remain untouched, and the contractor must not gain access to any other resource groups or subscriptions. Which two role-assignment scopes meet the requirement? Select two.

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

Best answer

Assign the role at the VM1 resource scope.

A resource-level assignment limits permissions to VM1 and does not extend to unrelated resources.

B

Best answer

Assign the role at the VM2 resource scope.

A second resource-level assignment can independently grant access to VM2 only.

C

Distractor review

Assign the role at the rg-prod resource group scope.

Resource group scope would grant access to every resource inside rg-prod, which is broader than required.

D

Distractor review

Assign the role at the subscription scope.

Subscription scope would expose far more resources than the contractor should manage.

E

Distractor review

Assign the role at the management group scope.

Management-group scope is the broadest option here and would inherit into many subscriptions.

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: Assign the role at the VM1 resource scope. — Azure RBAC inherits permissions downward from the assigned scope, so the smallest scopes that satisfy this requirement are the individual VM resource scopes. Assigning Contributor directly on VM1 and VM2 gives the contractor control only over those two virtual machines. It prevents access to the other resources in rg-prod and avoids unintended inheritance from resource group, subscription, or management group levels. Why others are wrong: Resource group, subscription, and management group scopes all grant broader inherited permissions than the scenario allows. They would let the contractor affect other resources, which violates the requirement. The point of this design is to use the narrowest possible RBAC scope so only the two specified VMs are manageable.

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.