[May 16, 2026] Get New 101-500 Certification Practice Test Questions Exam Dumps [Q92-Q116]

Share

[May 16, 2026] Get New 101-500 Certification Practice Test Questions Exam Dumps

Real 101-500 Exam Dumps Questions Valid 101-500 Dumps PDF

NEW QUESTION # 92
Which of the following is very important when installing from source code (Check TWO that apply)?

  • A. Do not install binaries as the root user.
  • B. Read all documentation included with the source code.
  • C. Use rpm or dpkg goverify the installation.
  • D. Reboot after installing all programs.
  • E. Manually check to see if all dependencies are met.

Answer: B,E


NEW QUESTION # 93
What tool can you use to print shared library dependencies?

  • A. ldd
  • B. libdep
  • C. libpath
  • D. ldconfig
  • E. ldev

Answer: A


NEW QUESTION # 94
In compliance with the FHS, in which of the directories are man pages found?

  • A. /var/man
  • B. /usr/share/man
  • C. /opt/man
  • D. /var/pkg/man
  • E. /usr/doc/

Answer: B

Explanation:
Explanation
According to the Filesystem Hierarchy Standard (FHS), the directory /usr/share/man contains manual pages for user commands, system calls, library functions, and other documentation1. The other directories are either non-standard, deprecated, or used for different purposes. For example, /opt/man is used for manual pages for add-on application software packages1, /usr/doc/ is an old location for documentation files that is no longer used2, /var/pkg/man and /var/man are not defined by the FHS. References:
* [LPI Linux Essentials - 1.6 Basic File Editing]
* [LPI Linux Essentials - 1.7 Personalize and/or Localize Your Linux System]
* [LPI Linux Essentials - 1.8 Basic Security and File Permissions]


NEW QUESTION # 95
Which of the following protocols is designed to access the video card output of a virtual machine?

  • A. Xfce
  • B. XDMCP
  • C. X11
  • D. SPICE
  • E. KDE

Answer: D


NEW QUESTION # 96
Which of the following commands print the current working directory when using a Bash shell?
(Choose two.)

  • A. printwd
  • B. echo "${WD}"
  • C. pwd
  • D. echo "${PWD}"
  • E. echo "${pwd}"

Answer: C,D


NEW QUESTION # 97
What command changes the nice level of a running process? (Specify ONLY the command without any path or parameters)

Answer:

Explanation:
renice
Explanation
The renice command changes the nice level of a running process. The nice level is a value that affects the scheduling priority of a process. A lower nice level means a higher priority and a higher nice level means a lower priority. The renice command requires the process ID (PID) of the target process and the new nice level as arguments. For example, renice -n 10 1234 will change the nice level of the process with PID 1234 to 10.
References: LPI Exam 101 Detailed Objectives, Topic 103: GNU and Unix Commands, Weight: 25, Objective 103.3: Perform basic file management, renice command


NEW QUESTION # 98
You have written a custom tool on your local system. Following the Filesystem Hierarchy Standard (FHS), where should you install the binaries to be available to all users on your system?

Answer:

Explanation:
/usr/local/bin
/usr/local/bin/


NEW QUESTION # 99
A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version?

  • A. find /etc/debian_version -dpkg
  • B. apt-file /etc/debian_version
  • C. dpkg -S /etc/debian_version
  • D. apt -r /etc/debian_version
  • E. apt-get search /etc/debian_version

Answer: C

Explanation:
Explanation/Reference:


NEW QUESTION # 100
Which of the following commands determines a file's format by using a definition database file which contains information about all common file types?
type

  • A. file
  • B.
  • C. hash
  • D. pmagic
  • E. magic

Answer: E


NEW QUESTION # 101
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

Answer:

Explanation:
menu.lst, grub.conf, grub.cfg


NEW QUESTION # 102
What does the command grub-install /dev/sda do?

  • A. GRUB creates partitions on the device/dev/sdato be used with Linux.
  • B. GRUB recompiles the Linux Kernel and installs it on the Master Boot Record of device/dev/sda.
  • C. GRUB sets the default BIOS boot device to/dev/sda.
  • D. GRUB installs all required files and configures the boot loader on device/dev/sda.

Answer: D

Explanation:
The grub-install command is used to install the GRUB boot loader on a device, such as a hard disk or a floppy disk. The command takes one argument, which is the device name where the boot loader should be installed. The command copies the GRUB files from the /boot/grub directory to the device and writes the boot code to the Master Boot Record (MBR) or the boot sector of the device. The command also creates a device map file in /boot/grub/device.map, which maps the BIOS device names to the Linux device names. The grub- install command is useful for setting up a dual-boot system or for repairing a broken GRUB installation. The command can also take various options to customize the installation, such as --boot-directory, --efi-directory,
--removable, --force-lba, and --no-floppy. References:
* GNU GRUB Manual 2.06: Installing GRUB using grub-install
* grub-install Command Options - The Geek Diary


