nerdexam
Microsoft

AZ-400 · Question #214

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 c

The correct answer is B. Azure Container Instances. If your pipelines are in Azure Pipelines, then you've got a convenient option to run your jobs using a Microsoft-hosted agent. With Microsoft-hosted agents, maintenance and upgrades are taken care of for you. Each time you run a pipeline, you get a fresh virtual machine. The virt

Submitted by devops_kid· Mar 6, 2026Design and implement build and release pipelines

Question

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?

Options

  • Aan Azure Kubernetes Service (AKS) cluster
  • BAzure Container Instances
  • Can Azure virtual machine scale set
  • DAzure virtual machines

How the community answered

(40 responses)
  • A
    10% (4)
  • B
    83% (33)
  • C
    5% (2)
  • D
    3% (1)

Explanation

If your pipelines are in Azure Pipelines, then you've got a convenient option to run your jobs using a Microsoft-hosted agent. With Microsoft-hosted agents, maintenance and upgrades are taken care of for you. Each time you run a pipeline, you get a fresh virtual machine. The virtual machine is discarded after one use. Microsoft-hosted agents can run jobs directly on the VM or in a Note: You can try a Microsoft-hosted agent for no charge. https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice