You are designing a build pipeline that requires a self-hosted agent. The build runs once per day and takes 30 minutes. To minimize cost, which compute option is most appropriate for the agent?
Choose an answer
Tap an option to check your answer.
Correct answer: Azure Container Instances.
Why this is the answer
Azure Container Instances (ACI) is the most cost-effective option for a self-hosted agent that runs once daily for 30 minutes. ACI offers per-second billing, meaning you only pay for the exact duration the container is running, which aligns perfectly with the infrequent, short-duration workload. This minimizes idle costs. Azure Kubernetes Service (AKS) is designed for orchestrating many containers and continuous workloads, making it overkill and more expensive for a single, intermittent task. Azure virtual machine scale sets are for managing groups of identical VMs, which is also excessive for this scenario and incurs higher continuous costs. Azure virtual machines would require you to pay for the VM even when it's idle, leading to unnecessary expenses for a job that runs only 30 minutes a day.
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