CompTIACompTIA
XK0-005 · Question #1354
XK0-005 Question #1354: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1354. The question stem and answer options stay visible for context.
System Management
Question
As part of the requirements for installing a new application, the swappiness parameter needs to be changed to 0. This change needs to persist across reboots and be applied immediately. A Linux systems administrator is performing this change. Which of the following steps should the administrator complete to accomplish this task?
Options
- Aecho "vm.swappiness=0" >> /etc/sysctl.conf && sysctl -p
- Becho "vm.swappiness=0" >> /proc/meminfo && sysctl -a
- Csysctl -v >> /proc/meminfo && echo "vm.swapiness=0"
- Dsysctl -h "vm.swapiness=0" && echo /etc/vmswapiness
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Kernel parameters#sysctl#System configuration#Persistence