exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 4 question 49 discussion

Actual exam question from Microsoft's AZ-204
Question #: 49
Topic #: 4
[All AZ-204 Questions]

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.
  • 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.
  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
osagiestar
Highly Voted 2 years, 8 months ago
Selected Answer: AE
A and E
upvoted 12 times
TonyMel
2 years, 2 months ago
correct, in 2023Mar24, score: 904/1000.
upvoted 3 times
...
...
lorenaizzo
Highly Voted 2 years, 9 months ago
Selected Answer: AE
Secure values 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/container-instances/container-instances-environment-variables
upvoted 11 times
...
Vichu_1607
Most Recent 7 months, 1 week ago
Selected Answer: AE
Environment Variable: Securely pass the secret value as an environment variable. Secret Volume: Securely store the secret value in a file within a mounted secret volume.
upvoted 1 times
...
BaoNguyen2411
1 year, 10 months ago
got this question on 06-29-2023
upvoted 4 times
...
elequiel
2 years, 7 months ago
Got it in exam 20/10/2022
upvoted 7 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...