Microsoft Security, Compliance, and Identity Fundamentals — Question 194
Which type of identity can be used with an Azure service and will be deleted automatically when the service is deleted?
Answer options
- A. user-assigned managed identity
- B. service principal
- C. user
- D. system-assigned managed identity
Correct answer: D
Explanation
The correct answer is D, as a system-assigned managed identity is tied to the lifecycle of the Azure service and is automatically deleted when the service is deleted. In contrast, a user-assigned managed identity (A) persists beyond the service's lifecycle, a service principal (B) is a security identity created for use with the Azure Active Directory, and a user (C) is a general account and not tied directly to a specific Azure service.