Microsoft Azure Developer Associate AZ-204 Practice Question

Your company stores container images in a private Azure Container Registry (ACR) named contosoreg. You need to run the image contosoreg.azurecr.io/reports:prod in Azure Container Instances (ACI) as a scheduled task. The security team forbids saving the registry username or password in deployment templates or scripts. Which approach allows ACI to pull the image while meeting the security requirement?

  • Configure contosoreg to allow anonymous pull access.

  • Assign a user-assigned managed identity to the container group and grant it the AcrPull role on contosoreg.

  • Move the image to a public Docker Hub repository and reference that URL in the deployment.

  • Enable the admin user on contosoreg and supply the registry credentials during container creation.

Microsoft Azure Developer Associate AZ-204
Develop Azure compute solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot