
[Apr 15, 2026] Genuine 101-500 Exam Dumps New 2026 Lpi Pratice Exam
New 2026 Realistic 101-500 Dumps Test Engine Exam Questions in here
Lpi 101-500 (LPIC-1 Exam 101, Part 1 of 2, version 5.0) Exam is a certification exam that tests the fundamental skills and knowledge needed to become a Linux administrator. This is the first part of the two-part LPIC-1 certification exam and version 5.0 is the latest version. 101-500 exam is designed to test the skills and knowledge required to work with Linux operating systems.
NEW QUESTION # 172
Which of the following commands will load a kernel module along with any required dependency modules?
- A. depmod
- B. modprobe
- C. module_install
- D. insmod
- E. loadmod
Answer: B
Explanation:
Explanation
The modprobe command is used to add or remove modules from the Linux kernel. The modprobe command can automatically resolve and load the dependencies of a module, which are the other modules that the module depends on. The modprobe command reads the modules.dep file, which is generated by the depmod command, to determine the dependencies of a module. The syntax of the modprobe command is:
modprobe [options] module [module parameters]
The module is the name of the module to be loaded or removed. The module parameters are optional arguments that can modify the behavior of the module. The options are optional, and they can modify the behavior of the modprobe command, such as displaying the dependencies, listing the modules, or specifying the configuration file.
For example, to load the e1000e module, which is a driver for Intel Gigabit Ethernet adapters, along with any required dependency modules, use the following command:
modprobe e1000e
This command will load the e1000e module and any other modules that it depends on, such as the crc32c module. You can verify the loaded modules by using the lsmod command, which lists the modules and their dependencies, sizes, and usage counts.
The other options are not correct because:
* A. depmod: This command is used to generate the modules.dep file, which contains the dependency information for the modules. The depmod command does not load or remove any modules, but it prepares the modules.dep file for the modprobe command to use. The depmod command is usually run automatically when a new kernel or module is installed, and it does not need to be run manually by the user.
* B. insmod: This command is used to insert a single module into the kernel. The insmod command does not resolve or load any dependencies of the module, and it requires the full path to the module file as an argument. The insmod command is a low-level command that is rarely used by the user, and it is usually invoked by the modprobe command internally.
* D. module_install: This command does not exist in the Linux system. There is no such command as module_install in the Linux documentation or the man pages.
* E. loadmod: This command does not exist in the Linux system. There is no such command as loadmod in the Linux documentation or the man pages.
References:
* modprobe(8) - Linux manual page
* How to Load and Unload Kernel Modules in Linux - Linux Handbook
* Linux Kernel Module Programming Guide - TLDP
NEW QUESTION # 173
An installed package is broken. In order to go back to the previous version of the same package which RPM option should be used?
- A. --nodeps
- B. --replacefiles
- C. --oldpackage
- D. --replacepkgs
Answer: C
NEW QUESTION # 174
After running the command umount /mnt, the following error message is displayed:
umount: /mnt: device is busy.
What is a common reason for this message?
- A. The kernel has not finished flushing disk writes to themounted device.
- B. The files in /mnt have been scanned and added to the locate database.
- C. The kernel thinks that a process is about to open a file in /mnt for reading.
- D. Another file system still contains a symlink to a file inside /mnt.
- E. A user has a file open in the /mnt directory.
Answer: E
Explanation:
Explanation
One of the common reasons for the error message "device is busy" when trying to unmount a file system is that a user or a process has a file open in the mounted directory. This prevents the kernel from releasing the file system resources and detaching the device. To find out which user or process is holding the file system, one can use the lsof or fuser commands12. For example, lsof /mnt or fuser -m /mnt will list the processes that have open files in /mnt. To force the unmounting of a busy file system, one can use the -l option of the umount command, which will perform a lazy unmount. This means that the file system will be detached as soon as it is not busy anymore3. References: 1: How to solve "device is busy" problem in Linux 2: How to Find Out Which Process Is Using a File in Linux 3: umount(8) - Linux man page
NEW QUESTION # 175
The installation of a local Debian package failed due to unsatisfied dependencies. Which of the following commands installs missing dependencies and completes the interrupted package installation?
dpkg --fix --all
- A. apt-get all
- B.
- C. apt-get install -f
- D. apt-get autoinstall
- E. dpkg-reconfigure --all
Answer: B
NEW QUESTION # 176
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 -l cdrom /dev/sr0 /mnt/cdrom
- C. mount -f /dev/sr0/mnt/cdrom
- D. mount -t cdrom /dev/sr0 /mnt/cdrom
- E. mount /dev/sr0 /mnt/cdrom
Answer: E
Explanation:
Explanation
The mount command is used to attach a filesystem to a directory on the system, which is called a mount point.
The mount command requires the device name or the UUID of the filesystem as the first argument, and the mount point as the second argument. Optionally, the mount command can also take some options, such as the filesystem type, the mount options, and the label. The syntax of the mount command is:
mount [options] device mountpoint
In this question, the device name of the CD-ROM is /dev/sr0, and the mount point is /mnt/cdrom. Therefore, the correct command to mount the CD-ROM is:
mount /dev/sr0 /mnt/cdrom
This command will mount the CD-ROM as a read-only filesystem with the type iso9660, which is the standard format for optical discs. The mount command can automatically detect the filesystem type and the mount options, so there is no need to specify them explicitly. However, if you want to specify them, you can use the
-t and -o options, respectively. For example, the following command is equivalent to the previous one:
mount -t iso9660 -o ro /dev/sr0 /mnt/cdrom
The other options are not correct because:
* A. mount /dev/cdrom /mnt/cdrom: This command may work on some systems, but it is not guaranteed to be correct. The /dev/cdrom is usually a symbolic link to the actual device name of the CD-ROM, which can vary depending on the system. For example, on some systems, the /dev/cdrom may point to
/dev/sr0, but on others, it may point to /dev/scd0 or /dev/hdc. Therefore, it is better to use the actual device name of the CD-ROM, which can be found by using the lsblk or the dmesg command.
* C. mount -t cdrom /dev/sr0 /mnt/cdrom: This command is not valid because cdrom is not a valid filesystem type. The filesystem type for optical discs is iso9660, not cdrom. The mount command will fail with an error message saying:
mount: unknown filesystem type 'cdrom'
* D. mount -l cdrom /dev/sr0 /mnt/cdrom: This command is not valid because -l is not a valid option for the mount command. The -l option is used to list all the mounted filesystems, not to mount a filesystem.
The mount command will fail with an error message saying:
mount: can't find /dev/sr0 in /etc/fstab
* E. mount -f /dev/sr0/mnt/cdrom: This command is not valid because it is missing a space between the device name and the mount point. The mount command requires two separate arguments for the device name and the mount point, separated by a space. Also, the -f option is used to fake the mount operation, not to perform the actual mount. The mount command will fail with an error message saying:
mount: /dev/sr0/mnt/cdrom: mount point does not exist.
References:
* How to mount cdrom in Linux - Learn Linux Configuration
* Mount CD-ROM in Linux using Command Line - nixCraft
* Mounting the CD or DVD (Linux) - IBM
NEW QUESTION # 177
After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.)
- A. By creating a symbolic link from the old to the new path of the data.
- B. By mounting the new filesystem on the original path of the data.
- C. By creating an ACL redirection from the old to the new path of the data.
- D. By running the command touch on the old path.
- E. By creating a hard link from the old to the new path of the data.
Answer: A,B
NEW QUESTION # 178
The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?
- A. wait dbmaint
- B. dbmaint &>/dev/pts/null
- C. bg dbmaint
- D. nohup dbmaint &
- E. job -b dmaint
Answer: D
Explanation:
Explanation
This command will run dbmaint in the background and make it immune to hangup signals, which means it will continue to run even when the user logs out of the system. The nohup command prefixes the command with nohup, which intercepts the SIGHUP signal that is sent to the process when the terminal sessionends. The output of the command is redirected to a file called nohup.out by default, unless specified otherwise. The & symbol puts the command in the background, allowing the user to run other commands in the same shell.
The other commands are incorrect for the following reasons:
* A, job -b dbmaint: This command is invalid and will not work. There is no job command in Linux, and the -b option is not a valid option for any command. The command that is used to list the background jobs in the current shell session is jobs, and it does not have a -b option either.
* B, dbmaint &>/dev/pts/null: This command will run dbmaint in the background, but it will not prevent it from being terminated when the user logs out of the system. The &> symbol redirects both the standard output and standard error of the command to a file or device, in this case /dev/pts/null. However, this device does not exist, and the redirection will fail. Even if the device was /dev/null, which is a special device that discards any output sent to it, the command would still be susceptible to hangup signals and would not survive the logout.
* D, bg dbmaint: This command will not run dbmaint in the background, but it will try to resume a stopped background job with the name dbmaint. The bg command is used to move a stopped foreground process to the background and continue its execution. However, if there is no such process with the name dbmaint, the command will fail. Even if there was such a process, it would still be terminated when the user logs out of the system, unless it was disowned or prefixed with nohup.
* E, wait dbmaint: This command will not run dbmaint in the background, but it will wait for a background process with the name dbmaint to finish and return its exit status. The wait command is used to pause the execution of the current shell until one or more background processes complete.
* However, if there is no such process with the name dbmaint, the command will fail. Even if there was such a process, it would still be terminated when the user logs out of the system, unless it was disowned or prefixed with nohup.
References:
* How to Run Linux Commands in Background | Linuxize
* How to Run Linux Commands in Background | phoenixNAP KB
* How to Run Linux Commands in the Background - MUO
* How to Run Linux Commands in Background & Bring Them Back
NEW QUESTION # 179
What is true regarding the command
ls > files
if files does not exist?
- A. The output of ls is printed to the terminal
- B. Any output of ls is discarded
- C. An error message is shown and ls is not executed
- D. files is created and contains the output of ls
- E. The command files is executed and receives the output of ls
Answer: D
NEW QUESTION # 180
You want to save vi changes to the file myfile with :w!, but vi complains it can not write to the file.
Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:
- A. :?ls -l myfile
- B. :\ls -l myfile
- C. esc :ls -l myfile
- D. :!ls -l myfile
Answer: D
NEW QUESTION # 181
What is the purpose of the Filesystem Hierarchy Standard?
- A. Itis a distribution neutral description of locations of files and directories.
- B. It defines a common internal structure of inodes for all compliant filesystems.
- C. It provides unified tools to create, maintain and manage multiple filesystems in a common way.
- D. It is a security model used to ensure files are organized according to their permissions and accessibility.
Answer: A
Explanation:
Explanation
The Filesystem Hierarchy Standard is a distribution neutral description of locations of files and directories.
According to the first result, it is a reference describing the conventions used for the layout of Unix-like systems. It is maintained by the Linux Foundation and the latest version is 3.0
NEW QUESTION # 182
Which command is used to query information about the available packages on a Debian system?
- A. dpkg
- B. apt-search
- C. apt-cache
- D. dpkg-search
- E. apt-get
Answer: C
Explanation:
Explanation
The command apt-cache is used to query information about the available packages on a Debian system. This command can perform various operations on the package cache, such as searching for packages that match a given pattern, showing detailed information about a specific package, displaying the dependencies of a package, and more. The apt-cache command does not require root privileges and does not modify the system state12.
The other commands are either invalid or do not perform the same function as the correct answer. For example:
* apt-get is used to install, update, upgrade, remove, or purge packages on a Debian system. It requires root privileges and modifies the system state13.
* apt-search is not a valid command. The correct syntax to search for packages using the apt command is apt search1 .
* dpkg is a low-level tool that can install, remove, configure, or query information about Debian packages.
It operates on individual packages and does not handle dependencies. It requires root privileges to install or remove packages1 .
* dpkg-search is not a valid command. The correct syntax to search for packages using the dpkg command is dpkg -l or dpkg-query -l1 .
References:
* LPI Linux Essentials, Chapter 6: Managing Software, Section 6.2: Debian Package Management
* apt-cache - query the APT cache | Linux Docs
* apt-get - APT package handling utility | Linux Docs
* [apt - command-line interface | Linux Docs]
* [dpkg - Debian package management system | Linux Docs]
NEW QUESTION # 183
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
- A. System battery type
- B. Device IRQ settings
- C. Ethernet MAC address
- D. PCI bus speed
- E. Device vendor identification
Answer: B,D,E
Explanation:
Explanation
The lspci command can display information about the system hardware, such as:
* Device IRQ settings1: The lspci command can show the interrupt request (IRQ) number assigned to each device by using the -v option. The IRQ number indicates how the device communicates with the CPU.
* PCI bus speed2: The lspci command can show the speed of the PCI bus by using the -vv option. The speed is expressed in megahertz (MHz) or gigahertz (GHz) and indicates how fast the data can be transferred between the device and the bus.
* Device vendor identification3: The lspci command can show the name and identification number of the device vendor by using the -n or -nn option. The vendor identification helps to identify the manufacturer and model of the device.
References: 1: https://www.man7.org/linux/man-pages/man8/lspci.8.html 2:
https://phoenixnap.com/kb/lspci-command 3: https://en.wikipedia.org/wiki/Lspci
NEW QUESTION # 184
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 -user root -print
- B. find /tmp -uid root -print
- C. find -path /tmp -uid root
- D. find /tmp -user root
- E. find -path /tmp -user root -print
Answer: A,D
NEW QUESTION # 185
What does the term Braille Display refer to?
- A. A standard file format for data exchange, similar to XML
- B. A physical representation of characters using small dots
- C. A Linux desktop environment similar to KDE and GNOME
- D. A standardized high contract graphical theme for desktop applications
- E. A legacy display technology superseded by LCD
Answer: B
NEW QUESTION # 186
Given the following input stream:
txt1.txt
atxt.txt
txtB.txt
Which of the following regular expressions turns this input stream into the following output stream?
txt1.bak.txt
atxt.bak.txt
txtB.bak.txt
- A. s/^txt$/.bak^/
- B. s/^.txt/.bak/
- C. s/txt/bak.txt/
- D. s/txt$/bak.txt/
- E. s/[.txt]/.bak$1/
Answer: D
Explanation:
Explanation/Reference:
NEW QUESTION # 187
When piping the output of find to the xargs command, what option to find is useful if the filenames have spaces in them?
- A. -ignore-space
- B. -print0
- C. -rep-space
- D. -nospace
Answer: B
Explanation:
Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends the SIGINT(2) signal code. The SIGINT(2) signal means interrupt and is usually sent when the user presses Ctrl- C on the keyboard. The signal causes the process to terminate, unless it is caught or ignored by the process.
The SIGHUP(1) signal means hang up and is usually sent when the terminal or network connection is disconnected. The SIGQUIT(3) signal means quit and is usually sent when the user presses Ctrl-\ on the keyboard. The SIGKILL(9) signal means kill and is used to force the process to terminate immediately, without any chance to catch the signal or perform any cleanup. The SIGTERM(15) signal means terminate and is the default signal sent by the kill command. References: LPI Exam 101 Detailed Objectives, Topic
103: GNU and Unix Commands, Weight: 25, Objective 103.3: Perform basic file management, Signal List
NEW QUESTION # 188
Which of the following regular expressions represents a single upper-case letter?
- A. [A-Z]
- B. :UPPER:
- C. {AZ}
- D. %C
- E. !a-z
Answer: A
Explanation:
Explanation/Reference:
NEW QUESTION # 189
Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)
- A. find /tmp -user root -print
- B. find /tmp -uid root -print
- C. find -path /tmp -uid root
- D. find /tmp -user root
- E. find -path /tmp -user root -print
Answer: A,D
NEW QUESTION # 190
Which of the following tools can show the complete path of an executable file that the current shell would execute when starting a command without specifying its complete path? (Choose two.) find
- A.
- B. pwd
- C. locate
- D. type
- E. which
Answer: A,C
NEW QUESTION # 191
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
- A. printwd
- B. echo "${WD}"
- C. echo "${PWD}"
- D. pwd
- E. echo "${pwd}"
Answer: C,D
Explanation:
Explanation
PWD",C.pwdComprehensiveExplanation:ThecommandsthatwillprintthecurrentworkingdirectorywhenusingaBas and pwd. The echo command will print the value of the PWD variable, which is set by the shell to the current working directory. The pwd command will print the name of the current working directory. The WD variable is not a standard shell variable and may not be defined. The printwd command is not a valid Linux command.
The pwd variable is not the same as the PWD variable and may not be defined.References:LPI Exam 101 Detailed Objectives, Topic 103: GNU and Unix Commands, Weight: 25, Objective 103.1: Work on the command line, echo command, pwd command
NEW QUESTION # 192
Given the following input stream:
txt1.txt
atxt.txt
txtB.txt
Which of the following regular expressions turns this input stream into the following output stream?
txt1.bak.txt
atxt.bak.txt
txtB.bak.txt
- A. s/^txt$/.bak^/
- B. s/^.txt/.bak/
- C. s/[.txt]/.bak$1/
- D. s/txt$/bak.txt/
- E. s/txt/bak.txt/
Answer: E
NEW QUESTION # 193
......
Lpi 101-500 (LPIC-1 Exam 101, Part 1 of 2, version 5.0) Certification Exam is an entry-level exam that validates the fundamental skills and knowledge required to become a Linux professional. 101-500 exam is the first of two exams required to earn the LPIC-1 certification. The LPIC-1 certification is vendor-neutral, which means that it does not focus on a specific distribution of Linux, but rather on the general principles that underlie all Linux distributions.
Grab latest Amazon 101-500 Dumps as PDF Updated: https://www.passtestking.com/Lpi/101-500-practice-exam-dumps.html
Updated Official licence for 101-500 Certified by 101-500 Dumps PDF: https://drive.google.com/open?id=1LmAVt_pxK7vdPpo0UIjegRFc3WjRUC1a