ExamGecko
Home / LPI / 101-500 / List of questions
Ask Question

LPI 101-500 Practice Test - Questions Answers, Page 12

List of questions

Question 111

Report Export Collapse

CORRECT TEXT

The /etc/_______ file lists currently mounted devices.

mtab
mtab
Suggested answer: A
asked 18/09/2024
Shoban Babu
45 questions

Question 112

Report Export Collapse

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?

foo and bar would both be removed.
foo and bar would both be removed.
foo would be removed while bar would remain accessible.
foo would be removed while bar would remain accessible.
foo would be removed. bar would still exist but would be unusable.
foo would be removed. bar would still exist but would be unusable.
Both foo and bar would remain accessible.
Both foo and bar would remain accessible.
The user is prompted whether bar should be removed, too.
The user is prompted whether bar should be removed, too.
Suggested answer: B
asked 18/09/2024
Carole Pie
44 questions

Question 113

Report Export Collapse

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.)

By creating an ACL redirection from the old to the new path of the data.
By creating an ACL redirection from the old to the new path of the data.
By creatinga hard link from the old to the new path of the data.
By creatinga hard link from the old to the new path of the data.
By creating a symbolic link from the old to the new path of the data.
By creating a symbolic link from the old to the new path of the data.
By running the command touch on the old path.
By running the command touch on the old path.
By mounting the new filesystem on the original path of the data.
By mounting the new filesystem on the original path of the data.
Suggested answer: C, E
asked 18/09/2024
Kevin Intriago
38 questions

Question 114

Report Export Collapse

Which of the following commands changes the ownership of file.txt to the user dan and the group staff?

chown dan/staff file.txt
chown dan/staff file.txt
chown dan:staff file.txt
chown dan:staff file.txt
chown -u dan -g staff file.txt
chown -u dan -g staff file.txt
chown dan -g staff file.txt
chown dan -g staff file.txt
Suggested answer: B
asked 18/09/2024
Farrah Colson
39 questions

Question 115

Report Export Collapse

Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?

chmod u=rwx,go=rx /bin/foo
chmod u=rwx,go=rx /bin/foo
chmod o+rwx,a+rx /bin/foo
chmod o+rwx,a+rx /bin/foo
chmod 577 /bin/foo
chmod 577 /bin/foo
chmod 775 /bin/foo
chmod 775 /bin/foo
Suggested answer: A
asked 18/09/2024
Rebekah Midkiff
42 questions

Question 116

Report Export Collapse

Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH?

apropos
apropos
which
which
find
find
query
query
whereis
whereis
Suggested answer: C
asked 18/09/2024
DIPESH JAISWAL
39 questions

Question 117

Report Export Collapse

What does the command mount -a do?

It ensures that all file systems listed with the option noauto in /etc/fstab are mounted.
It ensures that all file systems listed with the option noauto in /etc/fstab are mounted.
It shows all mounted file systems that have been automatically mounted.
It shows all mounted file systems that have been automatically mounted.
It opens an editor with root privileges and loads /etc/fstab for editing.
It opens an editor with root privileges and loads /etc/fstab for editing.
It ensuresthat all file systems listed with the option auto in /etc/fstab are mounted.
It ensuresthat all file systems listed with the option auto in /etc/fstab are mounted.
It ensures that all file systems listed in /etc/fstab are mounted regardless of their options.
It ensures that all file systems listed in /etc/fstab are mounted regardless of their options.
Suggested answer: D
asked 18/09/2024
Martynas Abrutis
43 questions

Question 118

Report Export Collapse

Which of the following settings for umask ensures that new files have the default permissions -rw-r--- -- ?

0017
0017
0640
0640
0038
0038
0027
0027
Suggested answer: D
asked 18/09/2024
Nick Daniel
41 questions

Question 119

Report Export Collapse

Which of the following is the device file name for the second partition on the only SCSI drive?

/dev/hda1
/dev/hda1
/dev/sda2
/dev/sda2
/dev/sd0a2
/dev/sd0a2
/dev/sd1p2
/dev/sd1p2
Suggested answer: B
asked 18/09/2024
Thomas Schmitt
49 questions

Question 120

Report Export Collapse

In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)

cat /proc/self/mounts
cat /proc/self/mounts
free
free
mount
mount
lsmounts
lsmounts
cat /proc/filesystems
cat /proc/filesystems
Suggested answer: A, C
asked 18/09/2024
Evans Sajere
24 questions
Total 246 questions
Go to page: of 25