AZ-400 · Question #220
AZ-400 Question #220: Real Exam Question with Answer & Explanation
The correct answer is C: Create and run an Azure Container Registry task.. ACR Tasks supports automated container image builds when a container's base image is updated, such as when you patch the OS or application framework in one of your base images. https://docs.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-base-image-
Question
You have a project in Azure DevOps named Project1. Project1 contains a pipeline that builds a container image named Image1 and pushes Image1 to an Azure container registry named ACR1. Image1 uses a base image stored in Docker Hub. You need to ensure that Image1 is updated automatically whenever the base image is updated. What should you do?
Options
- AEnable the Azure Event Grid resource provider and subscribe to registry events.
- BAdd a Docker Hub service connection to Azure Pipelines.
- CCreate and run an Azure Container Registry task.
- DCreate a service hook in Project1.
Explanation
ACR Tasks supports automated container image builds when a container's base image is updated, such as when you patch the OS or application framework in one of your base images. https://docs.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-base-image-
Community Discussion
No community discussion yet for this question.