Cluster Maintenance: OS Upgrades & Kubeadm Version Upgrades Quiz

Home โ€บ Kubernetes CKA & CKAD โ€บ Cluster Maintenance: OS Upgrades & Kubeadm Version Upgrades
๐Ÿ”ง Kubernetes (CKA & CKAD) – Cluster Maintenance: OS Upgrades & Kubeadm Version Upgrades
20 questions  ยท  15 min timer  ยท  Explanations included  ยท  Free

Kubernetes Cluster Maintenance Quiz โ€” OS Upgrades & Kubeadm Version Upgrades

Test your knowledge of Kubernetes cluster maintenance โ€” one of the most heavily tested domains in the CKA (Certified Kubernetes Administrator) exam. This quiz covers node drain and cordon strategies, kubeadm upgrade workflows, OS-level upgrade procedures, and safely bringing nodes back online.

๐Ÿ“Œ What this quiz covers:
  • kubectl drain vs kubectl cordon โ€” when to use each
  • Kubeadm upgrade plan and apply sequence
  • Upgrading control plane vs worker nodes
  • OS upgrade best practices without losing workloads
  • Uncordoning nodes and verifying cluster health post-upgrade
โฑ 15 min โ“ 20 questions ๐ŸŽฏ CKA Exam Prep ๐Ÿ’ก Explanations included ๐Ÿ†“ Free
1. 
Which component is responsible for managing the lifecycle of pods and containers on a Kubernetes node?

1 out of 20

Kubernetes Cluster Maintenance โ€” Key Concepts for CKA

Node Drain vs Cordon

kubectl cordon <node> marks a node as unschedulable โ€” no new pods will be placed on it, but existing pods continue running. kubectl drain <node> goes further: it cordons the node AND evicts all running pods gracefully, making it safe to perform OS-level maintenance or reboots. Always use --ignore-daemonsets and --delete-emptydir-data flags when draining in practice.

Kubeadm Upgrade Sequence

The CKA exam frequently tests the exact upgrade order. Always follow this sequence:

  1. Upgrade kubeadm on the control plane node first
  2. Run kubeadm upgrade plan to verify available versions
  3. Run kubeadm upgrade apply v1.X.Y
  4. Upgrade kubelet and kubectl on control plane
  5. Drain each worker node, upgrade kubeadm + kubelet, then uncordon

Common CKA Exam Mistakes

  • Forgetting to uncordon the node after maintenance
  • Upgrading worker nodes before the control plane
  • Skipping upgrade plan and going straight to apply
  • Not restarting kubelet after upgrading it (systemctl restart kubelet)

Ready to test more Kubernetes concepts?

โ† Back to All Kubernetes Quizzes
Scroll to Top