Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free LPI 101-500 Practice Exam with Questions & Answers | Set: 3

Questions 21

Which of the following files, located in a user’s home directory, contains the Bash history?

Options:
A.

.bashrc_history

B.

.bash_histfile

C.

.history

D.

.bash_history

E.

.history_bash

LPI 101-500 Premium Access
Questions 22

What is the first program the Linux kernel starts at boot time when using System V init?

Options:
A.

/lib/init.so

B.

/proc/sys/kernel/init

C.

/etc/rc.d/rcinit

D.

/sbin/init

E.

/boot/init

Questions 23

Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt?

Options:
A.

tr –d ‘\r’ < userlist.txt > newlist.txt

B.

tr –c ‘\n\r’ ‘’ userlist.txt

C.

tr ‘\r\n’ ‘’ newlist.txt

D.

tr ‘\r’ ‘\n’ userlist.txt newlist.txt

E.

tr –s ‘/^M/^J/’ userlist.txt newlist.txt

Questions 24

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

Options:
A.

<

B.

#>

C.

%>

D.

>>>

E.

2>&1

Questions 25

Which daemon handles power management events on a Linux system?

Options:
A.

acpid

B.

batteryd

C.

pwrmgntd

D.

psd

E.

inetd

Questions 26

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?

Options:
A.

Using lsmod --remove --autoclean without specifying the name of a specific module

B.

Using modinfo –k followed by the name of the offending module

C.

Using modprobe –r 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

Questions 27

Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?

Options:
A.

lsattr foo

B.

apropos foo

C.

locate foo

D.

whatis foo

E.

which foo

Questions 28

Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.)

Options:
A.

Some parts of the boot process can be configured from the BIOS

B.

Linux does not require the assistance of the BIOS to boot a computer

C.

The BIOS boot process starts only if secondary storage, such as the hard disk, is functional

D.

The BIOS initiates the boot process after turning the computer on

E.

The BIOS is started by loading hardware drivers from secondary storage, such as the hard disk

Questions 29

Which of the following directories on a 64-bit Linux system typically contain shared libraries? (Choose two.)

Options:
A.

~/.lib64/

B.

/usr/lib64/

C.

/var/lib64/

D.

/lib64/

E.

/opt/lib64/

Questions 30

Which of the following commands installs all packages with a name ending with the string foo?

Options:
A.

zypper get “*foo”

B.

zypper update “foo?”

C.

zypper force “foo*”

D.

zypper install “*foo”

E.

zypper add “.*foo”

Exam Code: 101-500
Certification Provider: LPI
Exam Name: LPIC-1 Exam 101, Part 1 of 2, version 5.0
Last Update: Jul 15, 2025
Questions: 243