Designing and Implementing Microsoft DevOps Solutions — Question 52

You have an Azure subscription that contains an Azure container registry. The container registry contains an ACR Tasks task named Task1. Task1 is configured to run once every five days.

You need to trigger Task1 to run immediately.

Which command should you run?

Answer options

Correct answer: A

Explanation

The correct command to trigger Task1 immediately is 'az acr task run', as it is specifically designed to initiate a task in Azure Container Registry. The other options either pertain to building images or are incorrect commands, thus they do not fulfill the requirement of running an existing task immediately.