NEW QUESTION # 103
Which of the following are valid stream redirection operators within Bash? (Choose two.)

  • A. 2>&1
  • B. #>
  • C. >>>
  • D. %>
  • E. <

Answer: A,E

Explanation:
The stream redirection operators within Bash are used to redirect the input and output of commands to files, devices, or other commands. The valid stream redirection operators within Bash are:
* < : This operator redirects the standard input (STDIN) of a command from a file or device. For example, wc -l < file.txt counts the number of lines in file.txt by using it as the input for the wc command.
* > : This operator redirects the standard output (STDOUT) of a command to a file or device, overwriting any existing content. For example, echo "Hello World" > file.txt writes the string "Hello World" to file.
txt, replacing any previous content.
* >> : This operator redirects the standard output (STDOUT) of a command to a file or device, appending to any existing content. For example, echo "Hello World" >> file.txt writes the string "Hello World" to file.txt, without deleting any previous content.
* >& : This operator redirects one file descriptor to another file descriptor. A file descriptor is a number that represents an open file or device. The standard input (STDIN) has the file descriptor 0, the standard output (STDOUT) has the file descriptor 1, and the standard error (STDERR) has the file descriptor 2.
For example, command > file 2>&1 redirects both the standard output and standard error of the command to the file.
* <& : This operator redirects one file descriptor from another file descriptor. For example, command
<&3 redirects the standard input of the command from the file descriptor 3.
The other operators are not valid stream redirection operators within Bash. They will cause syntax errors or unexpected behavior. For example, #> is a comment followed by a redirection operator, %> is a modulo operator followed by a redirection operator, and >>> is a bitwise right shift operator followed by a redirection operator.
:
Redirections (Bash Reference Manual)
Guide to Stream Redirections in Linux | Baeldung on Linux
Standard Streams in Bash | Delft Stack
Bash Tutorial => Redirection
stream redirection order and what os perform in details


NEW QUESTION # 104
Which grep command will print only the lines that do not end with a / in the file foo?

  • A. grep '/#' foo
  • B. grep -v '/$' foo
  • C. grep '/$' foo
  • D. grep -v '/#' foo

Answer: B


NEW QUESTION # 105
Which of the following commands will produce the following output?

  • A. proclist
  • B. jobs
  • C. netstat
  • D. ps

Answer: D


NEW QUESTION # 106
Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

  • A. $
  • B. *
  • C. #
  • D. -
  • E. x

Answer: E


NEW QUESTION # 107
Which utility would you use to change how often a filesystem check was performed over an EXT2 filesystem (without losing any data stored on that filesystem)?

  • A. tune2fs
  • B. mke2fs
  • C. fixe2fs
  • D. fsck
  • E. mod2fs

Answer: A


NEW QUESTION # 108
Which of the following apt-get subcommands installs the newest versions of all currently installed packages?

  • A. dist-upgrade
  • B. full-upgrade
  • C. update
  • D. install
  • E. auto-update

Answer: A

Explanation:
Explanation
The apt-get subcommand that installs the newest versions of all currently installed packages is dist-upgrade.
The dist-upgrade subcommand performs the same function as the upgrade subcommand, which is to install the latest versions of the packages that are already installed on the system, but it also intelligently handles the dependencies and removes the obsolete packages if necessary. The dist-upgrade subcommand is useful when upgrading the entire system to a new release or distribution12.
The other options are either invalid or do not perform the desired task. The auto-update subcommand does not exist, and the update subcommand only updates the list of available packages from the repositories, but does not install any packages. The full-upgrade subcommand is an alias for the dist-upgrade subcommand, so it performs the same function, but it is not the standard name for the subcommand. The install subcommand installs new packages or specific versions of packages, but it does not upgrade all the currently installed packages. References:
* Linux Essentials - Linux Professional Institute Certification Programs1
* Exam 101 Objectives - Linux Professional Institute2
* APT-GET Command in Linux {Detailed Tutorial With Examples} - phoenixNAP3
* How do I get help on apt-get's install subcommand?
* APT Cheat Sheet | Packagecloud Blog


NEW QUESTION # 109
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. 4

Answer: D

Explanation:
Explanation


