ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 101 - AZ-400 discussion

Report
Export

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?

A.
Enable the Azure Event Grid resource provider and subscribe to registry events.
Answers
A.
Enable the Azure Event Grid resource provider and subscribe to registry events.
B.
Add a Docker Hub service connection to Azure Pipelines.
Answers
B.
Add a Docker Hub service connection to Azure Pipelines.
C.
Create and run an Azure Container Registry task.
Answers
C.
Create and run an Azure Container Registry task.
D.
Create a service hook in Project1.
Answers
D.
Create a service hook in Project1.
Suggested answer: C

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

asked 02/10/2024
Hayat Hassan
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first