[Free] 2018(Jan) EnsurePass Examcollection LPI 201-400 Dumps with VCE and PDF 191-200

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

LPIC-2 Exam 201

Question No: 191 CORRECT TEXT – (Topic 8)

You would like to temporarily change your command line editor to be vi. What command should you type to change it?

Answer: set -o vi

Explanation: The readline support in the bash shell defaults to emacs editing mode. You can easily switch that to vi mode by issuing the following command: set -o vi. This will last until you logoff. The next time you log on, the default editing mode will be used.

Question No: 192 – (Topic 8)

What file will show you the IRQs being used by different hardware devices?

  1. /proc/interrupts

  2. /proc/irqs

  3. /proc/irq

  4. /proc/int

  5. /proc/ints

Answer: A

Explanation: The IRQs being used by the hardware devices are listed in the

/proc/interrupts file.

Reference: http://linuxcommand.org/man_pages/lsdev8.html

Incorrect Answers

B:The IRQs are not listed in the /proc/irqs file. C:The IRQs are not listed in the /proc/irq file. D:The IRQs are not listed in the /proc/int file. E:The IRQs are not listed in the /proc/ints file.

Question No: 193 – (Topic 8)

When an ext2 partition is formatted, a fixed percentage of the blocks on the disk are reserved for use by the root user. After the filesystem has been created this percentage can be modified using which utility?

  1. tune2fs

  2. mke2fs

  3. e2fsck

  4. mount

  5. hdparm

Answer: A

Explanation: The tune2fs utility can be used to modify the reserved blocks. For example, the tune2fs – u lt;usernamegt; command can be used to allow a user to use the reserved blocks.

Reference: http://www.oreillynet.com/linux/cmd/t/tune2fs.html

Question No: 194 – (Topic 8)

You have added a new file system to /etc/exports, but users complian that they still get “Permission denied” errors when they try to mount the new file system. Which of the following is the best solution to this problem?

  1. Reboot the server.

  2. Add the option (no_root_squash) to the entry already added.

  3. Restart NFS.

  4. Run the command exportfs -a

  5. Run the command export -nfs.

Answer: D

Explanation: The exportfs command makes local directories available for Network File System (NFS) clients to mount. This command is normally invoked during system startup by the /etc/rc.nfsfile and uses information in the /etc/exports file to export one or more directories, which must be specified with full path names.

The /etc/xtab file lists directories that are currently exported. To display this file, enter the exportfs command without flags or arguments. To alter the file or to alter the characteristics of one of its directories, root users can edit the /etc/exports file and run the exportfs command. The -a option exports all directories listed in the /etc/exports file. Such alterations can be done at any time. Never edit the /etc/xtab file directly.

Reference: http://www.unet.univie.ac.at/aix/cmds/aixcmds2/exportfs.htm

Incorrect Answers

A:It is not necessary to reboot the server. The exportfs command can be run at any time.

B:The no_root_squash option is used to allow root permission to an exported directory to the root user on a remote machine.

C:It is not necessary to restart NFS.

E:Export -nfs is the wrong command.

Question No: 195 – (Topic 8)

You want to compile a kernel with an experimental change that is distributed in “patch” format. However, you want to make sure that the patch works correctly before changing the original kernel source code. How can you test the patch before actually applying it?

  1. patch -p1

  2. patch -context

  3. patch -unified

  4. patch -dry-run

Answer: D

Explanation: The patch -dry-run command is used to test a patch before applying it. This will produce a text output listing all the files that would be patched. If there are no ‘Failed’ messages, then the patch is safe to install.

Reference: http://www.hmug.org/man/1/patch.html

Incorrect Answers

A:Patch -p1 will apply the patch.

B:Patch -context will apply the patch as a ‘context diff’ file.

C:Patch -unified will apply the patch as a ‘unified diff’ file.

Question No: 196 CORRECT TEXT – (Topic 8)

The easiest, most basic form of backing up a file is to it to another location.

