CompTIA Study Materials
AWS Study Materials
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

Free CompTIA Linux+ XK0-005 Practice Question

A system administrator has noticed that applications are having trouble accessing configuration files stored on a mounted filesystem. Upon inspection, the system logs indicate read errors on the filesystem in question. The administrator suspects filesystem corruption. Which command should be executed to check and repair the filesystem while it’s unmounted, preventing further damage or potential data loss?

  • fdisk /dev/sda2

  • fsck /dev/sda2

  • mkfs -t ext4 /dev/sda2

  • e2fsck /dev/sda2

This question is for objective:
Troubleshooting
Your Score:
Troubleshooting
System Management
Security
Scripting, Containers, and Automation
SAVE $45