nerdexam
Microsoft

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

Submitted by packet_pusher· Mar 6, 2026Design and implement build and release pipelines

Question

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 Server 2019-based self-hosted agent. Pipe1 uses Pool1. You plan to implement another project named Project2. Project2 will have a build pipeline named Pipe2 that builds an application named App2. App1 and App2 have conflicting dependencies. You need to minimize the possibility that the two build pipelines will conflict with each ether. The solution must minimize infrastructure costs. What should you do?

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)
  • A
    10% (2)
  • B
    14% (3)
  • C
    5% (1)
  • D
    71% (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

#container jobs#self-hosted agents#dependency isolation#build pipelines

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice