nerdexam
CompTIA

XK0-005 · Question #1409

A systems administrator is investigating an issue in which one of the servers is not booting up properly. The journalctl entries show the following: Which of the following will allow the…

The correct answer is A. Comment out the /opt/app filesystem in /etc/fstab and reboot. The fastest way to boot the Linux system to normal mode is to comment out the /opt/app filesystem in /etc/fstab and reboot. This will prevent the system from trying to mount the /opt/app filesystem at boot time, which causes an error because the filesystem does not exist or is…

Troubleshooting

Question

A systems administrator is investigating an issue in which one of the servers is not booting up properly. The journalctl entries show the following: Which of the following will allow the administrator to boot the Linux system to normal mode quickly?

Exhibit

XK0-005 question #1409 exhibit

Options

  • AComment out the /opt/app filesystem in /etc/fstab and reboot.
  • BReformat the /opt/app filesystem and reboot.
  • CPerform filesystem checks on local filesystems and reboot.
  • DTrigger a filesystem relabel and reboot.

How the community answered

(40 responses)
  • A
    85% (34)
  • B
    3% (1)
  • C
    8% (3)
  • D
    5% (2)

Explanation

The fastest way to boot the Linux system to normal mode is to comment out the /opt/app filesystem in /etc/fstab and reboot. This will prevent the system from trying to mount the /opt/app filesystem at boot time, which causes an error because the filesystem does not exist or is corrupted. Commenting out a line in /etc/fstab can be done by adding a # symbol at the beginning of the line. Rebooting the system will apply the changes and allow the system to boot normally. Reformatting the /opt/app filesystem will not help to boot the system, as it will erase any data on the filesystem and require manual intervention to create a new filesystem. Performing filesystem checks on local filesystems will not help to boot the system, as it will not fix the missing or corrupted /opt/app filesystem. Triggering a filesystem relabel will not help to boot the system, as it will only change the security context of files and directories according to SELinux policy.

Topics

#Linux boot issues#fstab#Filesystem management#System recovery

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice