CompTIA Linux+ (XK0-005) — Question 72

A Linux system is failing to boot. The following error is displayed in the serial console:
[[1;33mDEPEND[Om] Dependency failed for /data.
[[1;33mDEPEND[Om] Dependency failed for Local File Systems
...
Welcome to emergency mode! After logging in, type "journalctl -xb" to viewsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.
Give root password for maintenance
(or type Control-D to continue}
Which of the following files will need to be modified for this server to be able to boot again?

Answer options

Correct answer: C

Explanation

The correct answer is /etc/fstab, as this file contains the definitions for file systems that the Linux system needs to mount at boot time. If there are issues with the entries in /etc/fstab, it can prevent the system from booting properly. The other options are either not related to the boot process or contain incorrect paths that do not affect system startup.