- Home
- All questions
- 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.
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