You have a self-hosted Windows Server 2019 agent in an agent pool used by a build pipeline for App1. A new project will add a second pipeline that builds App2, which has conflicting dependencies with App1. You must minimize conflicts between the two pipelines 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 allows each pipeline to run in an isolated environment, preventing dependency conflicts between App1 and App2. Each container can have its specific dependencies installed without affecting the other. This approach is cost-effective as it reuses the existing self-hosted agent infrastructure. Adding another self-hosted agent would increase infrastructure costs unnecessarily. Adding a Docker Compose task is for orchestrating multi-container applications, not for isolating build environments on a single agent. Changing the agent's OS to RHEL 8 doesn't address the dependency conflict issue and might introduce compatibility problems.
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