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
FILL BLANK –
What directory contains configuration files for additional yum repositories? (Specify the full path to the directory.)
When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?
- A . The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.
- B . The command sed did not match anything in that file therefore the output is empty.
- C . When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens itfor reading.
- D . Redirection for shell commands do not work using the > character. It only works using the | character instead.
Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends which of the following signal codes?
- A . 1(SIGHUP)
- B . 2(SIGINT)
- C . 3(SIGQUIT)
- D . 9(SIGKILL)
- E . 15(SIGTERM)
After modifying GNU GRUB’s configuration file, which command must be run for the changes to take effect?
- A . kill -HUP $(pidof grub)
- B . grub-install
- C . grub
- D . No action is required
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
- A . i (lowercase)
- B . P (uppercase)
- C . p (lowercase)
- D . U (uppercase)
- E . u (lowercase)
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
- A . SIGTERM
- B . SIGCONT
- C . SIGSTOP
- D . SIGKILL
- E . SIGINT
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
- A . SIGTERM
- B . SIGCONT
- C . SIGSTOP
- D . SIGKILL
- E . SIGINT
Which of the following commands are valid in the GRUB 2 configuration file? (Choose two.)
- A . menuentry
- B . uefi
- C . pxe-ifconfig
- D . insmod
- E . kpartx
Which of the following commands are valid in the GRUB 2 configuration file? (Choose two.)
- A . menuentry
- B . uefi
- C . pxe-ifconfig
- D . insmod
- E . kpartx
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem’s make/creation time and does NOT generate them as needed? (Choose TWO Answer s.)
- A . ext3
- B . JFS
- C . ext2
- D . XFS
- E . procfs