2014 Latest LPI Exam 117-201 Stimulators Free Download(11-20)

2014 Latest LPI Exam 117-201 Stimulators Free Download(11-20)

QUESTION 11
User Joseph has successfully extracted and compiled a program from source code. Installing the binaries produces errors. What is the most likely reason?

A.    The source code was compiled for a different CPU
B.    The permissions set in the /usr/bin directory are wrong
C.    The binaries require root privileges to be installed
D.    The wrong prefix was used during configuration of the source code

Answer: C

QUESTION 12
You have finished updating and resolving dependencies for some source code. What command should you run before recompiling the code into binary form?

A.    make clean
B.    make all
C.    make dep
D.    make install

Answer: A

QUESTION 13
How can you manually add an entry to your system’s ARP cache?

A.    Directly edit /etc/arp-cache
B.    Run add-arp hostname FF:FF:FF:FF:FF:FF
C.    Run ping -a hostname
D.    Run arp -s hostname FF:FF:FF:FF:FF:FF
E.    Edit arp.conf and restart arpd

Answer: D

QUESTION 14
You find that a host (192.168.1.4) being used on one of your client’s networks has been compromised with a backdoor program listening on port 31337. Your client requests a list of originating IP addresses connecting to that port. Using a Linux workstation as traffic analyzer, which of the following commands would gather the data requested by the client?

A.    tcpdump host 192.168.1.4 and port 31337 -w out
B.    nmap host 192.168.1.4:31337
C.    arpwatch -n 192.168.1.4/32 -p 31337 > capture
D.    pcap -d 192.168.1.4:31337
E.    ipwatch –syn 192.168.1.4 -p 31337 –1og=out

Answer: A

QUESTION 15
Which tool can be used to control the runtime behavior of udev?

A.    udev
B.    udevctl
C.    udevadm
D.    udevconfig
E.    udevclient

Answer: C

QUESTION 16
Which of the following entries are NOT valid in /etc/raidtab?

A.    superblock-persistent
B.    chunk-size
C.    nr-spare-disks
D.    nr-raid-disks

Answer: A

QUESTION 17
A pre-compiled module has been moved to /lib/modules/<kernel-version>, but ‘modprobe -a <module-name>’ fails to load it. What needs to be done to enable usage of this module?

A.    make modules_install must be run.
B.    depmod must be run.
C.    The kernel must be re-compiled.
D.    modules.conf or modprobe.conf must be edited.
E.    The system must be rebooted.

Answer: B

QUESTION 18
Which of the following commands should be used in a bash script that needs a variable containing the IP address of the eth0 interface? The output for the command ifconfig eth0 is shown below:
eth0 Link encap:Ethernet HWaddr 00:0C:29:CB:FA:30
inet addr:192.168.246.11 Bcast:192.168.246.255 Mask:255.255.255.0 UP BROADCAST
RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4721 errors:0 dropped:0 overruns:0 frame:0 TX packets:3216 errors:0
dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:445184 (434.7 Kb) TX bytes:512968 (500.9 Kb) Interrupt:185 Base address:0x1080

A.    IP=LANG= ifconfig eth0 | awk ‘{ print $2 }’ | cut -f2
B.    IP=`LANG= ifconfig eth0 | grep inet | cut -d: -f2 | awk { print $1 }`
C.    IP=`LANG= ifconfig eth0 | awk ‘{ print $3 }’`
D.    IP=$(LANG= ifconfig eth0 | grep inet | awk ‘{ print $2 }’ | cut -d: -f2)
E.    IP=$(LANG= ifconfig eth0 | grep inet | cut -d: -f2)

Answer: D

QUESTION 19
You have elected to use the automounter and the autofs script. Your /etc/auto.master file contains the following:
/home /etc/auto.home
/project /etc/auto.project
/data yp:data.map
If you change the contents of /etc/auto.project to include a new source path what must be done to access the new path?

A.    Shutdown and restart the local NFS client daemons
B.    Run fsck on the affected mount point
C.    Issue the /etc/init.d/autofs reload command
D.    Add the newly mapped path to/etc/fstab
E.    Nothing Simply access the newly mapped resource

Answer: C

QUESTION 20
In order to find all library dependencies of /usr/bin/foo, which of the following statement is true?

A.    Running ldconfig against /usr/bin/foo will show the required libraries
B.    Running ldd against /usr/bin/foo will show the required libraries
C.    It’s necessary to compile the program again to check the library dependencies of foo.
D.    The ls -la command has to be run in the /usr/bin directory, to show all library dependencies of foo.
E.    Library dependencies are shown in the /usr/lib directory.

Answer: B

If you want to pass the LPI 117-201 sucessfully, recommend to read latest Exam 117-201 full version.

http://www.lead2pass.com/117-201.html

         

Author: admin