ExamGecko
Home Home / LPI / 101-500

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

Question list
Search
Search

Which of the following commands enables the setuid (suid) permission on the executable /bin/foo?

A.
chmod 1755 /bin/foo
A.
chmod 1755 /bin/foo
Answers
B.
chmod 4755 /bin/foo
B.
chmod 4755 /bin/foo
Answers
C.
chmod u-s /bin/foo
C.
chmod u-s /bin/foo
Answers
D.
chmod 755+s /bin/foo
D.
chmod 755+s /bin/foo
Answers
Suggested answer: B

Which of the following options must be passed to a filesystem's entry in /etc/fstab in order to mount the file system without root privileges?

A.
auto
A.
auto
Answers
B.
norestrict
B.
norestrict
Answers
C.
noauto
C.
noauto
Answers
D.
user
D.
user
Answers
Suggested answer: D

Which permissions and ownership should the file /etc/passwd have?

A.
-rw-------1 rootroot531 Jun 5 22:45 /etc/passwd
A.
-rw-------1 rootroot531 Jun 5 22:45 /etc/passwd
Answers
B.
-rw-r--r--1 rootroot531 Jun 5 22:45 /etc/passwd
B.
-rw-r--r--1 rootroot531 Jun 5 22:45 /etc/passwd
Answers
C.
-rw-r--r--1 11531 Jun 5 22:45 /etc/passwd
C.
-rw-r--r--1 11531 Jun 5 22:45 /etc/passwd
Answers
D.
-rw-------1 11531 Jun 5 22:45 /etc/passwd
D.
-rw-------1 11531 Jun 5 22:45 /etc/passwd
Answers
Suggested answer: B

Which of the following commands will load a kernel module along with any required dependency modules?

A.
depmod
A.
depmod
Answers
B.
insmod
B.
insmod
Answers
C.
modprobe
C.
modprobe
Answers
D.
module_install
D.
module_install
Answers
E.
loadmod
E.
loadmod
Answers
Suggested answer: C

Which of the following commands instructs SysVinit to reload its configuration file?

A.
reinit
A.
reinit
Answers
B.
initreload
B.
initreload
Answers
C.
telinit 7
C.
telinit 7
Answers
D.
telinit q
D.
telinit q
Answers
E.
init reinit
E.
init reinit
Answers
Suggested answer: D

Which of the following describes the correct order in which the components of the system boot process are started?

A.
BIOS, kernel, bootloader, init system
A.
BIOS, kernel, bootloader, init system
Answers
B.
BIOS, bootloader,kernel, init system
B.
BIOS, bootloader,kernel, init system
Answers
C.
Bootloader, BIOS, kernel, init system
C.
Bootloader, BIOS, kernel, init system
Answers
D.
BIOS, bootloader, init system, kernel
D.
BIOS, bootloader, init system, kernel
Answers
E.
Bootloader, BIOS, init system, kernel
E.
Bootloader, BIOS, init system, kernel
Answers
Suggested answer: B

Where does the BIOS search for a bootloader?

A.
On all connected storage media regardless of the boot device order.
A.
On all connected storage media regardless of the boot device order.
Answers
B.
On all connected storage media in the defined boot device order.
B.
On all connected storage media in the defined boot device order.
Answers
C.
Only on hard disk drives in the defined boot device order.
C.
Only on hard disk drives in the defined boot device order.
Answers
D.
Only on the last added storage media.
D.
Only on the last added storage media.
Answers
E.
The BIOS is not responsible to search for a valid bootloader.
E.
The BIOS is not responsible to search for a valid bootloader.
Answers
Suggested answer: B

CORRECT TEXT

Which command reads and displays the current contents of the Kernel Ring Buffer on the command line? (Specify ONLY the command without any path or parameters.)

A.
dmesg
A.
dmesg
Answers
Suggested answer: A

CORRECT TEXT

Which file in /proc describes the IRQs that are used by various kernel drivers? (Specify the file name only without any path.)

A.
interrupts
A.
interrupts
Answers
Suggested answer: A

CORRECT TEXT

Which SysV init configuration file is commonly used to set the default run level? (Specify the full name of the file, including path.)

A.
inittab
A.
inittab
Answers
Suggested answer: A
Total 246 questions
Go to page: of 25