LPI 101-500 practice test

Exam Title: LPIC-1 Exam 101

Last update: Dec 30 ,2025
Question 1

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
  • B. shutdown -single now
  • C. init 1
  • D. telinit 1
  • E. runlevel 1
Answer:

C,D

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 2

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

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

B

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 3

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

Answer:

dmesg,
/bin/dmesg

Comments
Question 4

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

  • A. bcast
  • B. mesg
  • C. print
  • D. wall
  • E. yell
Answer:

D

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 5

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

  • A. silent
  • B. verbose=0
  • C. nomesg
  • D. quiet
Answer:

D

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 6

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
  • B. systemd.runlevel=rescue.target
  • C. systemd.service=rescue.target
  • D. systemd.default=rescue.target
  • E. systemd.unit=rescue.target
Answer:

E

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 7

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
  • B. The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk
  • C. One or more of the filesystems on the hard disk has errors and a filesystem check should be run
  • D. The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot process
Answer:

B

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 8

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

  • A. The bootloader
  • B. The inetd program
  • C. The init program
  • D. The kernel
Answer:

A

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 9

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
  • B. shutdown -r now
  • C. killall -9 inetd
  • D. /bin/netstop --maint
  • E. /etc/rc.d/init.d/network stop
Answer:

A

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 10

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?

Answer:

interrupts,
/proc/interrupts

Comments
Page 1 out of 24
Viewing questions 1-10 out of 246
Go To
page 2