Lpi 101-500 Practice Exams
Last updated on Oct 22,2026- Exam Code: 101-500
- Exam Name: LPI Linux Administrator - 101 (LPIC-1 101)
- Certification Provider: Lpi
- Latest update: Oct 22,2026
Which of the following commands updates the linker cache of shared libraries?
- A . mkcache
- B . soconfig
- C . mkldconfig
- D . lddconfig
- E . ldconfig
Which of the following are filesystems which can be used on Linux root partitions? (Choose two.)
- A . NTFS
- B . ext3
- C . XFS
- D . VFAT
- E . swap
What does the command grub-install /dev/sda do?
- A . GRUB creates partitions on the device/dev/sdato be used with Linux.
- B . GRUB sets the default BIOS boot device to/dev/sda.
- C . GRUB installs all required files and configures the boot loader on device/dev/sda.
- D . GRUB recompiles the Linux Kernel and installs it on the Master Boot Record of device/dev/sda.
Topic 4, Devices, Linux Filesystems, Filesystem HierachyStandard
How many fields are in a syntactically correct line of /etc/fstab?
- A . 3
- B . 4
- C . 5
- D . 6
- E . 7
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.
- B . Pass init=/bin/sh on the kernel parameter line.
- C . Pass /bin/sh on the kernel parameter line.
- D . Pass start=/bin/sh on the kernel parameter line.
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.
- B . Pass init=/bin/sh on the kernel parameter line.
- C . Pass /bin/sh on the kernel parameter line.
- D . Pass start=/bin/sh on the kernel parameter line.
Which of the following files, located in the user home directory, is used to store the Bash history?
- A . .bash_history
- B . .bash_histfile
- C . .history
- D . .bashrc_history
- E . .history_bash
What is the difference between the i and a commands of the vi editor?
- A . i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modesautomatically.
- B . i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.
- C . i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.
- D . i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.
Which of the following commands enables the setuid (suid) permission on the executable /bin/foo?
- A . chmod 1755 /bin/foo
- B . chmod 4755 /bin/foo
- C . chmod u-s /bin/foo
- D . chmod 755+s /bin/foo
Which of the following commands enables the setuid (suid) permission on the executable /bin/foo?
- A . chmod 1755 /bin/foo
- B . chmod 4755 /bin/foo
- C . chmod u-s /bin/foo
- D . chmod 755+s /bin/foo