ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 154 - XK0-005 discussion

Report
Export

A Linux administrator rebooted a server. Users then reported some of their files were missing. After doing some troubleshooting, the administrator found one of the filesystems was missing. The filesystem was not listed in /etc/f stab and might have been mounted manually by someone prior to reboot. Which of the following would prevent this issue from reoccurring in the future?

A.
Sync the mount units.
Answers
A.
Sync the mount units.
B.
Mount the filesystem manually.
Answers
B.
Mount the filesystem manually.
C.
Create a mount unit and enable it to be started at boot.
Answers
C.
Create a mount unit and enable it to be started at boot.
D.
Remount all the missing filesystems
Answers
D.
Remount all the missing filesystems
Suggested answer: C

Explanation:

The best way to prevent this issue from reoccurring in the future is to create a mount unit and enable it to be started at boot. A mount unit is a systemd unit that defines how and where a filesystem should be mounted. By creating a mount unit for the missing filesystem and enabling it with systemctl enable, the administrator can ensure that the filesystem will be automatically mounted at boot time, regardless of whether it is listed in /etc/fstab or not. Syncing the mount units will not prevent the issue, as it will only synchronize the state of existing mount units with /etc/fstab, not create new ones. Mounting the filesystem manually will not prevent the issue, as it will only mount the filesystem temporarily, not permanently. Remounting all the missing filesystems will not prevent the issue, as it will only mount the filesystems until the next reboot, not after. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 14: Managing Disk Storage, page 457.

asked 02/10/2024
Geoffrey Vd Molen
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first