A Linux systems administrator is configuring a new filesystem that needs the capability to be mounted persistently across reboots. Which of the following commands will accomplish this task? (Choose two.)
A.
df -h /data
B.
mkfs.ext4 /dev/sdc1
C.
fsck /dev/sdc1
D.
fdisk -l /dev/sdc1
E.
echo "/data /dev/sdc1 ext4 defaults 0 0" >> /etc/fstab
F.
echo "/dev/sdc1 /data ext4 defaults 0 0" >> /etc/fstab
mkfs.ext4 /dev/sdc1 - This command creates the ext4 filesystem on the device /dev/sdc1.
echo "/dev/sdc1 /data ext4 defaults 0 0" >> /etc/fstab - This command appends a line to the /etc/fstab file that specifies the device to be mounted at a specific mount point persistently across reboots.
After running these commands, the new filesystem will be created and automatically mounted at the specified mount point every time the system reboots.
Answer here is BF
"modify the /etc/fstab text file to automatically mount the new partition by opening it in an editor and adding the following line:
/dev/ xxx 1 /data ext4 defaults 1 2
where xxx is the device name of the storage device"
https://learning.oreilly.com/library/view/mastering-linux-system/9781119794455/b01.xhtml
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
linux_admin
8 months, 4 weeks agoCkl22
10 months, 2 weeks ago