What should you do?
You have a project in Azure DevOps named Project1. Project! contains a pipeline that builds a container image named Image! and pushes Image1 to an Azure container registry named ACR1. Image! 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?
A . Create and run an Azure Container Registry task.
B . Add a Docker Hub service connection to Azure Pipelines.
C . Enable the Azure Event Grid resource provider and subscribe to registry events.
D . Create a service hook in Project1.
Answer: A
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.
Reference: https://docs.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-base-image-update
Latest AZ-400 Dumps Valid Version with 289 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund