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

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

Questions 71

In which directory must definition files be placed to add additional repositories to yum?

    /etc/yum.repos.d

    /etc/yum.repos.d/

    yum.repos.d

    yum.repos.d/

Options:
LPI 101-500 Premium Access
Questions 72

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

Options:
A.

dd if=/dev/zero of=/dev/sda bs=512

B.

dd if=/dev/zero of=/dev/sda bs=512 count=1

C.

dd if=/dev/zero of=/dev/sda bs=440 count=1

D.

dd if=/dev/zero of=/dev/sda bs=440

Questions 73

What is the difference between the --remove and the --purge action with the dpkg command?

Options:
A.

--remove removes the program, --purge also removes the config files

B.

--remove only removes the program, --purge only removes the config files

C.

--remove removes a package, --purge also removes all packages dependent on it

D.

--remove removes only the package file itself, --purge removes all files related to the package

Questions 74

Typically, which top level system directory is used for files and data that change regularly while the system is running and are to be kept between reboots? (Specify only the top level directory)

Options:
A.

/var

B.

/var/,

C.

Var

D.

var/

Questions 75

Which of the following commands lists the dependencies of a given dpkg package?

Options:
A.

apt-cache depends-onpackage

B.

apt-cache dependencies package

C.

apt-cache depends package

D.

apt-cache requires package

Questions 76

Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

Options:
Questions 77

Which of the following is correct when talking about mount points?

Options:
A.

Every existing directory can be used as a mount point.

B.

Only empty directories can be used as a mount point.

C.

Directories need to have the SetUID flag set to be used as a mount point.

D.

Files within a directory are deleted when the directory is used as a mount point.

Questions 78

Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)

    Swapoff

    /sbin/swapoff

Options:
Questions 79

Which of the following commands lists all currently installed packages when using RPM package management?

Options:
A.

yum --query --all

B.

yum --list --installed

C.

rpm --query --all

D.

rpm --list –installed

Questions 80

Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?

Options:
A.

ext2

B.

ext3

C.

ext4

D.

XFS

E.

VFAT

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