AZ-400 · Question #276
You have a project in Azure DevOps named Project1. Project1 contains a build pipeline named Pipe1 that builds an application named App1. You have an agent pool named Pool1 that contains a Windows Serv
The correct answer is D. Create two container jobs.. To get more control over software dependencies and operating system, you can use Container jobs. Note that the decisions whether to run your pipeline inside a container and whether to use a self-hosted agent are independent. You can directly run your pipeline on a self-hosted age
Question
Options
- AAdd another self-hosted agent.
- BAdds Docker Compose task to the build pipelines.
- CChange the self-hosted agent to use Red Hat Enterprise Linux (RHEL) 8.
- DCreate two container jobs.
How the community answered
(21 responses)- A10% (2)
- B14% (3)
- C5% (1)
- D71% (15)
Explanation
To get more control over software dependencies and operating system, you can use Container jobs. Note that the decisions whether to run your pipeline inside a container and whether to use a self-hosted agent are independent. You can directly run your pipeline on a self-hosted agent, or inside a container. You can also execute your pipeline in a container on a Microsoft-hosted agent or on a self-hosted agent. Incorrect Answers: A: For additional control over hardware, you can use a self-hosted build agent. dependencies-in-azure-devops-pipelines/
Topics
Community Discussion
No community discussion yet for this question.