CompTIA Linux+ XK0-006 (V8) Practice Question

A Linux server that hosts a busy PostgreSQL instance is experiencing very slow query performance during peak traffic. You run top and observe a high I/O wait percentage (%wa) and a load average that rises well above the number of cores. A follow-up check with iostat -x 1 5 shows %util near 100% and an avgqu-sz that frequently exceeds 90 for the only block device, an enterprise-grade SSD. Without changing application code or replacing hardware, which action is most likely to lower the high I/O wait time and improve overall responsiveness?

  • Change the block device's I/O scheduler from CFQ to mq-deadline or none, both recommended for fast SSDs.

  • Disable TCP segmentation and generic offloading features on the network interface.

  • Lower the PostgreSQL shared_buffers setting to reduce memory usage.

  • Increase the kernel's swappiness value so the system begins swapping sooner.

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