Interview Prep/Azure/CI/CD and IaC

You must run Terraform against a private AKS cluster and private Key Vault from CI.

AdvancedScenarioCI/CD and IaC
Answer

Situation read → Hosted runners can't reach private endpoints. Need private runners.

What I'd do →

  1. Self-hosted runners/agents in a VNet with line of sight (Managed DevOps Pools for Azure DevOps, or GitHub-hosted runners with Azure private networking, or self-hosted runners on VMSS/ACA jobs)
  2. DNS resolution of privatelink zones from that VNet
  3. Same OIDC identities; no change to auth
  4. For one-off kubectl, az aks command invoke from hosted runners

Why → Private endpoints mean network access is required in addition to identity.

Interview tip → Mention GitHub's Azure private networking for hosted runners; few candidates know it.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on CI/CD and IaC