Want to know Pass4sure 117-201 Exam practice test features? Want to lear more about LPI Advanced Level Linux Certification certification experience? Study Validated LPI 117-201 answers to Latest 117-201 questions at Pass4sure. Gat a success with an absolute guarantee to pass LPI 117-201 (Advanced Level Linux Certification) test on your first attempt.

Q9. Which command would you use to apply a diff file to an original?

A. patch > diff-file

B. patch < diff-file

C. patch << diff-file

D. cat diff-file >> kernel

E. cat diff-file << kernel

Answer: B

Explanation:

From the man pages:

SYNOPSIS

patch [options] [originalfile [patchfile]]

but usually just

patch -pnum < patchfile


Q10. The user' quotas on the server were reduced from 200MB to 100MB. Besides sending emails to all users, it was requested that a message should communicate the change every time a user access the server. Which of the following is the correct method to configure this?

A. Put the message text in the /etc/login-message file

B. Put the message text in the /etc/motd file

C. Put the message text in the /etc/default/login file.

D. Put the message text in the /etc/passwd file, after all users entries.

E. There is no way to do this because the administrator has no permission to change the .bash_profile file for each user.

Answer: B

Explanation:

From the man pages

The contents of /etc/motd are displayed by login(1} after a successful login but just before it executes the login shell.

------------------------

This message of course is not shown on GUIs!


Q11. What is the minimum number of disks required in a RAIDS array?

A. 1

B. 2

C. 3

D. 4

E. S

Answer: C

Explanation:

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

RAID S: Block-level striping with distributed parity. Minimum 3 disks.


Q12. One of the IDE hard drives in a server is transferring data very slowly. What command must be run to enable DMA on it?

A. hdparm -d /dev/hda

B. hdparm --dma /dev/hda

C. hdparm --dma /dev/hda1

D. hdparm -d /dev/hda1

E. hdparm -d1 /dev/hda

Answer: E

Explanation:

hdparm provides a command line  interface to various kernel interfaces  supported by the Linux SATA/PATA/ SAS "libata" subsystem and the older IDE river subsystem. Many newer (2008 and later} USB drive enclosures now also support "SAT" (SCSI-ATA Command Translation} and therefore may also work with hdparm. Eg. recent WD "Passport" models and recent NexStar-3 enclosures. Some options may work correctly only with the latest kernels.

-d Disable/enable the "using_dma" flag for this drive. This option now works with most combinations of drives and PCI interfaces which support DMA and which are known to the kernel IDE driver. It is also a good idea to use the appropriate -X option in combination with -d1 to ensure that the drive itself is programmed for the correct DMA mode, although most BIOSs should do this for you at boot time. Using DMA nearly always gives the best performance, with fast I/O throughput and low CPU usage.


Q13. You have written a little startup script (/usr/local/bin/startup.sh} that should automatically execute when entering runlevel 3. According to the standards, how can this best be achieved?

A. chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln -s /user/local/bin/startup.sh

B. chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln -s /usr/local/bin/startup.sh S99startup.sh

C. chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln /user/local/bin/startup.sh

D. chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln -s /user/local/bin/startup.sh /usr/locl/bin/startup.sh

E. chmod 700 /usr/local/bin/startup.sh; cp /user/local/bin/startup.sh /etc/init.d/rc3.d/S99Startup.sh

Answer: B

Explanation:

See   http://www.linux-tutorial.info/modules.php?name=ManPage&sec=7&manpage=init.d


Q14. What tool can you use to print shared library dependencies?

A. ldconfig

B. ldd

C. libdep

D. libpath

E. ldev

Answer: B

Explanation:

From the man pages:

ldd - print shared library dependencies


Q15. Which system files are updated as devices are mounted and unmount to provide information on the mounted devices and the options used? (Please specify TWO answers}

A. /proc/dtab

B. /etc/mtab

C. /etc/fstab

D. /proc/mounts

E. /proc/devices

Answer: B, D

Explanation:

The programs mount and umount maintain a list of currently mounted file systems in the file /etc/mtab. If no

arguments are given to mount, this list is printed.

See

http://linux.web.cern.ch/linux/scientificS/docs/rhel/Deployment_Guide/s2-proc-mounts.html

Similar to the contents of /etc/mtab, except that /proc/mount is more up-to-date.


Q16. Before compiling a new kernel, what needs to be done?

A. Compile kernel modules

B. Configure the kernel options

C. Delete old kernel sources

D. Change to runlevel 1

E. All of the above

Answer: B

Explanation:

See   http://www.faqs.org/docs/Linux-HOWTO/Kernel-HOWTO.html#impatient