Interview Prep/Azure/Policy, Cost, AWS Mapping and Rapid-fire

How would you secure an AKS cluster in production?

AdvancedConceptPolicy, Cost, AWS Mapping and Rapid-fire
Answer
  • Identity: Entra integration, Azure RBAC, local accounts disabled, workload identity for pods.
  • Network: private cluster or authorized IPs, CNI Overlay with Cilium network policies (default-deny per namespace), egress through Azure Firewall with UDR outbound.
  • Supply chain: images only from private ACR via policy, Defender for Containers scanning, signed images verified by Ratify.
  • Runtime: Pod Security Admission restricted (or Deployment Safeguards/Azure Policy), non-root, read-only root FS, no privileged pods.
  • Secrets: Key Vault CSI with workload identity; etcd encryption with KMS (CMK) where required.
  • Ops: auto-upgrade channels in maintenance windows, Standard tier, diagnostic logs (kube-audit-admin) to Log Analytics, Defender alerts to SIEM.
Azure All Azure questions

More on Policy, Cost, AWS Mapping and Rapid-fire