Interview Prep/Azure/Azure DevOps, Bicep and Terraform

Microsoft-hosted vs self-hosted agents vs Managed DevOps Pools.

IntermediateConceptAzure DevOps, Bicep and Terraform
Answer
Microsoft-hosted Self-hosted Managed DevOps Pools
Maintenance None, fresh VM per job You patch and scale Azure manages VMs from your images
Network Public internet only Inside your VNet Can inject into your VNet
Caching None between jobs Persistent Configurable
Cost Parallel jobs Your VMs Your Azure VMs, scale to zero

Private AKS clusters and private endpoints force you off Microsoft-hosted agents. Managed DevOps Pools replaced the VMSS agent pool pattern as the low-maintenance private option.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on Azure DevOps, Bicep and Terraform