An Azure Container Registry contains an ACR Tasks task named Task1 configured to run every five days. Which az CLI command will trigger Task1 to run immediately?
Choose an answer
Tap an option to check your answer.
Correct answer: az acr task run.
Why this is the answer
The az acr task run command is used to manually trigger an existing ACR Task. This is useful for immediate testing or execution outside of its scheduled cadence. az acr build is incorrect because it's used to build an image directly from source code, not to run a pre-configured task. az acr taskrun is incorrect because it is not a valid Azure CLI command for ACR Tasks; taskrun is a resource type, not an action. az acr run is incorrect because it is also not a valid Azure CLI command for ACR.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed