Two virtual machines must share one identity and its role assignments. Which approach fits?
- A System-assigned identity on each VM
- B A single user-assigned managed identity attached to both (correct answer)
- C A shared service principal secret
- D A shared user account
Shortcut: User-assigned identities can be attached to multiple resources, so the role assignments are configured once and reused, which also simplifies pre-provisioning permissions.