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 environment variables overrides or extends the list of directories holding shared libraries?
- A . LD_LOAD_PATH
- B . LD_LIB_PATH
- C . LD_LIBRARY_PATH
- D . LD_SHARE_PATH
- E . LD_RUN_PATH
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
Which of the following statements is correct when talking about /proc/?
- A . All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.
- B . All files within /proc/ are read-only and their contents cannot be changed.
- C . All changes to files in /proc/ are immediately recognized by the kernel.
- D . All files within /proc/ are only readable by the root user.
Which of the following command lines creates or, in case it already exists, overwrites a file called data with the output of ls?
- A . ls 3> data
- B . ls >& data
- C . ls > data
- D . ls >> data
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?
- A . By using the command :repeat followed by the number and the command.
- B . By specifying the number right in front of a command such as 4l or 2yj.
- C . By selecting all affected lines using the shift and cursor keys before applying the command.
- D . By issuing a command such as :set repetition=4 which repeats every subsequentcommand 4 times.
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?
- A . By using the command :repeat followed by the number and the command.
- B . By specifying the number right in front of a command such as 4l or 2yj.
- C . By selecting all affected lines using the shift and cursor keys before applying the command.
- D . By issuing a command such as :set repetition=4 which repeats every subsequentcommand 4 times.
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.)
Which of the following commands displays the contents of a gzip compressed tar archive?
- A . gzip archive.tgz | tar xvf
- B . tar ztf archive.tgz
- C . gzip -d archive.tgz | tar tvf
- D . tar cf archive.tgz
What is true regarding the command
ls > files
if files does not exist?
- A . The output of ls is printed to the terminal
- B . files is created and contains the output of ls
- C . An error message is shown and ls is not executed
- D . The command files is executed and receives the output of ls
- E . Any output of ls is discarded
Which of the following commands will mount an already inserted CD-ROM in /dev/sr0 onto an existing directory /mnt/cdrom when issued with root privileges?
- A . mount /dev/cdrom /mnt/cdrom
- B . mount /dev/sr0 /mnt/cdrom
- C . mount Ct cdrom /dev/sr0 /mnt/cdrom
- D . mount Cl cdrom /dev/sr0 /mnt/cdrom
- E . mount Cf /dev/sr0/mnt/cdrom