ExamGecko
Home Home / LPI / 101-500

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

Question list
Search
Search

List of questions

Search

Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)

A.
shutdown -R 1 now
A.
shutdown -R 1 now
Answers
B.
shutdown -single now
B.
shutdown -single now
Answers
C.
init 1
C.
init 1
Answers
D.
telinit 1
D.
telinit 1
Answers
E.
runlevel 1
E.
runlevel 1
Answers
Suggested answer: C, D

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

A.
/lib/init.so
A.
/lib/init.so
Answers
B.
/sbin/init
B.
/sbin/init
Answers
C.
/etc/rc.d/rcinit
C.
/etc/rc.d/rcinit
Answers
D.
/proc/sys/kernel/init
D.
/proc/sys/kernel/init
Answers
E.
/boot/init
E.
/boot/init
Answers
Suggested answer: B

CORRECT TEXT

Which command will display messages from the kernel that were output during the normal boot sequence?

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

Which of the following commands will write a message to the terminals of all logged in users?

A.
bcast
A.
bcast
Answers
B.
mesg
B.
mesg
Answers
C.
print
C.
print
Answers
D.
wall
D.
wall
Answers
E.
yell
E.
yell
Answers
Suggested answer: D

Which of the following kernel parameters instructs the kernel to suppress most boot messages?

A.
silent
A.
silent
Answers
B.
verbose=0
B.
verbose=0
Answers
C.
nomesg
C.
nomesg
Answers
D.
quiet
D.
quiet
Answers
Suggested answer: D

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?

A.
systemd.target=rescue.target
A.
systemd.target=rescue.target
Answers
B.
systemd.runlevel=rescue.target
B.
systemd.runlevel=rescue.target
Answers
C.
systemd.service=rescue.target
C.
systemd.service=rescue.target
Answers
D.
systemd.default=rescue.target
D.
systemd.default=rescue.target
Answers
E.
systemd.unit=rescue.target
E.
systemd.unit=rescue.target
Answers
Suggested answer: E

The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process.

What does this indicate?

A.
The kernel was unable to execute /bin/init
A.
The kernel was unable to execute /bin/init
Answers
B.
The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk
B.
The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk
Answers
C.
One or more of the filesystems on the hard disk has errors and a filesystem check should be run
C.
One or more of the filesystems on the hard disk has errors and a filesystem check should be run
Answers
D.
The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot process
D.
The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot process
Answers
Suggested answer: B

During a system boot cycle, what is the program that is run after the BIOS completes its tasks?

A.
The bootloader
A.
The bootloader
Answers
B.
The inetd program
B.
The inetd program
Answers
C.
The init program
C.
The init program
Answers
D.
The kernel
D.
The kernel
Answers
Suggested answer: A

You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?

A.
telinit 1
A.
telinit 1
Answers
B.
shutdown -r now
B.
shutdown -r now
Answers
C.
killall -9 inetd
C.
killall -9 inetd
Answers
D.
/bin/netstop --maint
D.
/bin/netstop --maint
Answers
E.
/etc/rc.d/init.d/network stop
E.
/etc/rc.d/init.d/network stop
Answers
Suggested answer: A

CORRECT TEXT

You suspect that a new ethernet card might be conflicting with another device. Which file should you check within the /proc tree to learn which IRQs are being used by which kernel drivers?

A.
interrupts,/proc/interrupts
A.
interrupts,/proc/interrupts
Answers
Suggested answer: A
Total 246 questions
Go to page: of 25