Testking offers free demo for 201-400 exam. "LPIC-2 Exam 201 Part 1 of 2 version 4.0", also known as 201-400 exam, is a LPI Certification. This set of posts, Passing the LPI 201-400 exam, will help you answer those questions. The 201-400 Questions & Answers covers all the knowledge points of the real exam. 100% real LPI 201-400 exams and revised by experts!
Q1. - (Topic 2)
Which commands are used to load modules into the Linux kernel? (Choose TWO correct answers.)
A. insmod
B. loadmod
C. kernload
D. modprobe
E. probemod
Answer: A,D
Q2. - (Topic 8)
Which of the following parameters in your smb.conf file specifies the relationship between Windows/SMB usernames and Linux/UNIX usernames?
A. smb usernames = /etc/smbusers
B. username map = /etc/smbusers
C. map usernames = lowercase nospace
D. smb usernames = map to same unix name
E. 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.
Q3. - (Topic 5)
The correct command sequence to create and mount logical volumes on a Linux system is:
A. lvcreate, pvcreate, vgcreate, mkfs, mount
B. pvcreate, vgcreate, lvcreate, mkfs, mount
C. vgcreate, lvcreate, pvcreate, mount, mkfs
D. mkfs, pvcreate, vgcreate, lvcreate, mount
E. pvcreate, lvcreate, vgcreate, mkfs, mount
Answer: B
Q4. - (Topic 6)
The following is an excerpt from the output of tcpdump -nli eth1:
13:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.21: Flags [.], ack 1 (truncated)
13:03:17.598624 IP 192.168.5.112.21 > 192.168.123.5.1065: Flags [P.], seq (truncated)
Which network service or protocol was used?
A. FTP
B. HTTP
C. SSH
D. DNS
E. DHCP
Answer: A
Q5. CORRECT TEXT - (Topic 3)
Please enter the complete path to the main SysV init process configuration file.
Answer:
/etc/inittab
Q6. - (Topic 8)
You need to copy all the files and directories contained in the home directory to another location. What utility can you use for this?
A. cpio
B. cp
C. mv
D. mvdir
Answer: B
Explanation: The ‘cp’ command is used to copy files or directories from one location to another. The –r option makes the command recursive which means it will copy and entire directory structure from one location to another.
Reference: http://squat.net/puscii/doc/pxii-cursus/copy-mv.html
Incorrect Answers
A:The cpio command can be used to copy all the files into a single archive file at another location. However, it would be easier to copy the contents of the /home directory with the cp command. The cpio command is often used to create tape backups of Linux systems.
C:The ‘mv’ command is used to move files, not copy them.
D:The ‘mvdir’ command is used to move directories, not copy them.
Q7. - (Topic 4)
What is the main template file used by autofs?
A. default.maps
B. auto.conf
C. auto.master
D. autofs.master
Answer: C
Q8. - (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?
A. The module failed to build.
B. The new kernel can’t initialize the SCSI controller.
C. There is no initrd image for the new kernel.
D. SCSI disk support isn’t enabled in the kernel.
E. 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.