Answer: copy

Explanation: The easiest way to backup a file is to copy it to another location. Having a backup copy of a file is always recommended.

Question No: 197 – (Topic 8)

You have compiled and installed a new kernel on your SCSI based machine. After installing the new kernel, the boot process stops at a point with the error “VFS PANIC: Unable to mount root FS.” You can boot again off the old kernel without any problems. Given that /etc/modules.conf is correct and that the SCSI controller is selected as a module in the kernel, what most likely is the cause?

  1. The module failed to build.

  2. The new kernel can’t initialize the SCSI controller.

  3. There is no initrd image for the new kernel.

  4. SCSI disk support isn’t enabled in the kernel.

  5. SCSI generic support isn’t enabled in the kernel.

Answer: C

Explanation: The question states that that the machine is SCSI based and you can boot to the old kernel.

This indicates that the system is successfully booting from the SCSI drive (when using the old kernel). The SCSI controller module needs to be loaded at boot time before the system is able to mount the root file system. To load the SCSI controller module at boot time, you need an initrd image for the new kernel.

Reference: http://www.linuxhelp.co.za/RedHat61/rhref/s1-sysadmin-build-kernel.htm#S2- SYSADMIN-INITRD

Incorrect Answers

A:It is unlikely that the module failed to build.

B:The new kernel can’t initialize the SCSI controller. However, the reason for this is most likely to be that there is no initrd image for the new kernel.

D:SCSI support can be loaded as a module if an initrd image exists. It does not have to be enabled (compiled) in the kernel.

E:SCSI support can be loaded as a module if an initrd image exists. It does not have to be

enabled (compiled) in the kernel.

Question No: 198 – (Topic 8)

You are entering a long, complex command line and you reach the right side of your screen before you have finished typing. You want to finish typing the necessary commands but have the display wrap around to the left. Which of the following key combinations would achieve this?

  1. Esc, /, Enter

  2. \, Enter

  3. ctrl-d, enter

  4. esc, /, ctrl-d

Answer: B

Explanation: There is a way to enter a long command such that it will be broken at the end of the top line and continued on the next. This can be accomplished by typing a backslash (\) character before pressing enter at the breakpoint, as follows:

$ echo This is a long command so why not break it here \

gt; and start on the next line. lt;entergt; which gives as output:

This is a long command so why not break it here and start on the next line.

The gt; is the shell#39;s way of letting the user know that the current line is a continuation of the previous line.

Reference: http://pneuma.phys.ualberta.ca/~gingrich/research/shells/node13.html

Incorrect Answers

A:This key combination will not wrap the text.

C:This key combination will not wrap the text.

D:This key combination will not wrap the text.

Question No: 199 CORRECT TEXT – (Topic 8)

The command flushes the filesystem buffers and ensures that the changes that you have made to a file are written to disk.

Answer: sync

Explanation: The sync command is used to flush the filesystem buffers and ensures that the changes that you have made to a file are written to disk. When you shutdown the system, the system runs the sync command to flush the buffers to disk, but the command can be manually entered at any time.

Question No: 200 – (Topic 8)

You need to use grep to search for specific log entries. Given the following three log entries, which grep command will match only one line? Assume that every pattern matches at least one line.

Jun 16 01:46:18 hostname pumpd[10]: PUMP: got an offer

Jun 17 21:52:28 hostname kernel: SCSI subsystem driver Revision: 1.00 Jul 20 11:09:01 hostname /USR/SBIN/CRON[1800]: (mail) CMD runq

A. grep “hostname\ [^\]*\[A-Z]*:”

B. grep “Ju[I-Z]\[0-9].*:.1”

C. grep “hostname,*[pumpd]*[10]” D. grep “[0-9]:[1-8]*\ host.*\(.*\)” E. grep “US*[^]]*]*:”

Answer: D

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
Free VCE Simulator Yes No No
Instant Download Yes No No

This entry was posted in 201-400 Latest Exam (Jan 2018) and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

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