EX200 Configure local storage Practice Question
A database server experiences high disk I/O wait times. The administrator runs 'iostat -x 1' and sees that the avgqu-sz for /dev/sda is 25 and await is 200 ms. The disk is a single 7200 RPM SATA drive. Which action is most likely to improve performance?
⚠ Common exam trap
Many exam-takers assume software tuning (scheduler, read-ahead) can fix a hardware saturation issue, but Red Hat exams emphasize that when a single spinning disk is the bottleneck, only a hardware upgrade or RAID configuration will improve performance.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Replace the drive with an SSD or add additional drives in RAID 10
The high avgqu-sz (25) and await (200 ms) indicate the single 7200 RPM SATA drive is saturated, as its maximum IOPS is typically around 75-100 random I/O operations per second. Replacing it with an SSD (which can handle thousands of IOPS) or adding drives in RAID 10 (which increases IOPS through parallelism) directly addresses the hardware bottleneck. No software tuning can overcome the physical limitations of a single spinning disk under heavy I/O load.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Increase the read-ahead buffer using blockdev --setra
Why it's wrong here
Raising the read-ahead buffer with blockdev --setra only helps when workloads perform sequential reads, where the kernel can prefetch adjacent blocks. High disk i/o wait in a database environment is usually caused by random reads and writes, where prefetching is useless because the next requested block cannot be predicted. Worse, aggressive read-ahead can issue extra useless reads, increasing queue depth and iowait further, so this does not address the underlying hardware latency.
- ✗
Change the I/O scheduler from CFQ to noop
Why it's wrong here
Switching from CFQ to noop reduces scheduling CPU overhead and simplifies request merging, but it does not increase the physical throughput of a rotating disk. On a single HDD, the dominant component of high await is mechanical seek time and rotational latency, not the policy of the I/O scheduler. Moreover, modern kernels already default to mq-deadline or BFQ for SSDs and NVMe devices, and with slow disks the scheduler is rarely the bottleneck, so this change would have negligible impact.
- ✗
Run 'fsck -f' on the filesystem to check for fragmentation
Why it's wrong here
The fsck utility verifies filesystem metadata integrity and repairs corruption; it does not defragment files or reclaim fragmented blocks. ext4 uses extent-based allocation and delayed allocation, which greatly reduces fragmentation, and even significant fragmentation would not be diagnosed by fsck. High i/o wait is a performance problem related to device latency and queue depth, not to filesystem structural inconsistency, so running fsck -f is both unnecessary and ineffective for this symptom.
- ✓
Replace the drive with an SSD or add additional drives in RAID 10
Why this is correct
Replacing a mechanical drive with an SSD or deploying RAID 10 directly attacks the root cause of high disk i/o wait: excessive per-request latency and insufficient IOPS. SSDs eliminate rotational seek times and provide thousands of IOPS, while RAID 10 combines striping for parallel reads and writes with mirroring for redundancy, allowing multiple spindles to serve requests concurrently. This decreases both service time and queue depth, thereby reducing the await metric and iowait experienced by the database server.
Quick reference
RAID Level Comparison
| RAID Level | Min Disks | Fault Tolerance | Read | Write | Usable Capacity |
|---|---|---|---|---|---|
| RAID 0 | 2 | None | Excellent | Excellent | 100% |
| RAID 1 | 2 | 1 disk | Good | Moderate | 50% |
| RAID 5 | 3 | 1 disk | Good | Moderate | 67–94% |
| RAID 6 | 4 | 2 disks | Good | Lower | 50–88% |
| RAID 10 | 4 | 1 disk per mirror | Excellent | Good | 50% |
RAID is not a backup strategy — it protects against disk failure but not against accidental deletion, ransomware, or site-level events.
Go deeper
Related to this question
About these practice questions
This EX200 question is part of Courseiva's 127-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This EX200 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX200 exam.