ExamGecko
Home Home / LPI / 101-500

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

Question list
Search
Search

The system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run

/bin/sh. What is the usual way to pass this change to the kernel from your boot loader?

A.
Start in runlevel 1.
A.
Start in runlevel 1.
Answers
B.
Pass init=/bin/sh on the kernel parameter line.
B.
Pass init=/bin/sh on the kernel parameter line.
Answers
C.
Pass /bin/sh on the kernel parameter line.
C.
Pass /bin/sh on the kernel parameter line.
Answers
D.
Pass start=/bin/sh on the kernel parameter line.
D.
Pass start=/bin/sh on the kernel parameter line.
Answers
Suggested answer: B

CORRECT TEXT

The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)

A.
bus
A.
bus
Answers
Suggested answer: A

CORRECT TEXT

Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information)

A.
dmesg,/bin/dmesg
A.
dmesg,/bin/dmesg
Answers
Suggested answer: A

After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?

A.
kill -HUP $(pidof grub)
A.
kill -HUP $(pidof grub)
Answers
B.
grub-install
B.
grub-install
Answers
C.
grub
C.
grub
Answers
D.
No action is required
D.
No action is required
Answers
Suggested answer: D

Which of the following commands is used to update the list of available packages when using dpkg based package management?

A.
apt-get update
A.
apt-get update
Answers
B.
apt-get upgrade
B.
apt-get upgrade
Answers
C.
apt-cache update
C.
apt-cache update
Answers
D.
apt-get refresh
D.
apt-get refresh
Answers
E.
apt-cache upgrade
E.
apt-cache upgrade
Answers
Suggested answer: A

Which of the following commands lists the dependencies of a given dpkg package?

A.
apt-cache depends-onpackage
A.
apt-cache depends-onpackage
Answers
B.
apt-cache dependencies package
B.
apt-cache dependencies package
Answers
C.
apt-cache depends package
C.
apt-cache depends package
Answers
D.
apt-cache requires package
D.
apt-cache requires package
Answers
Suggested answer: C

Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?

A.
hidemenu
A.
hidemenu
Answers
B.
splash
B.
splash
Answers
C.
timeout
C.
timeout
Answers
D.
showmenu
D.
showmenu
Answers
Suggested answer: C

What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)

A.
To create RAID 9 arrays.
A.
To create RAID 9 arrays.
Answers
B.
To dynamically change the size of logical volumes.
B.
To dynamically change the size of logical volumes.
Answers
C.
To encrypt logical volumes.
C.
To encrypt logical volumes.
Answers
D.
To create snapshots.
D.
To create snapshots.
Answers
E.
To dynamically create or delete logical volumes.
E.
To dynamically create or delete logical volumes.
Answers
Suggested answer: B, D, E

Which of the following commands updates the linker cache of shared libraries?

A.
mkcache
A.
mkcache
Answers
B.
soconfig
B.
soconfig
Answers
C.
mkldconfig
C.
mkldconfig
Answers
D.
lddconfig
D.
lddconfig
Answers
E.
ldconfig
E.
ldconfig
Answers
Suggested answer: E

Which of the following commands lists all currently installed packages when using RPM package management?

A.
yum --query --all
A.
yum --query --all
Answers
B.
yum --list --installed
B.
yum --list --installed
Answers
C.
rpm --query --all
C.
rpm --query --all
Answers
D.
rpm --list -installed
D.
rpm --list -installed
Answers
Suggested answer: C
Total 246 questions
Go to page: of 25