[Free] 2018(Jan) EnsurePass Passguide LPI 201-400 Dumps with VCE and PDF 141-150

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: 141 – (Topic 8)

To allow a user to mount a CD and read from it, which entry should be put into /etc/fstab?

  1. /dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0

  2. /dev/cdrom /mnt/cdrom iso9660 noauto,uid=user,gid=group,ro 0 0

  3. /dev/cdrom /mnt/cdrom iso9660 noauto,User,ro 0 0

  4. /dev/cdrom /mnt/cdrom iso9660 noauto,usermap,ro 0 0

  5. /dev/cdrom /mnt/cdrom iso9660 noauto,owners,ro 0 0

Answer: A

Explanation: This entry in the fstab file allows any user to mount the CD-ROM (/dev/cdrom) in the /mnt/cdrom directory. Iso9660 is the file system for the CD-ROM. Noauto means that the CD-ROM won’t be automatically mounted when the system boots. The first ‘0’ means that the CD-ROM shouldn’t be backed up and the second ‘0’ means that the CD-ROM file system shouldn’t be checked for errors when the machine boots.

Reference: Roderick W. Smith. Sybex Linux Study Guide: Page 400/1.

Question No: 142 – (Topic 8)

On a running system, where can you find specific information about the partition tables, such as major and minor device numbers, and number of blocks?

  1. /proc/partitions

  2. /proc/cpuinfo

  3. /proc/fstab

  4. /etc/partitions

  5. /etc/fstab

Answer: A

Explanation: The /proc/partitions file contains information about the partition tables, such as major and minor device numbers, and number of blocks.

Reference: http://www.goavatar.com/linux_pcmcia.htm

Incorrect Answers

B:The /proc/cpuinfo file contains information about the CPU, not the disks.

C:The /proc/fstab file contains information about mounted filesystems and permissions on the filesystems. It does not contain information such as the number of blocks.

D:The partitions file is in the /proc directory, not /etc.

E:The fstab file is in the /proc directory, not /etc.

Question No: 143 – (Topic 8)

Which of the following parameters in your smb.conf file specifies the relationship between Windows/SMB usernames and Linux/UNIX usernames?

  1. smb usernames = /etc/smbusers

  2. username map = /etc/smbusers

  3. map usernames = lowercase nospace

  4. smb usernames = map to same unix name

  5. usernames map = /etc/windows-usernames.map

Answer: B

Explanation: To map Windows usernames to Linux/UNIX usernames, you would specify the username map = /etc/smbusers parameter in the smb.conf file. You would then add mappings for each user account in the smb.conf file. For example, windows_username = linux_username.

Reference: http://www.mandrakeuser.org/docs/connect/csamba2.html

Incorrect Answers

A:smb usernames = /etc/smbusers is the wrong syntax for this parameter.

C:map usernames = lowercase nospace is the wrong syntax for this parameter.

D:smb usernames = map to same unix name is the wrong syntax for this parameter.

E: usernames map = /etc/windows-usernames.map is the wrong syntax for this parameter.

Question No: 144 – (Topic 8)

Assuming modules for all supported filesystems have been loaded, which file contains a list of filesystems that can be currently mounted on the system?

  1. /proc/filesystems

  2. /dev/filesystems

  3. /etc/filesystems

  4. /var/fs/filesystems

  5. /etc/config/filesystems

Answer: A

Explanation: In the file /proc/filesystems you can find which filesystems your kernel currently supports. (If you need a currently unsupported one, you’ll need to insert the corresponding module or recompile the kernel.)

Reference: http://www.fifi.org/cgi-bin/man2html/usr/share/man/man5/fs.5.gz

Incorrect Answers

B:The list of currently supported filesystems is in the filesystems file in the /proc directory, not the /dev directory.

C:The list of currently supported filesystems is in the filesystems file in the /proc directory, not the /etc directory.

D:The list of currently supported filesystems is in the filesystems file in the /proc directory, not the /var/fs directory.

E:The list of currently supported filesystems is in the filesystems file in the /proc directory, not the /etc/config directory.

