ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 167 - XK0-005 discussion

Report
Export

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?

A.
Comment out the /opt/app filesystem in /etc/fstab and reboot.
Answers
A.
Comment out the /opt/app filesystem in /etc/fstab and reboot.
B.
Reformat the /opt/app filesystem and reboot.
Answers
B.
Reformat the /opt/app filesystem and reboot.
C.
Perform filesystem checks on local filesystems and reboot.
Answers
C.
Perform filesystem checks on local filesystems and reboot.
D.
Trigger a filesystem relabel and reboot.
Answers
D.
Trigger a filesystem relabel and reboot.
Suggested answer: A

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. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 14: Managing Disk Storage, page 456.

asked 02/10/2024
miguel sartori
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first