NEW QUESTION # 110
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?

  • A. sed '/bob/Bob' letter > newletter
  • B. sed 's/bob, Bob/' letter > newletter
  • C. sed's/bob/Bob' letter > newletter
  • D. sed 's/bob/Bob/g' letter > newletter
  • E. sed s/bob/Bob/ letter < newletter

Answer: D


NEW QUESTION # 111
Consider the following directory:
drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales
Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)

  • A. chmod 2775 sales
  • B. chmod g+s sales
  • C. setpol -R newgroup=sales sales
  • D. chgrp -p sales sales
  • E. chown --persistent *.sales sales

Answer: A,D


NEW QUESTION # 112
Which signal is sent by the kill command by default?

  • A. SIGTERM(15)
  • B. SIGQUIT(3)
  • C. SIGHUP(1)
  • D. SIGKILL(9)

Answer: A

Explanation:
Explanation
The signal that is sent by the kill command by default is SIGTERM(15). The kill command sends a signal to a process to terminate it. The signal can be specified by name or number as an option to the kill command. If no signal is specified, the default signal is SIGTERM(15), which means terminate. The process can catch this signal and perform any necessary cleanup before exiting. 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.
References: LPI Exam 101 Detailed Objectives, Topic 103: GNU and Unix Commands, Weight: 25, Objective 103.3: Perform basic file management, kill command, Signal List


NEW QUESTION # 113
In a networked environment, what command will grant anybody permission to display their X applications on a desktop? (Include both the command and argument(s).)

Answer:

Explanation:
xhost +


NEW QUESTION # 114
When is the content of the kernel ring buffer reset? (Choose two.)

  • A. When a configurable amount of time, 15 minutes by default, has passed
  • B. When the system is shut down or rebooted
  • C. When the kernel loads a previously unloaded kernel module
  • D. When the ring buffer is read using dmesg without any additional parameters
  • E. When the ring buffer is explicitly reset using the command dmesg --clear

Answer: B,E

Explanation:
Explanation
The content of the kernel ring buffer is reset when the ring buffer is explicitly reset using the command dmesg
--clear or when the system is shut down or rebooted. The kernel ring buffer is a portion of the physical memory that holds the kernel's log messages. It has a fixed size, which means once the buffer is full, the older logs records are overwritten. The dmesg command-line utility is used to print and control the kernel ring buffer in Linux and other Unix-like operating systems1. The dmesg --clear option clears the ring buffer's contents, which can be useful for debugging purposes or to free up some memory2. The systemshutdown or reboot also clears the ring buffer's contents, as the physical memory is reset and the kernel is reloaded3.
The other options are false or irrelevant. The ring buffer is not reset when it is read using dmesg without any additional parameters, as this option only displays the current contents of the buffer without modifying them2. The ring buffer is not reset when a configurable amount of time, 15 minutes by default, has passed, as there is no such time limit for the buffer's persistence4. The ring buffer is not reset when the kernel loads a previously unloaded kernel module, as this action only affects the kernel's functionality and not its log messages5. References:
* Dmesg Command in Linux | Linuxize1
* dmesg(1) - Linux manual page2
* Linux Dmesg Command Help and Examples - Computer Hope3
* Lockless Ring Buffer Design - The Linux Kernel documentation4
* Linux Kernel Module Management 101 - Linux.com5


NEW QUESTION # 115
Following the Filesystem Hierarchy Standard (FHS), where should binaries that have been compiled by the system administrator be placed in order to be made available to all users on the system?

Answer:

Explanation:
/usr/local/bin/
Explanation
According to the Filesystem Hierarchy Standard (FHS), the /usr/local/ directory is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated. The /usr/local/bin/ directory is for local binaries that are not managed by the distribution package manager. These binaries should be accessible to all users on the system. Therefore, binaries that have been compiled by the system administrator should be placed in /usr/local/bin/ to follow the FHS. References:
* Filesystem Hierarchy Standard - Linux Foundation
* Filesystem Hierarchy Standard (FHS) | Linux# - Geek University


NEW QUESTION # 116
......


The LPIC-1 Exam 101, Part 1 of 2, version 5.0 is a valuable certification exam for IT professionals who want to gain a comprehensive understanding of Linux system administration. LPIC-1 Exam 101, Part 1 of 2, version 5.0 certification is recognized globally and validates the candidate's skills and knowledge in Linux system administration, which can enhance their career prospects and open up new job opportunities.

 

101-500 Exam Dumps - PDF Questions and Testing Engine: https://www.actual4dumps.com/101-500-study-material.html

Latest 101-500 Exam Dumps for Pass Guaranteed: https://drive.google.com/open?id=1Ii-k7_P-212kLEPGLDf618sDjNG4G6US