mediummultiple choiceObjective-mapped

An operations team needs to start and deallocate every virtual machine in RG-App and read VM settings, but they must not be able to delete VMs or manage networking resources. What is the best Azure RBAC solution?

Question 1mediummultiple choice
Full question →

An operations team needs to start and deallocate every virtual machine in RG-App and read VM settings, but they must not be able to delete VMs or manage networking resources. What is the best Azure RBAC solution?

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 Virtual Machine Contributor role at the subscription scope

This grants more permission than needed and affects all resource groups in the subscription.

B

Best answer

Create a custom role and assign it at the RG-App resource group scope

A custom role can include only the start, deallocate, and read actions needed for that resource group.

C

Distractor review

Assign the Reader role at the resource group scope

Reader allows viewing resources only and does not permit starting or stopping virtual machines.

D

Distractor review

Assign the Owner role at the resource group scope

Owner is far broader than required and includes delete and permission-management capabilities.

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: Create a custom role and assign it at the RG-App resource group scope — The requirement is a classic least-privilege case where a built-in role is too permissive or too restrictive. Virtual Machine Contributor includes more actions than the team needs, while Reader does not allow operations such as start or deallocate. A custom role lets the administrator define only the required compute actions and assign that role at the RG-App scope. This prevents access to networking and delete operations while still supporting daily operations. Why others are wrong: Virtual Machine Contributor is broader than the stated need and may permit changes the team should not make. Reader is view-only and cannot perform operational actions on VMs. Owner is the most excessive option because it includes full control, delete permissions, and role assignment rights. A custom role is the only option that precisely matches the requirement and preserves least privilege.

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.