Designing and Implementing Microsoft DevOps Solutions — Question 11

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?

Answer options

Correct answer: C

Explanation

The correct action is to create and run an Azure Container Registry task, as this allows for the automation of updates to the container image whenever the base image changes. Options A and B do not directly address the need for automatic updates, while D involves service hooks that are not specifically designed for this use case.