ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 272 - AZ-204 discussion

Report
Export

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 application requires a secret value to be passed when the container is started. The value must only be accessed from within the container.

You need to pass the secret value.

What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.
Create an environment variable Set the secureValue property to the secret value.
Answers
A.
Create an environment variable Set the secureValue property to the secret value.
B.
Add the secret value to the container image. Use a managed identity.
Answers
B.
Add the secret value to the container image. Use a managed identity.
C.
Add the secret value to the application code Set the container startup command.
Answers
C.
Add the secret value to the application code Set the container startup command.
D.
Add the secret value to an Azure Blob storage account. Generate a SAS token.
Answers
D.
Add the secret value to an Azure Blob storage account. Generate a SAS token.
E.
Mount a secret volume containing the secret value in a secrets file.
Answers
E.
Mount a secret volume containing the secret value in a secrets file.
Suggested answer: A, E

Explanation:

Objects with secure values are intended to hold sensitive information like passwords or keys for your application. Using secure values for environment variables is both safer and more flexible than including it in your container's image.

Another option is to use secret volumes, described in Mount a secret volume in Azure Container Instances..... https://docs.microsoft.com/en-us/azure/containerinstances/container-instances-environment-variables

asked 02/10/2024
Korrakot Tianniam
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first