[Free] 2018(Jan) EnsurePass Testinsides LPI 201-400 Dumps with VCE and PDF 231-240

By | February 12, 2018

Ensurepass.com : Ensure you pass the IT Exams
2018 Jan LPI Official New Released 201-400
100% Free Download! 100% Pass Guaranteed!
http://www.EnsurePass.com/201-400.html

LPIC-2 Exam 201

Question No: 231 – (Topic 9)

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?

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

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

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

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

    /usr/local/bin/startup.sh

  5. chmod 700 /usr/local/bin/startup.sh; cp /usr/local/bin/startup.sh

/etc/init.d/rc3.d/S99Startup.sh

Answer: B

Question No: 232 – (Topic 9)

What command should be used to find out what PCI devices can be seen, without querying the kernel?

  1. lspci -v

  2. lspci -s

  3. lspci -x

  4. lspci -b

  5. lspci -p

Answer: D

Explanation: Explanation:

lspci is a utility for displaying information about all PCI buses in the system and all devices connected to them. -b option is used to display the IRQ numbers and address without querying to the kernel.

Question No: 233 CORRECT TEXT – (Topic 9)

You have installed some new libraries, but these are not available to programs and are not listed by ldconfig -p. What file should the path to the libraries be added to, before running ldconfig?

Answer: ld.so.conf

Explanation:

ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is used by the run-time linker, ld.so or ld-linux.so. ldconfig checks the header and file names of the libraries it encounters when determining which versions should have their links updated.

Some files:

/lib/ld.so run-time linker/loader

/etc/ld.so.conf File containing a list of colon, space, tab, newline, or comma spearated directories in which to search for libraries.

/etc/ld.so.cache File containing an ordered list of libraries found in the directories specified in /etc/ld.so.conf.

Question No: 234 – (Topic 9)

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

  1. patch gt; diff-file

  2. patch lt; diff-file

  3. patch lt;lt; diff-file

  4. cat diff-file gt;gt; kernel

  5. cat diff-file lt;lt; kernel

Answer: B Explanation:

patch takes a patch file patchfile containing a difference listing produced by the diff program and applies those differences to one or more original files, producing patched versions. Normally the patched versions are put in place of the originals.

Running patch command by taking input from the diff-file

Question No: 235 – (Topic 9)

A machine is running in single user mode and, as such, not all file-systems are accessible. What command must be run to make all of the other file-systems listed in

/etc/fstab accessible?

  1. mount -all

  2. mountfs -all

  3. mountfs -a

  4. mount -a

Answer: D

Question No: 236 – (Topic 9)

A new PCMCIA network card is not functioning correctly. To troubleshoot this, the socket information should be checked. How can this be done? Select two.

  1. cardctl info

  2. cardctl -s

  3. cardmgr -s

  4. cat /var/lib/pcmcia/stab

  5. cat /proc/pcmcia

Answer: B,D

Explanation:

Cardmgr monitors PCMCIA sockets for card insertion and removal events. When a card is inserted, cardmgr looks up the card in a database of known cards. If the card can be identified, appropriate device drivers will be loaded and bound to the card.

When a card is ejected, that cards drivers will be shut down and unloaded if possible. Based on the contents of the PCMCIA card configuration database, cardmgr may also execute arbitrary commands when appropriate cards are either inserted or removed.

All insertion and removal events, device driver loads and unloads, and startup and shutdown commands are reported in the system log file. Warnings and errors will also be logged. Current card and device information for each socket is recorded in

/var/lib/pcmcia/stab.

Cardctl is used to monitor and control the state of PCMCIA sockets. If a socket number is specified, the command will be applied to just one socket; otherwise, all sockets will be affected.

Question No: 237 – (Topic 9)

What information does the file modules.dep provide?

  1. A list of all modules available to the kernel.

  2. A list of modules required by each module.

  3. A list of devices and their module name.

  4. A list of modules compiled for this kernel.

  5. A list of modules the kernel needs to run.

Answer: B Explanation:

The modules.dep as generated by module-init-tools depmod, lists the dependencies for every module in the directories under /lib/modules/version.

Question No: 238 – (Topic 9)

A system has one hard disk, configured as master and connected to the primary IDE controller, and one CD writer, configured as slave and connected to the secondary IDE controller. If the system is correctly configured, which device is used to represent the CD writer?

  1. /dev/scd0

  2. /dev/hdd

  3. /dev/hdb

  4. /dev/sr1

  5. /dev/scd1

Answer: B

Explanation: IDE Device Recognition Primary Master/dev/hda

Primary Slave/dev/hdb Secondary Master/dev/hdc Secondary Slave/dev/hdd

According to question CD-ROM is connected as Secondary Slave so device named should be /dev/hdd.

Question No: 239 – (Topic 9)

When building an RPM package, which rpmbuild option is used to unpack sources and apply patches before proceeding with the next step?

  1. -ba

  2. -bb

  3. -bc

  4. -bs

  5. -bp

Answer: E

Question No: 240 – (Topic 9)

Consider the following excerpt from an RPM spec file:

Sumary: Complete Web authoring system for Linux Name: nvu

Version: 0.50

Release: 5

Source0: %(name)-%(version).tar.bz2 Patch0: nvu-freetype2.patch.bz2

Patch1: nvu-mozilla-1.1-system-myspell-dicts.patch.bz2 Patch2: nvu-mozilla-1.7-spellcheck-full-langname.patch.bz2 License: MPL/LGPL/GPL

Group: Development/Other Url: http://www.nvu.com

BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: libjpeg-devel libpng-devel libIDL-devel BuildRequires: zip tcsh

BuildRequires: gtk 2-devel gt;=2.2.0

Which TWO of the following sentences are true about this package?

  1. Package gtk 2-devel version 2.2.0 or higher needs to be present in the system before this nvu package may be installed.

  2. The file nvu-freetype2.patch.bz2 must be present in the SOURCES/PATCHES directory.

  3. The macro %_tmppath must be defined in system-wide or in local configuration files.

  4. The nvu-0.50.tar.bz2 will be unpacked into %{_tmppath}/%{name}-buildroot.

  5. The nvu-0.50.tar.bz2 file contains pristine sources for nvu.

Answer: A,E

100% Ensurepass Free Download!
Download Free Demo:201-400 Demo PDF
100% Ensurepass Free Guaranteed!
201-400 Dumps

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.