AZ-305 · Question 15 · Domain 1.4: Application Identities
An application running on an Azure Virtual Machine needs to access a third-party API using an API key. The API key must be stored securely in Azure Key Vault. You need to design a solution for the VM to retrieve the API key without storing any credentials in the VM's code or configuration files. Which TWO actions should you include in your design? (Select TWO)
An application running on an Azure Virtual Machine needs to access a third-party API using an API key. The API key must be stored securely in Azure Key Vault. You need to design a solution for the VM to retrieve the API key without storing any credentials in the VM's code or configuration files. Which TWO actions should you include in your design? (Select TWO)
Answer options:
Store the Key Vault client ID and secret in the VM's environment variables.
Enable a managed identity on the Azure Virtual Machine.
Configure a Key Vault access policy granting the VM's public IP address access.
Grant the VM's managed identity the Key Vault Secrets User role.
Use Azure AD B2C to authenticate the application.
How to approach this question
Full Answer
Common mistakes
Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 6
55 questions · hints · full answers · grading
Expert