You have an agent pool (Pool1) with a Windows Server 2022 self-hosted agent used by Pipe1. Project2 will add Pipe2 and App1 and App2 have conflicting dependencies. To minimize the risk of build conflicts while keeping infrastructure costs low, what should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Create two container jobs..
Why this is the answer
Creating two container jobs is the most effective solution because it isolates the build environments for App1 and App2 within the same agent. Each container job can specify its own dependencies, preventing conflicts without requiring additional virtual machines or physical hardware, thus keeping infrastructure costs low. Adding another self-hosted agent would resolve the conflict but increases infrastructure costs due to the need for another server. Adding a Docker Compose task is for orchestrating multi-container applications, not for isolating dependencies within a single build pipeline on a single agent. Changing the self-hosted agent to RHEL 9 is irrelevant to resolving dependency conflicts between applications that need to be built on the same agent, as the OS change doesn't provide the necessary isolation.
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