nerdexam
Microsoft

AZ-400 · Question #220

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…

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-

Submitted by yasin.bd· Mar 6, 2026Design and implement build and release pipelines

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.

How the community answered

(28 responses)
  • A
    11% (3)
  • B
    7% (2)
  • C
    79% (22)
  • D
    4% (1)

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.

Full AZ-400 Practice