mediummulti selectObjective-mapped

An operations team must be able to restart virtual machines in one resource group. They must not create, delete, resize, or change disks or networking. Which two actions should the administrator take? Select two.

Question 1mediummulti select
Full question →

An operations team must be able to restart virtual machines in one resource group. They must not create, delete, resize, or change disks or networking. Which two actions should the administrator take? 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

Create a custom RBAC role that includes only read and restart actions for virtual machines.

A custom role lets the administrator grant only the exact VM actions needed. Including read and restart permissions satisfies the task without giving broader management capabilities.

B

Distractor review

Assign the Virtual Machine Contributor role to the operations group.

Virtual Machine Contributor is broader than required and can allow many VM management tasks. It does not follow the least-privilege requirement described in the scenario.

C

Best answer

Assign the custom role to the operations group at the resource group scope.

Assigning the role at the resource group scope limits access to only that application boundary. It also keeps the permission set reusable for every VM in that group.

D

Distractor review

Create an Azure Policy assignment that denies VM creation in the resource group.

Policy can block noncompliant deployments, but it does not grant the team restart access. The requirement is about authorization for operations, not only deployment prevention.

E

Distractor review

Apply a ReadOnly lock to the resource group.

A ReadOnly lock would block write operations, including VM restarts and other management actions. That would prevent the team from doing the required work.

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 RBAC role that includes only read and restart actions for virtual machines. — The correct approach is to create a custom RBAC role containing only the virtual machine read and restart actions, then assign that role to the operations group at the resource group scope. RBAC controls who can perform operations, and a custom role keeps the permission set tightly focused. The resource group scope ensures the team can manage only the VMs in that application boundary and nothing broader. Why others are wrong: Virtual Machine Contributor is too permissive for a restart-only requirement. Azure Policy can restrict deployments, but it does not grant operational authorization. A ReadOnly lock blocks management actions and would stop restarts, so it is the opposite of what the team needs.

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.