Skip to main content
Ameerpet, Hyderabad · Classroom & live online
Cloud Soft Solutions

Azure Kubernetes Service (AKS) Interview Questions and Answers 2026 (48 Questions)

48 AKS interview questions with answers: pricing tiers, AKS Automatic, Azure CNI Overlay and Cilium, workload identity, upgrades with max surge and PDBs, egress types, ingress after the NGINX retirement, troubleshooting and hands-on Azure CLI.

Azure Kubernetes Service AKS interview questions and answers 2026 covering networking, upgrades, workload identity and troubleshooting
Last updated · 30 min read · 6,704 words
Saved in this browser only.

Azure Kubernetes Service AKS interview questions and answers 2026 covering networking, upgrades, workload identity and troubleshooting

Azure Kubernetes Service (AKS) is the Kubernetes platform most Azure-first companies in India run their containers on, from product startups in Hyderabad and Bengaluru to the delivery centres of large IT services firms. AKS interviews go past generic Kubernetes. You will be asked how Azure CNI Overlay differs from the older networking models, how upgrades and node surge actually work, how pods get Azure access without secrets, what AKS Automatic changes, and what you would check when pods cannot pull from Azure Container Registry.

This guide has 48 AKS questions in seven sections: fundamentals, intermediate, advanced, scenario-based, architecture and design, troubleshooting and hands-on. Each answer gives the concept, an Azure CLI or YAML example where it helps, and what the interviewer is listening for. Facts were checked against Microsoft Learn on 5 December 2026. AKS changes quickly (version support, defaults and retirements), so recheck the dates before your interview. Features marked (preview) were in preview on that date.

AKS rounds assume you already know core Kubernetes. Revise that with our Kubernetes interview questions and the Kubernetes interview questions hub. If the role spans clouds, our EKS vs AKS vs GKE comparison covers how the three managed services differ. For broader Azure roles, see the Azure interview questions hub.

Fundamentals

1. What is AKS, and what does Microsoft manage versus what do you manage?

AKS is Azure's managed Kubernetes service. Microsoft runs the control plane: the API server, etcd, scheduler and controller manager, including their availability, patching and backups. You do not see or SSH into control plane nodes. You manage the node pools (VM size, count, OS, Kubernetes version and upgrades unless automated), the workloads, networking choices, identity integration and add-ons.

With AKS Automatic, Microsoft also manages more of the node side: system node pools, node provisioning and upgrades are handled for you, at the cost of fewer knobs.

What the interviewer wants to hear: a clear shared-responsibility split, and that node upgrades and workload resilience are still your job on AKS Standard.

2. What are the AKS pricing tiers?

TierUseKey points
FreeDev, test, learningNo financially backed uptime SLA; supports up to 1,000 nodes; Microsoft recommends it for clusters under 10 nodes
StandardProductionUptime SLA on the API server: 99.95% with availability zones, 99.9% without; up to 5,000 nodes
PremiumProduction needing long-term supportEverything in Standard plus Long Term Support (LTS) Kubernetes versions; Premium and LTS are enabled together

In every tier you pay for the nodes, disks, load balancers and other resources you consume. AKS Automatic clusters use the Standard tier.

az aks update -g rg-aks -n aks-prod --tier standard

What the interviewer wants to hear: production clusters belong on Standard or Premium for the SLA, and the SLA covers the API server, not your workloads.

3. What is AKS Automatic and how does it differ from AKS Standard?

AKS Automatic is a more opinionated mode. Per Microsoft's documentation it is preconfigured with: managed system node pools hosted by AKS, node auto-provisioning, HPA, KEDA and VPA enabled, the Standard tier with an uptime SLA and a pod readiness SLA (99.9% of qualifying pod readiness operations complete within five minutes), the stable cluster auto-upgrade channel and NodeImage node OS channel, Azure RBAC for Kubernetes authorization, workload identity and the OIDC issuer, deployment safeguards with baseline Pod Security Standards, image cleaner, Azure CNI Overlay powered by Cilium, and a managed NAT gateway for egress.

AKS Standard gives you full control of node pools, networking and upgrade channels, but you configure those yourself.

What the interviewer wants to hear: Automatic trades configurability for secure defaults and less day-2 work; Standard suits teams with custom platform requirements.

Follow-up: Can you change the auto-upgrade channel on an Automatic cluster? (No, it is fixed to stable; you can set maintenance windows.)

4. What is the difference between system and user node pools?

System node pools host critical add-ons such as CoreDNS, metrics-server and konnectivity. Every AKS Standard cluster needs at least one system pool, and Microsoft recommends dedicating it to system pods with the CriticalAddonsOnly=true:NoSchedule taint and running it across availability zones. User node pools run application workloads and can use different VM sizes, OS (Linux or Windows), GPU SKUs or Spot pricing, and can scale to zero.

az aks nodepool add -g rg-aks --cluster-name aks-prod -n apps \
  --mode User --node-vm-size Standard_D4s_v5 \
  --enable-cluster-autoscaler --min-count 2 --max-count 10 \
  --zones 1 2 3

