AZ-305 · Question 15 · Domain 1.4: Application Identities
You are designing the security architecture for an Azure App Service web application. The application needs to retrieve database connection strings stored securely in an Azure Key Vault.
You must adhere to the principle of least privilege. The web app must only be able to read secrets, not certificates or keys. You want to use the modern Azure RBAC permission model for Key Vault rather than legacy Access Policies.
Which TWO steps must you perform? (Select TWO)
Answer options:
Enable a system-assigned managed identity on the App Service.
Assign the 'Key Vault Contributor' role to the managed identity.
Assign the 'Key Vault Secrets User' role to the managed identity.
Configure a Key Vault Access Policy granting 'Get' permissions for Secrets.
Store a Service Principal client secret in the App Service application settings.
55 questions · hints · full answers · grading