easymulti selectObjective-mapped

An operations team needs one Azure identity that can be attached to several VMs and kept even if a VM is deleted. Which two statements about a user-assigned managed identity are correct? Select two.

Question 1easymulti select
Full question →

An operations team needs one Azure identity that can be attached to several VMs and kept even if a VM is deleted. Which two statements about a user-assigned managed identity are correct? 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

It is created as a separate Azure resource.

A user-assigned managed identity exists independently of any VM and is managed like its own Azure resource.

B

Best answer

It can be assigned to more than one VM.

The same user-assigned identity can be attached to multiple resources, which makes it reusable across VMs.

C

Distractor review

It is automatically deleted when the first VM is deleted.

That behavior describes a system-assigned identity, not a user-assigned one.

D

Distractor review

It requires a storage account access key to work.

Managed identities are designed to avoid secret-based credentials such as account keys.

E

Distractor review

It can only be attached to one VM at a time.

A user-assigned identity is specifically designed for reuse across multiple resources.

Common exam trap

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Technical deep dive

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

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?

Static NAT maps one inside address to one outside address.

What is the correct answer to this question?

The correct answer is: It is created as a separate Azure resource. — A user-assigned managed identity is the right choice when one identity must be reused across multiple VMs or other Azure resources. It is created as a separate Azure resource, so it has its own lifecycle and does not disappear when any one VM is deleted. That makes it ideal for shared application or platform access patterns. The key ideas are independence from a single VM and reusability across resources. Why others are wrong: Automatic deletion with the VM is a feature of system-assigned identities, not user-assigned identities. Storage keys are unrelated to managed identity behavior and would reintroduce secrets. Limiting the identity to one VM would defeat the purpose of using a reusable, shared identity for several resources. The question asks for user-assigned identity characteristics, so only the independent-resource and multi-attach statements fit.

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.