Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

LPI 101-500 - LPIC-1 Exam 101, Part 1 of 2, version 5.0

Page: 2 / 8
Total 243 questions

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.txt/

C.

s/txt$/bak.txt/

D.

s/^txt$/.bak^/

E.

s/[.txt]/.bak$1/

Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else?

A.

0750

B.

0027

C.

0036

D.

7640

E.

0029

What is true regarding UEFI firmware? (Choose two.)

A.

It can read and interpret partition tables

B.

It can use and read certain file systems

C.

It stores its entire configuration on the /boot/ partition

D.

It is stored in a special area within the GPT metadata

E.

It is loaded from a fixed boot disk position

When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces?

A.

–rep-space

B.

-printnul

C.

-nospace

D.

–ignore-space

E.

–print0

Which of the following is true when a file system, which is neither listed in /etc/fstab nor known to system, is mounted manually?

A.

systemd ignores any manual mounts which are not done using the systemctl mount command

B.

The command systemctl mountsync can be used to create a mount unit based on the existing mount

C.

systemd automatically generates a mount unit and monitors the mount point without changing it

D.

Unless a systemd mount unit is created, systemd unmounts the file system after a short period of time

E.

systemctl unmount must be used to remove the mount because system opens a file descriptor on the mount point

During a system boot cycle, what program is executed after the BIOS completes its tasks?

A.

The bootloader

B.

The inetd program

C.

The init program

D.

The kernel

Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)

A.

shutdown -r now

B.

shutdown -r "rebooting"

C.

telinit 6

D.

telinit 0

E.

shutdown -k now "rebooting"

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)

Which command will display messages from the kernel that were output during the normal boot sequence?

Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)

A.

0

B.

1

C.

3

D.

5

E.

6