CompTIA Linux+ XK0-006 (V8) Practice Question

An 8-core Linux web-application server has become sluggish during peak traffic. The administrator gathers the following information:

$ uptime
 15:32:08 up 7 days,  3 users,  load average: 17.8, 18.0, 18.2

$ mpstat -P ALL 1 5 | awk '/Average/ && $2 ~ /[0-7]/ {print $2,$12}'
CPU  %idle
0    0.9
1    1.2
2    1.0
3    0.7
4    1.1
5    1.0
6    0.8
7    0.9

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave

Management asks for a quick, online change that can immediately ease the CPU saturation without adding hardware. Which action is the most appropriate first step?

  • Disable simultaneous multithreading (SMT/Hyper-Threading) in the firmware at the next maintenance window.

  • Run cpupower frequency-set --governor performance to switch all CPUs from powersave to performance.

  • Remount /tmp as a tmpfs to move temporary files into RAM.

  • Increase the net.core.somaxconn kernel parameter to enlarge the TCP listen backlog.

CompTIA Linux+ XK0-006 (V8)
Troubleshooting
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot