CompTIA Linux+ (XK0-005) — Question 181
Users are reporting that writes on a system configured with SSD drives have been taking longer than expected, but reads do not seem to be affected. A Linux systems administrator is investigating this issue and working on a solution. Which of the following should the administrator do to help solve the issue?
Answer options
- A. Run the corresponding command to trim the SSD drives.
- B. Use fsck on the filesystem hosted on the SSD drives.
- C. Migrate to high-density SSD drives for increased performance.
- D. Reduce the amount of files on the SSD drives.
Correct answer: A
Explanation
The correct answer is A because running the trim command on SSD drives helps optimize their performance by informing the SSD which blocks of data are no longer in use, allowing for more efficient write operations. Option B is incorrect as fsck is used for checking and repairing filesystems, not specifically for SSD performance issues. Option C does not address the current issue, as simply migrating to high-density SSDs may not resolve the underlying performance problem. Option D may help to some extent, but it does not directly address the need for trimming the SSDs.