How many fields are in a syntactically correct line of /etc/fstab?
Show answerHide answer
Correct answer: D
6
LPIC-1 Exam 101, Part 1 of 2, version 5.0
Free 101-500 questions on Topic 4, Devices, Linux Filesystems, Filesystem HierachyStandard, each with the answer and an explanation.
20 questions · 33 minutes · free, no sign-up
How many fields are in a syntactically correct line of /etc/fstab?
Correct answer: D
6
Which command will uninstall a package but leave its configuration files in case the package is re-installed?
Correct answer: D
dpkg –r pkgname
Which of the following statements describes a difference between GNU GRUB Legacy and GRUB 2?
Correct answer: B
Partition numbers start at 0 in GRUB Legacy and1in GRUB 2.
Which of the following commands will load a kernel module along with any required dependency modules?
Correct answer: C
modprobe
After moving data to a new filesystem, how can the former path of the data be kept intact in
order to avoid reconfiguration of existing applications? (Choose TWO correct answers.)
Correct answer: C, E
By creating a symbolic link from the old to the new path of the data. By mounting the new filesystem on the original path of the data.
Which command is used to query information about the available packages on a Debian system?
Correct answer: A
apt-cache
After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?
Correct answer: B
foo would be removed while bar would remain accessible.
Which of the following settings for umask ensures that new files have the default
permissions -rw-r--- ?
Correct answer: D
0027
Following the Filesystem Hierarchy Standard (FHS), where should binaries that have been compiled by the system administrator be placed in order to be made available to all users on the system?
Answer: /usr/local/bin/
Which of the following commands will display the inode usage of each mounted filesystem?
Correct answer: B
df –i
Full-length mocks with the same number of questions and the same time limit as the real 101-500 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.
Get full 101-500 mock exam