XK0-005 · Question #858
XK0-005 Question #858: Real Exam Question with Answer & Explanation
The correct answer is D: echo "vm.nr_hugepage=100" >> /etc/sysctl.conf. {"question_number": 2, "correct_answer": "D", "explanation": "To make kernel parameters persistent across reboots, they must be written to /etc/sysctl.conf (or a file under /etc/sysctl.d/). The command 'echo \"vm.nr_hugepage=100\" >> /etc/sysctl.conf' appends the setting permanen
Question
A new database is installed on a server. To comply with the database vendor requirement, the huge page function should be set permanently. Which of the following commands will set this parameter?
Options
- Asysctl -a "vm.nr_hugepage=100"
- Becho "vm.nr_hiigepage=100" >> /etc/sysconfig/hugepage.conf
- Cecho "nvm.nr_hugepage=100" >> /etc/modprobe.conf
- Decho "vm.nr_hugepage=100" >> /etc/sysctl.conf
Explanation
{"question_number": 2, "correct_answer": "D", "explanation": "To make kernel parameters persistent across reboots, they must be written to /etc/sysctl.conf (or a file under /etc/sysctl.d/). The command 'echo "vm.nr_hugepage=100" >> /etc/sysctl.conf' appends the setting permanently. Option A uses 'sysctl -a' which lists all parameters and its syntax is wrong for setting values. Option B writes to a non-standard path that sysctl does not read. Option C targets /etc/modprobe.conf which is for kernel module parameters, not sysctl tunables.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.