What the interviewer wants to hear: isolate system pods, separate pools by workload profile, and zone-spread production pools.

5. What is the node resource group?

When you create an AKS cluster, AKS creates a second resource group (by default named MC_<rg>_<cluster>_<region>) holding the infrastructure it manages: VM scale sets, the load balancer, public IPs, managed disks and, for AKS-managed networking, the VNet. You should not change these resources by hand, because AKS reconciles them and manual changes are unsupported. Node resource group lockdown makes it read-only; it is preconfigured on AKS Automatic and optional on Standard.

What the interviewer wants to hear: you know where the VMSS lives and that you change it through AKS, not directly.

6. What is the AKS Kubernetes version support policy?

AKS supports three GA minor versions: the latest (N) and two previous (N-1 and N-2). When a new minor version arrives, the oldest falls out of support (30 days later in Microsoft's example) and enters platform support (N-3), where Microsoft supports only Azure platform issues, not Kubernetes components, and does not ship security patches. Platform support gives a 60-day grace period. Microsoft's docs say that from 1 June 2027, AKS will automatically upgrade clusters still on an unsupported version after that grace period, and that this platform-initiated upgrade can ignore maintenance windows, deprecated API usage and blocking Pod Disruption Budgets.

Premium tier clusters can enrol in LTS for a longer support window.

What the interviewer wants to hear: N-2 window, the consequences of falling behind, and a plan to stay current.

7. How do you connect kubectl to an AKS cluster that uses Microsoft Entra authentication?

az aks get-credentials writes a kubeconfig. With Entra integration the kubeconfig uses the kubelogin credential plugin, which gets an Entra token for the signed-in user (or a service principal or managed identity in pipelines). az aks install-cli installs kubectl and kubelogin. The --admin flag returns local admin credentials, which bypass Entra; that is why production clusters should disable local accounts.

az aks get-credentials -g rg-aks -n aks-prod
kubelogin convert-kubeconfig -l azurecli
kubectl get nodes

What the interviewer wants to hear: kubelogin, and that --admin is a break-glass path you should disable.

8. Which identities does an AKS cluster use?

  • Cluster (control plane) identity: a managed identity (system- or user-assigned) that AKS uses to manage Azure resources such as load balancers, public IPs and subnets. Service principals are still possible but managed identity is the recommended option, and some features such as node auto-provisioning do not support service principals.
  • Kubelet identity: a user-assigned managed identity on the nodes, commonly used to pull images from ACR.
  • Workload identities: identities your pods use to call Azure, through Microsoft Entra Workload ID.
  • Add-on identities: some add-ons get their own managed identities.

What the interviewer wants to hear: you can say which identity needs which permission, for example Network Contributor on a bring-your-own subnet for the cluster identity and AcrPull for the kubelet identity.

Intermediate

9. Compare the AKS networking models.

OptionModelPod IPs come fromNotes
Azure CNI OverlayOverlayA private pod CIDR separate from the VNetMicrosoft's recommended default for most scenarios; conserves VNet IPs; up to 250 pods per node; outbound pod traffic is SNAT'd to the node IP
Azure CNI Pod SubnetFlatA dedicated VNet subnet for podsPods are directly reachable from connected networks; recommended flat option
Azure CNI Node SubnetFlat (legacy)The node subnetSimple but consumes many VNet IPs and limits scale
KubenetOverlay (legacy)Pod CIDR with user-defined routesRetires 31 March 2028; migrate to Azure CNI Overlay

The data plane is a separate choice: you can run Azure CNI Powered by Cilium with Overlay, Pod Subnet or Node Subnet. AKS reserves some ranges (169.254.0.0/16, 192.0.2.0/24, 172.30.0.0/16 and 172.31.0.0/16), so a pod CIDR such as 172.16.0.0/12 is rejected.

What the interviewer wants to hear: overlay versus flat trade-offs, kubenet retirement date and reserved ranges.

10. What does Azure CNI Powered by Cilium add?

It replaces the iptables-based data plane with Cilium's eBPF data plane while keeping Azure CNI for IP address management. That gives efficient service routing, built-in network policy enforcement without a separate policy engine, and the base for Advanced Container Networking Services features such as network observability and, with Cilium, FQDN and L7 policies. AKS Automatic uses Azure CNI Overlay with Cilium by default.

az aks create -g rg-aks -n aks-cilium \
  --network-plugin azure --network-plugin-mode overlay \
  --pod-cidr 192.168.0.0/16 --network-dataplane cilium \
  --generate-ssh-keys

What the interviewer wants to hear: IPAM and data plane are separate choices, and Cilium brings eBPF and network policy.

11. What ingress options does AKS offer today?

Microsoft's AKS documentation notes that the upstream Ingress NGINX project was retired, with maintenance ending in March 2026, and that Microsoft provides critical security patches for the application routing add-on's NGINX resources through November 2026. AKS uses the Gateway API as the long-term standard. Current options:

  • Application routing add-on with its Gateway API implementation (the default for new AKS Automatic clusters from Kubernetes 1.36).
  • Application Gateway for Containers, which supports both Ingress and Gateway API.
  • The Istio-based service mesh add-on with Gateway API ingress.
  • Bring your own ingress controller or gateway.

The managed NGINX controller is not a tenant security boundary: one controller serves Ingress objects from all namespaces and can read Secrets across namespaces.

What the interviewer wants to hear: awareness of the ingress-nginx retirement and a migration plan toward Gateway API.

12. Explain the scaling options in AKS.

  • Horizontal Pod Autoscaler: changes replica counts based on CPU, memory or custom metrics.
  • KEDA add-on: event-driven scaling (queue length, Kafka lag, cron), including scale to zero.
  • Vertical Pod Autoscaler: recommends or applies CPU and memory requests.
  • Cluster autoscaler: adds or removes nodes in existing node pools when pods are pending or nodes are underused.
  • Node auto-provisioning (NAP): based on Karpenter; chooses VM sizes from pending pod requirements using NodePool and AKSNodeClass resources. NAP does not support Windows node pools or service principals.

What the interviewer wants to hear: pod-level versus node-level scaling, and when NAP is better than fixed node pools.

Follow-up: Why does HPA not work well if pods have no resource requests? (Utilisation is calculated against requests.)

13. Which storage options does AKS support for persistent volumes?

AKS ships CSI drivers for Azure Disks (block storage, ReadWriteOnce, one node at a time, zonal unless you use zone-redundant disk SKUs), Azure Files (SMB or NFS shares, ReadWriteMany) and Azure Blob storage (blobfuse or NFS). Built-in storage classes such as managed-csi and azurefile-csi exist, and you can define your own with specific SKUs and reclaim policies.

What the interviewer wants to hear: disks for single-writer databases, Files for shared access, and awareness that a zonal disk ties a pod to that zone.

14. How does AKS pull images from Azure Container Registry without credentials?

Attaching ACR grants the AcrPull role on the registry to the cluster's kubelet identity, so nodes authenticate with their managed identity. No image pull secret is needed.

az aks update -g rg-aks -n aks-prod --attach-acr myregistry

If the registry is private-endpoint only, nodes also need network access and DNS resolution for the private endpoint.

What the interviewer wants to hear: kubelet identity plus AcrPull, and the networking dependency for private registries.

15. How do you consume Azure Key Vault secrets in AKS?

Use the Azure Key Vault provider for the Secrets Store CSI Driver add-on (azure-keyvault-secrets-provider). You create a SecretProviderClass listing the vault and objects, mount it as a CSI volume, and optionally sync to a Kubernetes Secret. Authenticate with workload identity rather than a stored client secret. The driver can rotate mounted contents on an interval.

az aks enable-addons -g rg-aks -n aks-prod --addons azure-keyvault-secrets-provider

What the interviewer wants to hear: secrets stay in Key Vault, pods use workload identity, and syncing to Kubernetes Secrets has trade-offs: a Kubernetes Secret is only base64 encoded and is readable by anyone with get-secret RBAC in that namespace, so keep RBAC tight and consider KMS etcd encryption with your own key.

16. What are the authentication and authorization options for the Kubernetes API?

  • Local accounts with Kubernetes RBAC: the default on AKS Standard; certificate-based admin credentials. Not recommended for production.
  • Microsoft Entra authentication with Kubernetes RBAC: users sign in with Entra; you bind Entra users or groups to Roles and ClusterRoles in YAML.
  • Microsoft Entra authentication with Azure RBAC for Kubernetes authorization: you grant built-in Azure roles such as Azure Kubernetes Service RBAC Reader, Writer, Admin and Cluster Admin at cluster or namespace scope through Azure. Preconfigured on AKS Automatic.
az aks update -g rg-aks -n aks-prod --enable-aad --enable-azure-rbac --disable-local-accounts

What the interviewer wants to hear: Entra integration with local accounts disabled, and a choice between YAML-managed and Azure-managed authorisation.

17. How do you monitor an AKS cluster?

Azure Monitor provides Container insights for logs (stdout, stderr, Kubernetes events, inventory) into a Log Analytics workspace, Azure Monitor managed service for Prometheus for metrics, and Azure Managed Grafana or Azure Monitor dashboards with Grafana for visualisation. Control plane logs such as kube-apiserver, kube-audit and cluster-autoscaler are enabled through diagnostic settings. AKS Automatic enables managed Prometheus and Container insights by default when created through the CLI or portal.

What the interviewer wants to hear: logs, metrics and control plane diagnostics are separate, and audit logs are opt-in through diagnostic settings.

Advanced

18. How does Microsoft Entra Workload ID work on AKS?

The cluster's OIDC issuer signs projected service account tokens. You create a user-assigned managed identity (or app registration) and add a federated identity credential that trusts the cluster issuer with subject system:serviceaccount:<namespace>:<name> and audience api://AzureADTokenExchange. The Kubernetes service account carries the annotation azure.workload.identity/client-id, and pods must have the label azure.workload.identity/use: "true". A mutating webhook then injects environment variables and the projected token; the Azure Identity SDK (DefaultAzureCredential or WorkloadIdentityCredential) exchanges it for an Entra token.

Limits to remember: 20 federated credentials per managed identity, a few seconds of propagation after creating one, and service account annotation changes need a pod restart. Workload ID replaces the deprecated pod-managed identity.

What the interviewer wants to hear: OIDC issuer, federated credential subject format, the annotation and the label, and SDK support.

19. Walk through what happens during an AKS node pool upgrade.

  1. AKS adds surge nodes according to --max-surge (default 1; Microsoft recommends 33% for production).
  2. It cordons and drains old nodes, respecting Pod Disruption Budgets, up to the drain timeout (default 30 minutes, configurable from 5 minutes to 24 hours). If the timeout passes with pods still running, the upgrade stops.
  3. It optionally waits for the node soak duration (default 0, maximum 30 minutes).
  4. It reimages the drained nodes, which become the buffer for the next batch.
  5. When finished, it removes the remaining surge nodes.

Surge needs extra VM quota and, with flat Azure CNI, spare subnet IPs. If capacity is short, --max-unavailable upgrades in place without surge (not allowed on system pools), at the cost of more disruption.

az aks nodepool update -g rg-aks --cluster-name aks-prod -n apps \
  --max-surge 33% --drain-timeout 45 --node-soak-duration 5

What the interviewer wants to hear: surge, drain, soak, reimage, and the quota and PDB implications.

20. What are the version upgrade rules?

The control plane must be upgraded first; node pools can never be newer than the control plane. For non-LTS clusters you cannot skip minor versions: 1.29 to 1.30 is allowed, 1.29 to 1.31 is not. Since Kubernetes 1.28 on AKS, the control plane can be up to three minor versions ahead of node pools. You can upgrade the control plane only (--control-plane-only) to validate API compatibility before touching workloads, but not when cluster auto-upgrade is enabled. AKS stops cluster upgrades when it detects usage of deprecated APIs that would break.

What the interviewer wants to hear: sequential minors, control plane first, the skew allowance, and checking deprecated APIs before upgrading.

21. Explain cluster auto-upgrade channels and node OS upgrade channels.

Cluster auto-upgrade channels change the Kubernetes version: none (default on Standard), patch (latest patch of the current minor), stable (latest patch of N-1), rapid (latest supported minor), and the legacy node-image channel that Microsoft no longer recommends.

Node OS upgrade channels update the node image without changing Kubernetes: None, Unmanaged (OS-native updates, you handle reboots), SecurityPatch (AKS-tested security-only patches, sometimes applied live without reimage) and NodeImage (weekly reimage with security and bug fixes; default for new Standard clusters since API version 2023-06-01).

Each has its own maintenance configuration: aksManagedAutoUpgradeSchedule and aksManagedNodeOSUpgradeSchedule. Microsoft recommends windows of at least four hours.

What the interviewer wants to hear: two separate channels with two schedules, and that stable plus a maintenance window keeps you inside support.

22. Compare private clusters, API server VNet integration and authorized IP ranges.

  • Authorized IP ranges: the API server stays public but only accepts listed source IPs. Simple, but the endpoint is still on the internet.
  • Private cluster: the API server is reached through a private endpoint in your VNet with a private DNS zone. You need private connectivity (VPN, ExpressRoute, jump box or self-hosted agents) for kubectl and pipelines.
  • API server VNet integration: projects the API server into a delegated subnet in your VNet so nodes talk to it privately without a private link or tunnel; it can be public or private. It is preconfigured on AKS Automatic.

What the interviewer wants to hear: the trade-off between exposure and operational complexity, and the DNS and CI/CD consequences of a private API.

23. What egress (outbound) types does AKS support?

Microsoft documents loadBalancer (default; egress through a public IP on the Standard Load Balancer), managedNATGateway (for AKS-managed VNets), userAssignedNATGateway (for bring-your-own VNets), userDefinedRouting (you supply a 0.0.0.0/0 route to a firewall or NVA), and none and block for network-isolated clusters (block is in preview). Outbound type can now be changed after cluster creation for supported paths, but it changes egress IPs and disrupts connections.

NAT gateway gives more SNAT ports than a load balancer with few IPs, which matters for chatty workloads. userDefinedRouting is the usual choice for hub-and-spoke designs with Azure Firewall.

What the interviewer wants to hear: when to pick each, SNAT exhaustion awareness, and firewall rule updates when the egress IP changes.

24. What are deployment safeguards?

Deployment safeguards use Azure Policy to enforce Kubernetes best practices at admission, such as requiring resource requests and limits, liveness and readiness probes, no latest image tags and Pod Security Standards. They run in warning or enforcement mode on Standard; on AKS Automatic they are preconfigured in enforce mode along with baseline Pod Security Standards. They are built on Azure Policy for Kubernetes (Gatekeeper).

What the interviewer wants to hear: policy at admission time and the difference between warn and enforce.

25. How do availability zones work in AKS?

In regions with zones, AKS automatically spreads the control plane across zones. Node pools are zone-redundant only if you specify zones for them, and zones are normally chosen when the pool is created, so plan them up front. The cluster autoscaler balances across zones. Workloads still need topology spread constraints or anti-affinity to spread replicas, and stateful pods using zonal Azure Disks are pinned to the zone their disk lives in unless you use zone-redundant storage disk SKUs.

What the interviewer wants to hear: control plane zoning is automatic, node pool zoning is a creation-time decision, and storage can pin pods to a zone.

26. What is a Pod Disruption Budget, and how does it interact with upgrades?

A PDB limits how many pods of an application can be voluntarily evicted at once, for example minAvailable: 2. AKS honours PDBs when draining nodes during upgrades. A PDB that can never be satisfied (for example maxUnavailable: 0, or minAvailable equal to the replica count) blocks the drain until the drain timeout, and the upgrade fails. Note that a platform-initiated upgrade on an unsupported version can override a blocking PDB.

apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
  name: web-pdb
spec:
  maxUnavailable: 1
  selector:
    matchLabels:
      app: web

What the interviewer wants to hear: PDBs protect availability but must allow at least one eviction.

Scenario-based

27. A cluster on Azure CNI Node Subnet can't scale: new pods stay Pending and nodes fail to provision. What is wrong?

With Node Subnet (legacy flat networking), every pod takes a VNet IP from the node subnet, and AKS pre-allocates IPs per node based on max pods. A /24 subnet runs out fast, so scale-out and surge nodes cannot get addresses. Check the subnet's free IPs and the events on the pending pods and the VMSS.

Short term, add a larger subnet in a new node pool. Long term, move to Azure CNI Overlay, which takes pod IPs from a separate CIDR. Microsoft documents an upgrade path to Overlay; plan it as a maintenance change.

What the interviewer wants to hear: IP planning is a first-class AKS concern, and Overlay is the fix.

28. An upgrade has been stuck for 30 minutes on one node and then failed. What do you do?

Check events with kubectl get events --field-selector reason=Drain and look for pods that cannot be evicted. Usually a PDB allows zero disruptions, a pod has no controller, or a pod uses local storage with a long termination grace period. Fix the PDB or scale the deployment so one replica can move, then rerun the upgrade (a subsequent PUT resumes it). For long-running jobs, raise the drain timeout rather than deleting pods.

What the interviewer wants to hear: drain timeout behaviour and that you fix the root cause rather than force-delete pods.

29. A microservice needs a database password stored in Key Vault. The security team forbids secrets in Git or Kubernetes YAML. Design it.

Enable the OIDC issuer and workload identity. Create a user-assigned managed identity, a federated credential for the service account, and grant Key Vault Secrets User on that vault only. Mount the secret with the Secrets Store CSI driver using a SecretProviderClass that references the identity's client ID, or have the app read Key Vault directly with DefaultAzureCredential. Better still, if the database supports Entra authentication (Azure SQL, Azure Database for PostgreSQL), drop the password entirely and connect with the workload identity token.

What the interviewer wants to hear: workload identity, least-privilege role on one vault, and passwordless database access as the best option.

30. Finance asks you to cut AKS costs by 30% without hurting production. What would you look at?

  • Right-size requests using VPA recommendations and Container insights data; over-requested CPU is the most common waste.
  • Enable the cluster autoscaler or node auto-provisioning so nodes follow demand.
  • Move interruptible work (batch, CI agents, dev) to Spot node pools with tolerations; Spot has no SLA and can be evicted.
  • Stop non-production clusters out of hours (az aks stop), noting clusters with NAP cannot be stopped.
  • Use KEDA to scale idle event consumers to zero.
  • Check for oversized disks, idle public IPs and load balancers in the node resource group.
  • Consider Azure reservations or savings plans for the steady baseline.

What the interviewer wants to hear: data-driven right-sizing first, then autoscaling and Spot. Our FinOps interview questions cover the cost side in depth.

31. Five teams will share one cluster. How do you isolate them?

Give each team a namespace with ResourceQuotas and LimitRanges, default-deny NetworkPolicies, and Entra group-based RBAC scoped to the namespace (Azure RBAC for Kubernetes can assign roles at namespace scope). Apply deployment safeguards and Pod Security Standards. Use separate node pools with taints if teams need different hardware or stronger separation. Managed namespaces can pre-package quotas, network policies and labels. If teams do not trust each other, Microsoft's guidance is separate clusters, because namespaces are a soft boundary and the shared ingress controller is not a security boundary.

What the interviewer wants to hear: layered soft multitenancy, and knowing when to say "separate clusters".

32. Your cluster uses the application routing add-on with NGINX Ingress. What is your migration plan?

Inventory every Ingress, its annotations and snippets. Pick a target: the application routing Gateway API implementation, Application Gateway for Containers, or Istio Gateway API ingress. Check Microsoft's list of Gateway API limitations, because some NGINX features (body size limits, Lua, some rate limiting) do not map directly. Convert Ingress objects to Gateway and HTTPRoute resources, run both side by side on separate IPs, shift DNS gradually, then remove the old controller. Microsoft's security patch support for the add-on's NGINX resources was stated as running through November 2026, so this should already be in progress.

What the interviewer wants to hear: inventory, feature gap check, parallel run and DNS cutover.

33. A cluster is two minor versions behind and the oldest supported version is about to drop out. How do you catch up safely?

You must go one minor at a time. Run az aks get-upgrades, scan for removed APIs with a tool such as kube-no-trouble (kubent), and fix manifests and Helm charts. Upgrade a non-production cluster first. Then upgrade the production control plane one minor, validate, upgrade node pools, and repeat for the next minor. Afterwards enable the stable auto-upgrade channel with a maintenance window so it does not happen again. If you wait too long, the cluster enters platform support and, from June 2027 per Microsoft's docs, may be upgraded by the platform on Microsoft's schedule.

What the interviewer wants to hear: sequential upgrades, API deprecation checks and preventing recurrence.

Architecture and design

34. Describe a production AKS architecture for a regulated enterprise.

  • Hub-and-spoke VNets: AKS in a spoke, Azure Firewall in the hub, userDefinedRouting egress through the firewall with FQDN rules for required AKS endpoints.
  • Private cluster or API server VNet integration; CI/CD through self-hosted agents inside the network.
  • Azure CNI Overlay with Cilium and default-deny network policies.
  • Standard or Premium tier, zone-redundant system and user pools, separate system pool with the CriticalAddonsOnly taint.
  • Entra integration with Azure RBAC, local accounts disabled, PIM for cluster admin roles.
  • Workload identity for every pod that calls Azure; ACR with private endpoint; Key Vault CSI.
  • Defender for Containers, Azure Policy and deployment safeguards.
  • Managed Prometheus, Container insights, audit logs to Log Analytics.
  • GitOps for cluster configuration, and stable plus NodeImage channels with maintenance windows.

What the interviewer wants to hear: network, identity, security, observability and lifecycle covered together, with reasons.

35. In-place upgrades or blue-green clusters?

In-place upgrades (with surge and PDBs) are simpler and cheaper and fit most clusters. Blue-green means building a new cluster on the new version, deploying workloads through GitOps, shifting traffic with Front Door, Traffic Manager or DNS, then retiring the old cluster. It suits big jumps, risky changes (networking model, OS SKU) or teams that need instant rollback. It requires everything to be declarative and external state (databases, storage) to live outside the cluster.

What the interviewer wants to hear: trade-offs, and that blue-green depends on GitOps and stateless clusters.

36. How would you design AKS for multi-region disaster recovery?

Run clusters in two paired or chosen regions, deployed from the same GitOps repository. Use geo-replicated ACR (Premium SKU), Azure Front Door for global routing with health probes, and data services with their own geo-replication (Azure SQL failover groups, Cosmos DB multi-region, GRS storage). Decide active-active or active-passive based on RTO and RPO. Back up cluster state and persistent volumes with Azure Backup for AKS where needed, and rehearse failover.

What the interviewer wants to hear: the cluster is cattle; data replication and traffic management carry the DR design.

37. How do you set up CI/CD and GitOps for AKS?

Build and scan images in CI (GitHub Actions or Azure Pipelines), authenticating to Azure with OIDC workload identity federation instead of secrets, and push to ACR. Use the Flux GitOps extension (or Argo CD) so clusters pull desired state from Git; promotion between environments becomes a pull request. Keep infrastructure in Terraform or Bicep. Our Terraform interview questions cover the infrastructure-as-code layer.

What the interviewer wants to hear: pull-based deployment, no long-lived credentials, and Git as the audit trail.

38. When would you choose AKS Automatic and when AKS Standard?

Choose Automatic when the team wants production-ready defaults with minimal Kubernetes operations: web apps, APIs and event-driven workloads that fit the preconfigured networking, security and upgrade policies. Choose Standard when you need Windows node pools with full control, a specific CNI or ingress setup, a non-default upgrade channel, custom node pools for specialised hardware, or a platform team that wants fine-grained tuning. Validate any feature you depend on against Microsoft's Automatic versus Standard comparison table.

What the interviewer wants to hear: a requirement-driven choice, not a preference.

Troubleshooting

39. Pods show ImagePullBackOff from ACR. How do you troubleshoot?

  1. kubectl describe pod to read the exact error: 401/403 (authentication), not found (wrong name or tag), or timeout (network).
  2. Run az aks check-acr -g rg-aks -n aks-prod --acr myregistry.azurecr.io, which validates from inside the cluster.
  3. Confirm the kubelet identity has AcrPull on the registry (or re-run --attach-acr).
  4. For private registries, check private endpoint DNS resolution from a node and firewall rules.
  5. Check the image tag exists and the registry is not in a different tenant.

What the interviewer wants to hear: read the error first, then identity, then network.

40. A node shows NotReady. What do you check?

Describe the node for conditions (MemoryPressure, DiskPressure, PIDPressure, NetworkUnavailable) and recent events. Check whether the VMSS instance is running in the portal, whether outbound connectivity from the node to the required AKS endpoints is blocked (a common cause with custom firewalls and UDRs), and node-level logs through kubectl debug node/<name>. AKS node auto-repair will attempt to restart, reimage or redeploy unhealthy nodes. If it recurs, look for kubelet or container runtime issues and oversubscribed nodes without proper requests.

What the interviewer wants to hear: node conditions, egress requirements and auto-repair awareness.

41. Applications intermittently fail on outbound HTTPS calls under load. What could it be?

A frequent cause is SNAT port exhaustion on the load balancer outbound path: many short-lived connections from many pods share a few public IPs. Check the load balancer's SNAT connection metrics. Fixes include connection pooling and keep-alive in the apps, more outbound IPs or allocated ports on the load balancer, or switching egress to NAT gateway, which provides far more SNAT ports per IP. With userDefinedRouting, check the firewall's SNAT capacity and rules instead.

What the interviewer wants to hear: SNAT exhaustion, how to confirm it with metrics, and app-side and platform-side fixes.

42. A pod using workload identity fails to get a token. How do you debug?

  • Is the pod labelled azure.workload.identity/use: "true"? Without it the webhook does not inject anything.
  • Does the pod have AZURE_CLIENT_ID, AZURE_TENANT_ID and AZURE_FEDERATED_TOKEN_FILE environment variables? Read the token path from the variable; Microsoft warns against hard-coding it.
  • Does the federated credential subject exactly match system:serviceaccount:<namespace>:<sa> and the issuer match the cluster's OIDC issuer URL?
  • Is the audience correct? Microsoft documents that using an identity-binding token for direct federation fails with AADSTS700212 because of an audience mismatch.
  • Did you restart the pod after changing service account annotations?
  • When requesting tokens yourself, use the /.default scope format; a raw resource URI can fail.
  • Does the identity have the RBAC role it needs? Role assignments can take up to 10 minutes to propagate.

What the interviewer wants to hear: a checklist from webhook injection to federation match to RBAC.

43. DNS lookups from pods fail or are slow after a node pool upgrade. What do you check?

Check CoreDNS pods and logs in kube-system, and test resolution from a debug pod. If the VNet uses custom DNS servers, make sure they are reachable and forward Azure names (168.63.129.16) correctly. Microsoft's upgrade documentation warns that upgrading an AKS Standard node pool to Kubernetes 1.37 or later can enable LocalDNS if the pool has no explicit LocalDNS profile, which changes the forwarding path; custom DNS servers and the network path must then support both UDP and TCP on port 53. Test with dig +udp and dig +tcp from a node.

What the interviewer wants to hear: CoreDNS, custom DNS forwarding and the LocalDNS TCP requirement.

44. An upgrade fails immediately with a quota error. What happened?

Surge nodes need extra regional vCPU quota (and IPs with flat CNI). For example, five pools of four nodes with 50% max surge need ten extra nodes during the upgrade. Request a quota increase, lower max surge, use --max-unavailable on user pools to upgrade in place, or upgrade pools one at a time. Microsoft also documents a fallback to a surge of one node for agent pools on Kubernetes 1.35 or later when the full surge cannot be met.

What the interviewer wants to hear: surge consumes quota, and you know three ways around it.

Hands-on

45. Create a production-style AKS Standard cluster with Azure CLI.

az aks create -g rg-aks -n aks-prod \
  --tier standard \
  --network-plugin azure --network-plugin-mode overlay \
  --network-dataplane cilium --pod-cidr 192.168.0.0/16 \
  --enable-oidc-issuer --enable-workload-identity \
  --enable-aad --enable-azure-rbac --disable-local-accounts \
  --auto-upgrade-channel stable --node-os-upgrade-channel NodeImage \
  --nodepool-name system --node-count 3 --zones 1 2 3 \
  --nodepool-taints CriticalAddonsOnly=true:NoSchedule \
  --generate-ssh-keys

Then add a user pool for applications and attach ACR.

What the interviewer wants to hear: you can explain every flag and why it is there.

46. Add a Spot node pool and schedule a batch job onto it.

az aks nodepool add -g rg-aks --cluster-name aks-prod -n spot \
  --priority Spot --eviction-policy Delete --spot-max-price -1 \
  --enable-cluster-autoscaler --min-count 0 --max-count 5

AKS adds the label kubernetes.azure.com/scalesetpriority: spot and the taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, so the job needs a matching toleration and node affinity:

tolerations:
  - key: "kubernetes.azure.com/scalesetpriority"
    operator: "Equal"
    value: "spot"
    effect: "NoSchedule"
affinity:
  nodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
        - matchExpressions:
            - key: "kubernetes.azure.com/scalesetpriority"
              operator: In
              values:
                - "spot"

A Spot pool cannot be the default pool, its priority and max price cannot be changed later, and Spot pool upgrades cordon and evict without surge nodes.

What the interviewer wants to hear: the taint and label, and the Spot limitations.

47. Configure workload identity for a service account end to end.

ISSUER=$(az aks show -g rg-aks -n aks-prod --query "oidcIssuerProfile.issuerUrl" -o tsv)
az identity create -g rg-aks -n id-orders
CLIENT_ID=$(az identity show -g rg-aks -n id-orders --query clientId -o tsv)

kubectl create namespace orders
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: ServiceAccount
metadata:
  name: orders-sa
  namespace: orders
  annotations:
    azure.workload.identity/client-id: "$CLIENT_ID"
EOF

az identity federated-credential create -g rg-aks \
  --name orders-fic --identity-name id-orders \
  --issuer "$ISSUER" \
  --subject system:serviceaccount:orders:orders-sa \
  --audience api://AzureADTokenExchange

In the Deployment, set serviceAccountName: orders-sa and the pod label azure.workload.identity/use: "true", then grant the identity the Azure role it needs.

What the interviewer wants to hear: issuer, identity, annotated service account, federated credential, pod label, RBAC.

48. Check available upgrades and upgrade only the control plane.

az aks get-upgrades -g rg-aks -n aks-prod -o table
kubent    # scan for deprecated APIs first
az aks upgrade -g rg-aks -n aks-prod --kubernetes-version <next-minor-patch> --control-plane-only
az aks nodepool upgrade -g rg-aks --cluster-name aks-prod -n apps --kubernetes-version <same-version>
kubectl get events --field-selector reason=Upgrade

Remember that --control-plane-only is not allowed when a cluster auto-upgrade channel is set, and Spot pools cannot be upgraded together with the control plane.

What the interviewer wants to hear: check, scan, control plane, validate, then node pools.

How to prepare for an AKS interview

  • Build a small cluster with Azure CNI Overlay and Cilium, enable workload identity, and read a Key Vault secret from a pod.
  • Run a node pool upgrade with a deliberately strict PDB and watch it fail, then fix it.
  • Deploy an app through Gateway API rather than Ingress.
  • Practise explaining the support policy and the dates in this guide, and say you would confirm them on the AKS release tracker.
  • Delete your test resources afterwards; AKS clusters and their load balancers keep billing.

See the DevOps interview questions hub for the wider CI/CD and infrastructure toolchain.

Sources

Prepare with Cloud Soft Solutions

Cloud Soft Solutions runs Azure, DevOps and Kubernetes training in our Ameerpet, Hyderabad classroom and online. AKS sessions include hands-on labs on cluster creation, Azure CNI Overlay, workload identity, upgrades with PDBs, Spot pools, ACR integration and troubleshooting, followed by mock interviews that use scenarios like the ones above. You practise explaining your decisions out loud, which is what AKS interview panels look for.

📞 Call +91 96660 19191 · +91 99496 16388 · WhatsApp
Cloud Soft Solutions, 513, 5th Floor, Aditya Enclave, Nilagiri Block, beside Ameerpet Metro Station, Ameerpet, Hyderabad 500016, Telangana, India

Frequently Asked Questions

What uptime SLA does AKS provide?
The Standard and Premium tiers include a financially backed uptime SLA for the Kubernetes API server: 99.95% with availability zones and 99.9% without. The Free tier has no financially backed SLA.

How many Kubernetes versions does AKS support?
AKS supports three GA minor versions: the latest (N) and the two previous minor versions (N-1 and N-2). An N-3 version gets limited platform support with a 60-day grace period.

Can you skip Kubernetes minor versions when upgrading AKS?
Not on non-LTS clusters. Upgrades must go one minor version at a time, for example 1.29 to 1.30 and then 1.30 to 1.31. LTS clusters can move between LTS versions subject to version-skew checks.

Which networking option does Microsoft recommend for most AKS clusters?
Microsoft recommends Azure CNI Overlay for most scenarios. It assigns pod IPs from a separate CIDR, which conserves VNet address space. Kubenet is legacy and retires on 31 March 2028.

What is the default max surge for AKS node pool upgrades?
AKS surges one extra node by default. Microsoft recommends a max surge of 33% for production node pools, and surge nodes need extra VM quota.

How do pods in AKS access Azure resources without secrets?
Pods use Microsoft Entra Workload ID. The cluster OIDC issuer signs service account tokens, a federated identity credential on a managed identity trusts them, and the Azure Identity SDK exchanges them for Entra tokens.

Share𝕏inf✉
EnrollWhatsAppCall us