CompTIA Server+ SK0-005 Practice Question

During maintenance on a CentOS 9 file server you replaced a failed backplane and re-seated all drives. After the next reboot the system drops into emergency mode and displays:

mount: /data: wrong fs type, bad option, bad superblock, missing codepage or helper program, or other error systemd: data.mount: Failed with result "exit-code".

Before the maintenance an ext4 volume on /dev/sdb1 was automatically mounted at /data. Running lsblk -f now shows: /dev/sdb1 ext4 fb3448d9-1a9d-4c30-9d1e-89cfa7320d72 /data (not mounted)

The /etc/fstab file still contains: UUID=ab12c3de-45f6-7890-1234-56789abcdeff /data ext4 defaults 0 2

Which action will MOST quickly restore a normal boot and make /data available without jeopardizing the existing data?

  • Comment out the /data entry in /etc/fstab and reboot, letting administrators mount the partition manually when required.

  • Run fsck -f on /dev/sdb1 and then use tune2fs -U ab12c3de-45f6-7890-1234-56789abcdeff to reset the original UUID before rebooting.

  • Re-create the filesystem on /dev/sdb1 with mkfs.ext4, then restore the data from backup before rebooting.

  • Replace the stale UUID in /etc/fstab with fb3448d9-1a9d-4c30-9d1e-89cfa7320d72 and run mount -a to verify the change.

CompTIA Server+ SK0-005
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.

SAVE $47
$390.00 $343.00
SAVE $53
CompTIA Server+ Voucher with Retake
v5 / SK0-005
Includes Retake
$439.00 $386.00
Bash, the Crucial Exams Chat Bot
AI Bot