Pass the LPI LPIC Level 1 101-500 Questions and answers with CertsForce

Viewing page 1 out of 8 pages
Viewing questions 1-10 out of questions
Questions # 1:

Which daemon handles power management events on a Linux system?

Options:

A.

acpid


B.

batteryd


C.

pwrmgntd


D.

psd


E.

inetd


Expert Solution
Questions # 2:

Consider the following output from the command ls –i:

Question # 2

How would a new file named c.txt be created with the same inode number as a.txt (Inode 525385)?

Options:

A.

ln –h a.txt c.txt


B.

ln c.txt a.txt


C.

ln a.txt c.txt


D.

ln –f c.txt a.txt


E.

ln –i 525385 c.txt


Expert Solution
Questions # 3:

What output will be displayed when the user fred executes the following command?

echo ‘fred $USER’

Options:

A.

fred fred


B.

fred /home/fred/


C.

‘fred $USER’


D.

fred $USER


E.

‘fred fred’


Expert Solution
Questions # 4:

Which of the following commands redirects the output of ls to standard error?

Options:

A.

ls >-1


B.

ls <


C.

ls >&2


D.

ls >>2


E.

ls |error


Expert Solution
Questions # 5:

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?

Options:

A.

0750


B.

0027


C.

0036


D.

7640


E.

0029


Expert Solution
Questions # 6:

What is true regarding the configuration of yum? (Choose two.)

Options:

A.

Changes to the repository configuration become active after running yum confupdate


B.

Changes to the yum configuration become active after restarting the yumd service


C.

The configuration of package repositories can be divided into multiple files


D.

Repository configurations can include variables such as $basearch or $releasever


E.

In case /etc/yum.repos.d/ contains files, /etc/yum.conf is ignored


Expert Solution
Questions # 7:

Which of the following regular expressions represents a single upper-case letter?

Options:

A.

:UPPER:


B.

[A-Z]


C.

!a-z


D.

%C


E.

{AZ}


Expert Solution
Questions # 8:

When is the content of the kernel ring buffer reset? (Choose two.)

Options:

A.

When the ring buffer is explicitly reset using the command dmesg --clear


B.

When the ring buffer is read using dmesg without any additional parameters


C.

When a configurable amount of time, 15 minutes by default, has passed


D.

When the kernel loads a previously unloaded kernel module


E.

When the system is shut down or rebooted


Expert Solution
Questions # 9:

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

Options:

A.

apt-get search /etc/debian_version


B.

apt –r /etc/debian_version


C.

find /etc/debian_version -dpkg


D.

dpkg –S /etc/debian_version


E.

apt-file /etc/debian_version


Expert Solution
Questions # 10:

Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?

Options:

A.

grub2 install /dev/sdc


B.

grub-mkrescue /dev/sdc


C.

grub-mbrinstall /dev/sdc


D.

grub-setup /dev/sdc


E.

grub-install /dev/sdc


Expert Solution
Viewing page 1 out of 8 pages
Viewing questions 1-10 out of questions