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

Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions
Questions # 21:

What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)

Options:

A.

To create RAID 9 arrays.


B.

To dynamically change the size of logical volumes.


C.

To encrypt logical volumes.


D.

To create snapshots.


E.

To dynamically create or delete logical volumes.


Expert Solution
Questions # 22:

When removing a package, which of the following dpkg options will completely remove the files including configuration files?

Options:

A.

--clean


B.

--delete


C.

--purge


D.

–remove


Expert Solution
Questions # 23:

What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)


Expert Solution
Questions # 24:

Which of the following commands is used to update the list of available packages when using dpkg based package management?

Options:

A.

apt-get update


B.

apt-get upgrade


C.

apt-cache update


D.

apt-get refresh


E.

apt-cache upgrade


Expert Solution
Questions # 25:

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


Expert Solution
Questions # 26:

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.


Expert Solution
Questions # 27:

Which of the following commands changes all occurrences of the word “bob” in file data to “Bob” and prints the result to standard output?

Options:

A.

sed‘/bob/Bob’ data


B.

sed‘s/bob/Bob/g’ data


C.

sed‘s/bob/Bob/’ data


D.

sed‘/bob/Bob/’ data


E.

sed‘s/bob,Bob/’ data


Expert Solution
Questions # 28:

Which of the following command lines creates or, in case it already exists, overwrites a file called data with the output of ls?

Options:

A.

ls 3> data


B.

ls >& data


C.

ls > data


D.

ls >> data


Expert Solution
Questions # 29:

When planning a partition scheme, which of the following directories could be considered for separate partitions? (Choose three.)

Options:

A.

/etc


B.

/home


C.

/var


D.

/lib


E.

/opt


Expert Solution
Questions # 30:

Which of the following commands shows the definition of a given shell command?

Options:

A.

where


B.

stat


C.

type


D.

case


Expert Solution
Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions