easymultiple choiceObjective-mapped

Exhibit

Tenant: Contoso
Subscription: Prod-Sub
Resource groups:
- RG-App
- RG-Data
- RG-Net
Requirement:
- Helpdesk contractors must start and stop all VMs only in RG-App.
- They must not see or manage resources in the other resource groups.

Based on the exhibit, where should the administrator assign the role so the contractor can start and stop virtual machines only in RG-App and nothing else?

Question 1easymultiple choice
Full question →

Based on the exhibit, where should the administrator assign the role so the contractor can start and stop virtual machines only in RG-App and nothing else?

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

Assign the role at the subscription scope so it covers the contractor's work area.

This would give the contractor access to every resource group in the subscription, which is broader than required.

B

Best answer

Assign the role at the resource group scope for RG-App.

This is the narrowest scope that still reaches all virtual machines inside RG-App. RBAC permissions assigned at the resource group level apply only to resources in that group, which fits the requirement to manage VMs there without affecting RG-Data or RG-Net.

C

Distractor review

Assign the role at the management group scope above the subscription.

A management group scope is even broader than a subscription and would extend access to more subscriptions than needed.

D

Distractor review

Assign the role directly to one virtual machine only, because that is always the best scope.

That would restrict access to a single VM, not all VMs in RG-App, so it does not satisfy the requirement.

Common exam trap

Common exam trap: authentication is not authorization

Logging in proves the user can authenticate. It does not automatically mean the user is allowed to enter privileged or configuration mode. Watch for AAA authorization, privilege level and command authorization details.

Technical deep dive

How to think about this question

This kind of question is testing the difference between identity and permission. A user may successfully log in to a router because authentication is working, but still fail to enter configuration mode because authorization is missing, misconfigured or mapped to a lower privilege level.

KKey Concepts to Remember

  • Authentication checks who the user is.
  • Authorization controls what the user is allowed to do after login.
  • Privilege levels affect access to EXEC and configuration commands.
  • AAA, TACACS+ and RADIUS can separate login success from command access.

TExam Day Tips

  • Do not assume successful login means full administrative access.
  • Look for words such as cannot enter configuration mode, privilege level, authorization or command access.
  • Separate login problems from permission problems before choosing the answer.

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?

Authentication checks who the user is.

What is the correct answer to this question?

The correct answer is: Assign the role at the resource group scope for RG-App. — Resource group scope is the best fit because the requirement is to let the contractor manage all virtual machines inside RG-App while blocking access to the other groups. Azure RBAC inherits downward, so a role assigned to RG-App applies to resources inside that group only. This follows least privilege and avoids granting broader access at the subscription or management group level. Why others are wrong: Subscription and management group scopes are too broad and would expose resources outside RG-App. A single VM scope would be too narrow because the contractor must manage all VMs in the resource group, not just one machine.

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.