Lpi 101-500 Practice Exams
Last updated on Apr 07,2025- Exam Code: 101-500
- Exam Name: LPI Linux Administrator - 101 (LPIC-1 101)
- Certification Provider: Lpi
- Latest update: Apr 07,2025
What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
- A . The command is SetUID and it will be executed with the effective rights of the owner.
- B . The command will be executed with the effective rights of the group instead of the owner.
- C . The execute flag is not set for the owner. Therefore the SetUID flag is ignored.
- D . The command will be executed with the effective rights of the owner and group.
Which of the following is true for hard linked files? (Choose three.)
- A . The output ofstatwill reporthardinstead ofregular file.
- B . The hard linked files have the same permissions and owner.
- C . The hard linked files share the same inode.
- D . The hard linked files are indicated by a -> when listed withls -1.
- E . The hard linked files must be on the same filesystem.
Which of the following commands list all files and directories within the /tmp/ directory and its subdirectories which are owned by the user root? (Choose two.)
- A . find /tmp Cuser root -print
- B . find Cpath /tmp Cuid root
- C . find /tmp Cuid root -print
- D . find /tmp Cuser root
- E . find Cpath /tmp Cuser root -print
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
- A . fmt Cf 1,4 /etc/passwd
- B . cut Cd : -f 1,4 /etc/passwd
- C . sort Ct : -k 1,4 /etc/passwd
- D . paste Cf 1,4 /etc/passwd
- E . split Cc 1,4 /etc/passwd
Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives?
- A . 82
- B . 83
- C . 8e
- D . fd
- E . 7
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?
- A . kill -PIPE 123
- B . kill -KILL 123
- C . kill -STOP 123
- D . kill -TERM 123
A faulty kernel module is causing issues with a network interface card.
Which of the following actions ensures that this module is not loaded automatically when the system boots?
- A . Using lsmod –remove –autoclean without specifying the name of a specific module
- B . Using modinfo Ck followed by the name of the offending module
- C . Using modprobe Cr followed by the name of the offending module
- D . Adding a blacklist line including the name of the offending module to the file /etc/modprobe.d/blacklist.conf
- E . Deleting the kernel module’s directory from the file system and recompiling the kernel, including its modules
You are trying to make a hard link to an ordinary file but ln returns an error.
Which of the following could cause this?
- A . The source file is hidden.
- B . The source file is read-only.
- C . The source file is a shell script.
- D . You do not own the source file.
- E . The source and the target are on different filesystems.
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
Which of the following commands updates the already installed RPM package rpmname?
- A . rpm –update rpmname
- B . rpm CU rpmname
- C . rpm Cq rpmname
- D . rpm –force rpmname
- E . rpm Cu rpmname