Bitzu

AZ-400 ยท Agents and runners

Scale-set agents and hybrid pipelines

Virtual Machine Scale Set agents, Managed DevOps Pools, Actions Runner Controller on Kubernetes, ephemeral runners, VM image templates (Packer/Azure Image Builder), agents reaching on-premises or private network resources.

Key points

  • Virtual Machine Scale Set agents: self-hosted (Windows and Linux); Azure Pipelines grows and shrinks them, optional reimage after every job.
  • Managed DevOps Pools: managed service, VMs in a Microsoft subscription, custom images, network access to company resources.
  • GitHub: Actions Runner Controller runs ephemeral runners as pods on Kubernetes.
  • Bake tools into images (Packer or Azure Image Builder) for fast, consistent starts.

Source: https://learn.microsoft.com/en-us/azure/devops/managed-devops-pools/overview

Practice questions

Single choice

Which setting must be disabled on a scale set before Azure Pipelines can manage it as an agent pool?

  1. Azure autoscale of the scale set
  2. Manual upgrade policy
  3. Custom images
  4. Outbound internet access
Show answer

Answer: A. Azure autoscale of the scale set

Azure Pipelines decides when to scale based on queued jobs, so Azure autoscale and overprovisioning must be off. A manual upgrade policy is actually required, not disabled.

Select all that apply

Which statements about Actions Runner Controller (ARC) are true?

  1. It runs inside a Kubernetes cluster
  2. Its runners are ephemeral and removed after the job
  3. Runner scale sets scale with the number of queued jobs
  4. It requires an Azure Virtual Machine Scale Set per runner
  5. Runners stay registered permanently between jobs
Show answer

Answer: A. It runs inside a Kubernetes cluster, B. Its runners are ephemeral and removed after the job, C. Runner scale sets scale with the number of queued jobs

ARC is a Kubernetes operator; it creates short-lived ephemeral runner pods and autoscales runner scale sets through a listener. It does not use Azure VM scale sets and does not keep permanent runners.

True or false

Azure Pipelines Virtual Machine Scale Set agents can run macOS agents.

Show answer

Answer: False

False. Scale set agents support only Windows and Linux; macOS is not available this way.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More AZ-400 topics in this module