Q23 AKS Domain 1 · 20–25% of exam

A node pool needs to be upgraded to a newer OS image without upgrading the Kubernetes version. Which command does this?

  1. A az aks upgrade --kubernetes-version current
  2. B az aks nodepool upgrade --node-image-only (correct answer)
  3. C kubectl drain node && apt upgrade
  4. D az aks update --os-upgrade

Shortcut: az aks nodepool upgrade --node-image-only updates only the OS image (security patches) on nodes without changing the Kubernetes version.