nerdexam
Microsoft

AZ-500 · Question #368

You have an Azure subscription that contains the resources shown in the following table. You plan to deploy the virtual machines shown in the following table. You need to assign managed identities…

The correct answer is B. 2. We have two different sets of required permissions. VM1 and VM2 have the same permission requirements. VM3 and VM4 have the same permission requirements. A user-assigned managed identity can be assigned to one or many resources. By using user- assigned managed identities, we…

Submitted by rania.sa· Mar 6, 2026Secure identity and access

Question

You have an Azure subscription that contains the resources shown in the following table. You plan to deploy the virtual machines shown in the following table. You need to assign managed identities to the virtual machines. The solution must meet the following requirements: - Assign each virtual machine the required roles. - Use the principle of least privilege. What is the minimum number of managed identities required?

Exhibits

AZ-500 question #368 exhibit 1
AZ-500 question #368 exhibit 2
AZ-500 question #368 exhibit 3
AZ-500 question #368 exhibit 4

Options

  • A1
  • B2
  • C3
  • D4

How the community answered

(30 responses)
  • A
    17% (5)
  • B
    73% (22)
  • C
    3% (1)
  • D
    7% (2)

Explanation

We have two different sets of required permissions. VM1 and VM2 have the same permission requirements. VM3 and VM4 have the same permission requirements. A user-assigned managed identity can be assigned to one or many resources. By using user- assigned managed identities, we can create just two managed identities: one with the permission requirements for VM1 and VM2 and the other with the permission requirements for VM3 and https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure- resources/overview

Topics

#managed identity#role assignment#least privilege#virtual machines

Community Discussion

No community discussion yet for this question.

Full AZ-500 Practice