AZ-204 · Question #452
You develop a Python application for image rendering that uses GPU resources to optimize rendering processes. You deploy the application to an Azure Container Instances (ACI) Linux container. The…
The correct answer is A. Create an environment variable Set the secureValue property to the secret value. E. Mount a secret volume containing the secret value in a secrets file. A: Secure environment variables Another method (another than a secret volume) for providing sensitive information to containers (including Windows containers) is through the use of secure environment variables. E: Use a secret volume to supply sensitive information to the…
Question
Options
- ACreate an environment variable Set the secureValue property to the secret value.
- BAdd the secret value to the container image. Use a managed identity.
- CAdd the secret value to the application code Set the container startup command.
- DAdd the secret value to an Azure Blob storage account. Generate a SAS token.
- EMount a secret volume containing the secret value in a secrets file.
How the community answered
(59 responses)- A80% (47)
- B12% (7)
- C5% (3)
- D3% (2)
Explanation
A: Secure environment variables Another method (another than a secret volume) for providing sensitive information to containers (including Windows containers) is through the use of secure environment variables. E: Use a secret volume to supply sensitive information to the containers in a container group. The secret volume stores your secrets in files within the volume, accessible by the containers in the container group. By storing secrets in a secret volume, you can avoid adding sensitive data like SSH keys or database credentials to your application code. https://docs.microsoft.com/en-us/azure/container-instances/container-instances-volume-secret
Topics
Community Discussion
No community discussion yet for this question.