Designing and Implementing Microsoft DevOps Solutions — Question 10

You are designing a build pipeline in Azure Pipelines.
The pipeline requires a self-hosted agent. The build pipeline will run once daily and will take 30 minutes to complete.
You need to recommend a compute type for the agent. The solution must minimize costs.
What should you recommend?

Answer options

Correct answer: B

Explanation

Azure Container Instances (ACI) are the most cost-effective choice for running short-lived workloads like daily build pipelines that run for only 30 minutes. ACI allows you to pay only for the resources you use, unlike the other options which involve more ongoing costs, such as maintaining VMs or clusters.