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

How to Pass the LPI 201-450 Exam: Comprehensive LPIC-2 Exam 201, Part 1 of 2, version 4.5 Guide and Tips

Questions 1

The following command has just been run successfully:

cd /opt; tar xvf /dev/nst0;

What will happen if the command sequence is run again?

Options:

A.

An error saying that there is no tape present is generated because the tape has been ejected after being used.

B.

The contents of /opt will be restored again.

C.

The entire contents of /opt will be replaced with the contents of the next file on the tape.

D.

The contents of /opt will have additional content added from the next file on the tape.

Buy Now
Questions 2

Which of the following files will be looked for and used by GNU make, if one of them exists, unless a different file is specified on the command line when trying to compile software from source code? (Choose TWO correct answers.)

Options:

A.

configure

B.

config.h.in

C.

makefile

D.

Makefile

E.

Makefile.in

Buy Now
Questions 3

Which file contains the message that is displayed above the login prompt of the system console? (Specify the full name of the file, including path.)

Options:

Buy Now
Questions 4

Which one of these directories should not be backed up?

Options:

A.

/backup

B.

/etc

C.

/opt

D.

/proc

E.

/var/log

Buy Now
Questions 5

What does the -p3 option to the patch command do?

Options:

A.

It will strip off path information from each file mentioned in the patch file up to and including the third / character.

B.

patch continues execution as long as there are three or fewer errors.

C.

It instructs patch to look up to three lines of context before or after the declared line in the original file for a match.

D.

patch will keep three previous versions of each file in the output to prevent loss of change history.

E.

It instructs patch to conform more strictly to the POSIX standard.

Buy Now
Questions 6

Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote host deltaur using the remote user account kevin?

Options:

A.

rsync -a -e ssh kevin@deltaur:/var/tmp/ fyf/

B.

rsync -a -u kevin -e ssh fyf/ deltaur:/var/tmp/

C.

rsync -a -u kevin -e ssh deltaur:/var/tmp/ fyf/

D.

rsync -a -e ssh fyf/ kevin@deltaur:/var/tmp/

Buy Now
Questions 7

Why is the root file system mounted read-only during boot and remounted with write permission later on?

Options:

A.

Because if problems with the root file system are detected during the boot, fsck can be run, without risk of damage.

B.

Because this way crackers cannot collect information about root with boot sniffers.

C.

To avoid writing to the disk, unless the root password is known.

D.

To avoid other operating systems overwriting the Linux root partition.

E.

Because the disk has its own write protection that cannot be changed by the operating system.

Buy Now
Questions 8

If all of the following files and/or symlinks exist in a SysV-init runlevel directory, which of the following will be executed first when booting the system directly into the runlevel?

Options:

A.

S99lpi

B.

K99lpi

C.

PRE-S99lpi

D.

S98lpi

E.

S99a-lpi

Buy Now
Questions 9

What are the main network services used by the PXE protocol? (Choose TWO correct answers.)

Options:

A.

DNS

B.

DHCP

C.

HTTP

D.

TFTP

E.

NFS

Buy Now
Questions 10

A system with SysV-init has a service installed called apache2. Which file controls the start and stop of this service and is referenced by the various runlevel directories?

Options:

A.

/etc/init.d/apache2

B.

/etc/rc2.d/70apache2

C.

/etc/rc2.d/apache2

D.

/etc/rc2.d/apache2.start

Buy Now