Question No: 145 CORRECT TEXT – (Topic 8)

You wish to restore the file memo.ben which was backed up in the tarfile MyBackup.tar. What command should you type?

Answer: tar xf MyBackup.tar memo.ben

Explanation: Tarfiles are created using the ‘tar’ utility. Therefore, you should use the ‘tar’ utility to extract the files. The x option is to extract and the f option is to specify a filename to extract from.

Question No: 146 – (Topic 8)

How would you find out the version of the kernel in /usr/src/linux?

  1. cat /usr/src/linux/.version

  2. cat /usr/src/linux/VERSION

  3. Look in the README

  4. head -4 /usr/src/linux/Makefile

Answer: D

Explanation: The head command is used to display the first few lines of a file. The default is 10 lines but you can specify a number (in this case 4). The makefile is a script the tells the make utility how to build a program or programs (in this case, the kernel). Most makefiles contain comments at the top of the file which describe the program and version information.

Reference: http://www.opussoftware.com/tutorial/TutMakefile.htm

Incorrect Answers

A: .version doesn’t usually exist as a subdirectory of file. Rather, it is usually a directory

/usr/src/linux.version or /usr/src/linux[VERSION] containing the kernel source.

B:VERSION doesn’t usually exist as a subdirectory of file. Rather, it is usually a directory

/usr/src/linux.version or /usr/src/linux[VERSION] containing the kernel source.

C: There usually isn’t a README file containing version information.

Question No: 147 CORRECT TEXT – (Topic 8)

In order to display the last five commands you have entered using the fc command, you would type .

Answer: fc -l -5

Explanation: The -l option used with the fc commands is used to list the previously entered commands. You can specify how many commands to list with the -lt;numbergt; option after the -l option, for example, fc -l -5.

Question No: 148 CORRECT TEXT – (Topic 8)

The command can be used to change the default root device hardcoded into a kernel image.

Answer: rdev

Explanation: The rdev command is used to change the default root device hardcoded into a kernel image.

Question No: 149 – (Topic 8)

What would be displayed as the result of issuing the command ps ef?

  1. A listing of the users running processes formatted as a tree.

  2. A listing of the stopped processes.

  3. A listing of all the running processes formatted as a tree.

  4. A listing of all system processes formatted as a tree.

Answer: A

Explanation: Without any options, the ps command displays the running processes associated with the current user ID. The e option displays the processes’ environment and the f option displays the processes in a tree format, illustrating the relationship between parent and child relationships.

Reference: http://www.oreillynet.com/linux/cmd/p/ps.html

Incorrect Answers

B:Only the running processes are listed, not the stopped processes. C:You would need the a option to display all the running processes. D:Only the user processes are listed, not the system processes.

Question No: 150 – (Topic 8)

You have created a local ext2 file system on the third partition of your first IDE disk drive. You want to facilitate easy manual mounting but you DO NOT wish the filesystem to be automatically mounted at a boot. What is the correct /etc/fstab entry?

  1. /dev/hda3/newfilesystem ext2 noboot 0 1

  2. /newfilesystem /dev/hda3 ext2 defaults 0 1

  3. /newfilesystem ext2 /dev/hda3 user 0 1

  4. /dev/hda3/newfilesystem ext2 noauto 0 1

  5. /dev/hda3 ext2 /newfilesystem defaults 0 -1

Answer: D

Explanation: /dev/hda3 indicates the 3rd partition on the first IDE hard disk (hda). Ext2 indicates the filesystem type. Noauto means that the filesystem will not be automatically mounted. The first ‘0’ means that the filesystem shouldn’t be backed up and the 1 means that the filesystem should be checked for errors when the machine boots.

Reference: http://www.humbug.org.au/talks/fstab/fstab_options.html

Incorrect Answers

A:Noboot is an incorrect option.

B:The syntax of this command (the path of the filesystem) is incorrect.

C:The syntax of this command (the path of the filesystem) is incorrect.

E:The defaults option will use the default fstab options. The default is to automatically mount the filesystem at boot time.

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