easymultiple choiceObjective-mapped

Several Azure VMs need the same Azure identity so they can access a shared resource without storing passwords. The identity should be reusable across VMs and removable centrally. Which identity type should the administrator use?

Question 1easymultiple choice
Full question →

Several Azure VMs need the same Azure identity so they can access a shared resource without storing passwords. The identity should be reusable across VMs and removable centrally. Which identity type should the administrator use?

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

System-assigned managed identity

System-assigned identities are tied to one resource and are not shared across multiple VMs.

B

Best answer

User-assigned managed identity

User-assigned identities can be attached to multiple resources and managed independently of the VMs.

C

Distractor review

Service principal with a client secret

A service principal can work, but secrets increase administrative overhead and rotation risk.

D

Distractor review

Local administrator account

A local account stays on the VM and is not the secure Azure identity pattern here.

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: User-assigned managed identity — A user-assigned managed identity is the correct answer because it is created as a standalone Azure resource and can be attached to multiple VMs. That makes it ideal when several machines need the same identity and the organization wants central lifecycle management. It also avoids storing passwords or secrets in configuration files. If the VMs are replaced, the identity can remain in place and be reattached as needed. Why others are wrong: A system-assigned managed identity is bound to a single VM, so it is not the best option when the same identity must be reused across multiple VMs. A service principal with a client secret works, but it introduces secret storage and rotation concerns. A local administrator account is not an Azure identity and does not provide secure shared access to Azure resources. The question asks for a reusable Azure identity, which is a user-assigned managed identity.

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.