Interview Prep/Azure/AKS and Containers

A stateful service on AKS uses Azure Disks. A zone goes down. What happens and how do you design for it?

AdvancedScenarioAKS and Containers
Answer

Situation read → LRS disks are zonal; the pod can't reschedule to another zone with its volume.

What I'd do →

  1. Explain: pod stays Pending (volume node affinity conflict) until the zone returns
  2. Design fix: ZRS disks via a custom StorageClass (skuName: Premium_ZRS), which can attach in any zone
  3. Or app-level replication (a database operator with replicas per zone) using LRS disks
  4. Back up with Azure Backup for AKS or Velero

Why → Zone-redundant storage or replication is what makes stateful pods survive a zone loss.

Interview tip → "Volume node affinity conflict" is the phrase that shows you've hit it.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and Containers