Study. uk . com
  1. Home
  2. All questions
  3. Question 50

CKA study material · question 50 of 1000

An administrator runs swapoff -a but swap returns after a reboot. Which two statements explain and fix this? Choose two.

  1. swapoff -a disables swap only until the next reboot
  2. swapoff needs the --permanent flag to persist
  3. Swap must also be disabled in /etc/fstab or the systemd swap units
  4. The kubelet re-enables swap when it starts
Show the answer

Answer: A. swapoff -a disables swap only until the next reboot
C. Swap must also be disabled in /etc/fstab or the systemd swap units

swapoff is temporary; persistence requires editing whatever configuration enables swap at boot.

Source: Installing kubeadm (Kubernetes) — Swap configuration

Challenge yourself on this topic → Study as cards