Interview Prep/Azure/AKS and Containers

Leadership asks whether you should run your database inside AKS. What's your answer?

IntermediateScenarioAKS and Containers
Answer

Situation read → Usually no: managed databases are cheaper to operate for most teams.

What I'd do →

  1. Default to Azure Database for PostgreSQL Flexible Server or Azure SQL: zone-redundant HA, backups, PITR, patching
  2. Consider in-cluster only with an operator (CloudNativePG), skills on the team, zone-redundant storage and tested backups
  3. Compare cost including people time, not just compute

Why → Databases need backup, failover and patching discipline that managed services give you for free.

Interview tip → Ask "who gets paged when the in-cluster database fails over at 3 a.m.?"

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and Containers