Twenty virtual machine scale set instances, recreated frequently, all need the same access to a storage account. Pre-authorisation must exist before the instances are created. Which identity fits best?
- A. A system-assigned managed identity on each instance
- B. A service principal with a certificate deployed to each instance
- C. A user-assigned managed identity assigned to the scale set✓ Correct
- D. The Entra Connect sync account
Explanation
A user-assigned managed identity is created independently, can be granted roles in advance, and can be attached to many resources, so recreated instances keep the same identity and permissions. System-assigned identities change each time a resource is recreated. Distributing certificates adds secret management.