LPIC-2 Exam 201 (Linux Engineer) — Question 33

Which single command simulates a failed device within a RAID 5 array?

Answer options

Correct answer: D

Explanation

The correct command to simulate a failed device in a RAID 5 array is 'mdadm --fail /dev/md0 /dev/sdc1', as it specifically marks the device as failed. The other options either remove the device, zero the superblock, or mark the device as offline, but they do not simulate a failure in the same manner.