Big Halloween Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

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

Questions 81

What does the command grub-install /dev/sda do?

Options:
A.

GRUB creates partitions on the device/dev/sdato be used with Linux.

B.

GRUB sets the default BIOS boot device to/dev/sda.

C.

GRUB installs all required files and configures the boot loader on device/dev/sda.

D.

GRUB recompiles the Linux Kernel and installs it on the Master Boot Record of device/dev/sda.

LPI 101-500 Premium Access
Questions 82

How can the list of files that would be installed by the RPM package file apache-xml.rpm be previewed?

Options:
A.

rpm –qp apache-xml.rpm

B.

rpm –qv apache-xml.rpm

C.

rpm –ql apache-xml.rpm

D.

rpm –qpl apache-xml.rpm

Questions 83

Which of the following commands changes the ownership of file.txt to the user dan and the group staff?

Options:
A.

chown dan/staff file.txt

B.

chown dan:staff file.txt

C.

chown -u dan -g staff file.txt

D.

chown dan -g staff file.txt

Questions 84

Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?

Options:
A.

mod2fs

B.

fsck

C.

tune2fs

D.

mke2fs

E.

fixe2fs

Questions 85

Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)

Options:
A.

visible TEST

B.

declare +x TEST

C.

declare –x TEST

D.

export TEST

E.

export –v TEST

Questions 86

Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ?

Options:
A.

0017

B.

0640

C.

0038

D.

0027

Questions 87

What is the process ID number of the init process on a SysV init based system?

Options:
A.

-1

B.

0

C.

1

D.

It is different with each reboot.

E.

It is set to the current run level.

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