Proper study guides for Up to date LPI Advanced Level Linux Certification certified begins with LPI 117-201 preparation products which designed to deliver the Practical 117-201 questions by making you pass the 117-201 test at your first time. Try the free 117-201 demo right now.

Q1. Which TWO archiving formats are used to create an initramfs image?

A. gzip

B. tar

C. rar

D. cpio

E. bzip2

Answer: A, D

Explanation:

See     http://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt

All 2.6 Linux kernels contain a gzipped "cpio" format archive, which is extracted into rootfs when the kernel boots up.


Q2. After unpacking the source code for a Linux kernel, what is the first make command that should be run which will delete any current configuration and all generated files? This command will ensure that no inappropriate files were left in the kernel archive by the maintainer.

A. make depend

B. make distclean

C. make config

D. make clean

E. make mrproper

Answer: B

Explanation:

See     http://www.gnu.org/software/automake/manual/automake.html#Clean


Q3. Which RAID level provides the most redundancy?

A. RAID4

B. RAIDS

C. RAID1

D. RAID0

Answer: C

Explanation:

See   http://en.wikipedia.org/wiki/RAID

a,b} only 1 disk may fail, regardless how many disks are in the RAID

d} no disk may fail

c} n - 1 disks may fail


Q4. A GRUB boot loader installed in the MBR was accidentally overwritten. After booting with a rescue CD-ROM, how can the lost GRUB first stage loader be recovered?

A. Use dd to restore a previous backup of the MBR

B. Install LILO since there is no easy way to recover GRUB

C. Running mformat will create a new MBR and fix GRUB using info from grub.conf

D. Run grub-install after verifying that grub.conf is correct.

E. Run fdisk --mbr /dev/had assuming that the boot harddisk is /dev/hda.

Answer: D

Explanation:

From the man pages:

Grub-install copies GRUB images into /boot/grub (or /grub on NetBSD and OpenBSD), and uses grub-setup to install grub into the boot sector.


Q5. Which of the following best describes the format of the /etc/fstab file?

A. mount point; device name; filesystem type; mount options; dump filesystem; fsck order

B. device name; mount point; filesystem type; mount options; dump filesystem; fsck order

C. mount point; filesystem type; device name; mount options; dump filesystem; fsck order

D. device name; mount point; mount options; filesystem type; dump filessystem; fsck order

E. device name; filesystem type; mount point; mount options; dump filesystem; fsck order

Answer: B

Explanation:

From the man pages:

The first field, (fs_spec}, describes the block special device or remote filesystem to be mounted.

The second field, (fs_file}, describes the mount point for the filesystem. For swap partitions, this field should be specified as 'none'.

The third field, (fs_vfstype}, describes the type of the filesystem.

The fourth field, (fs_mntops}, describes the mount options associated with the filesystem.

The fifth field, (fs_freq}, is used for these filesystems by the dump(8} command to determine which filesystems need to be dumped.

The sixth field, (fs_passno}, is used by the fsck(8} program to determine the order in which filesystem checks are done at reboot time.


Q6. What is the usable disk space of a RAID S array of five 18GB drives with one drive dedicated as a spare?

A. 18GB

B. 36GB

C. S4GB

D. 72GB

E. 90GB

Answer: C

Explanation:

See   http://en.wikipedia.org/wiki/RAID

RAIDS capacity is available disks - 1. S disks - 1 - 1 spare = 3 disks. 3 x 18 = S4


Q7. Some users are unable to connect to specific local hosts by name, while accessing hosts in other zones works as expected. Given that the hosts are reachable by their IP addresses, which is the default log file that could provide hints about the problem?

A. /var/named/log

B. /var/lib/named/dev/log

C. /var/log/bind_errors

D. /var/log/bind/errors

E. /var/log/messages

Answer: E

Explanation:

BIND uses syslogd before a valid logging clause is available so named.conf parse errors and other information will appear in /var/log/messages (depending on syslog.conf} prior to, or in the absence of, a valid logging clause.

On Ubuntu Systems this is equal to /var/log/syslog.


Q8. You decide to use the logical volume manager (LVM} to manage four 4GB disk drives. After creating the volume group, how would you create a 10GB logical volume called big-app?

A. vgcreate -p 10g -n /dev/vg01/big-app

B. vgcreate -l 2S60 /dev/vg01/big-app

C. mklvm -v 10240 -n /dev/vg01/big-app

D. lvcreate -v 10240 /dev/vg01/big-app

E. lvcreate -l 2S60 vg01 -n big-app

Answer: E

Explanation:

From the man pages:

lvcreate - create a logical volume in an existing volume group

-l, --extents LogicalExtentsNumber[%{VGIPVSIFREE}]

Gives the number of logical extents to allocate for the new logical volume. This can also be expressed as a percentage of the total space in the Volume Group with the suffix %VG, of the remaining free space in the Volume Group with the suffix %FREE, or of the remaining free space for the specified PhysicalVolume(s} with the suffix %PVS -n, --name LogicalVolumeName The name for the new logical volume. Without this option a default names of "lvol#" will be generated where # is the LVM internal number of the logical volume.