A developer is configuring security for an Azure App Service instance. They need to understand how managed identities behave when the App Service is deleted or updated. Which of the following statements correctly describe the characteristics of a system-assigned managed identity? (Select TWO).
- The identity is tied directly to the lifecycle of the Azure App Service instance.Answer
- The identity is automatically deleted when the associated Azure App Service instance is deleted.Answer
- CThe identity is created as a standalone Azure resource with its own lifecycle.
- DThe identity can be shared and assigned to multiple different Azure resources.
Answer
The correct statements are that the system-assigned managed identity is tied directly to the lifecycle of the Azure App Service instance, and it is automatically deleted when the associated App Service instance is deleted.
A system-assigned managed identity is created directly on an Azure resource instance (such as an App Service). As a result, its lifecycle is directly tied to that resource: it is automatically deleted when the resource is deleted, and it cannot be shared with or assigned to any other resources.
Step-by-Step Solution
Key Concept
Managed Identity Lifecycle and Resource Binding