mediummultiple choiceObjective-mapped

A platform team runs an internal automation tool that must restart VMs and read network interface settings in one resource group. Built-in roles available to the team are broader than the access they want to grant. What should the administrator create?

Question 1mediummultiple choice
Full question →

A platform team runs an internal automation tool that must restart VMs and read network interface settings in one resource group. Built-in roles available to the team are broader than the access they want to grant. What should the administrator create?

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

A custom role with only the required compute and read permissions, assigned at the resource group scope.

A custom role lets the admin grant only the specific actions the tool needs, and only in one resource group.

B

Distractor review

The Contributor role assigned at the subscription scope.

This would allow far more changes than the automation tool requires and would span the entire subscription.

C

Distractor review

The Reader role assigned at the resource group scope.

Reader can view settings but cannot restart virtual machines or perform operational changes.

D

Distractor review

The Network Contributor role assigned at the resource group scope.

This would focus on network resources and still would not provide the needed VM operational permissions.

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: A custom role with only the required compute and read permissions, assigned at the resource group scope. — A custom role is appropriate when built-in roles do not match the exact operational requirement. By defining only the necessary compute and read actions, the administrator can allow the automation tool to restart VMs and inspect related settings without granting broad write access to unrelated resources. Assigning that role at the resource-group scope keeps the permission boundary aligned to the team’s workload and preserves least privilege. Why others are wrong: Option B is too permissive because Contributor can modify many resource types across the subscription. Option C is read-only and cannot perform restart operations. Option D is the wrong resource family; network permissions alone do not cover VM lifecycle actions or the intended read access.

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.