A build pipeline in Azure Pipelines runs separate jobs to compile an application for 10 different architectures and currently requires about 24 hours to complete. Which two actions should you take to reduce the total pipeline execution time?
Choose an answer
Tap an option to check your answer.
Correct answer: Increase the number of parallel jobs, Create an agent pool.
Why this is the answer
To reduce the pipeline execution time for jobs that compile an application for 10 different architectures, you should increase the number of parallel jobs. This allows multiple compilation tasks to run concurrently instead of sequentially, significantly decreasing the overall build duration. Additionally, creating an agent pool provides a collection of available agents that can pick up and execute these parallel jobs. Without sufficient agents in a pool, increasing parallel jobs might not yield the desired speedup as jobs would still queue awaiting an available agent. Moving to a blue/green deployment pattern is a deployment strategy and does not directly impact build time. Creating a deployment group is used for orchestrating deployments to target machines, not for accelerating build compilation. Reducing the size of the repository might slightly speed up initial cloning but won't address the 24-hour compilation bottleneck.
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