AZ-400 · Question #84
Case Study 2 - Contoso, Ltd Background Contoso, Ltd. is a manufacturing company that has a main office in Chicago. Contoso plans to improve its IT development and operations processes by implementing
The correct answer is C. Add a Docker task to the build pipeline.. Scenario: Implement Project4 and configure the project to push Docker images to Azure Container Registry. You use Azure Container Registry Tasks commands to quickly build, push, and run a Docker container image natively within Azure, showing how to offload your "inner-loop" devel
Question
Options
- AAdd the FROM instruction in the Dockerfile file.
- BAdd a Copy and Publish Build Artifacts task to the build pipeline.
- CAdd a Docker task to the build pipeline.
- DAdd the MAINTAINER instruction in the Dockerfile file.
How the community answered
(26 responses)- A4% (1)
- B8% (2)
- C77% (20)
- D12% (3)
Explanation
Scenario: Implement Project4 and configure the project to push Docker images to Azure Container Registry. You use Azure Container Registry Tasks commands to quickly build, push, and run a Docker container image natively within Azure, showing how to offload your "inner-loop" development cycle to the cloud. ACR Tasks is a suite of features within Azure Container Registry to help you manage and modify container images across the container lifecycle. https://docs.microsoft.com/en-us/azure/container-registry/container-registry-quickstart-task-cli
Community Discussion
No community discussion yet for this question.