Free 201-450 Exam Braindumps

Pass your LPIC-2 Exam 201 Part 1 of 2 version 4.5 exam with these free Questions and Answers

Page 6 of 33
QUESTION 21

Which /etc/hosts.allow entries will permit access to sshd for users from the 192.168.1.0/24 subnet? (Choose TWO correct answers.)

  1. A. sshd : 192.168.1.
  2. B. sshd : 192.168.1
  3. C. sshd : 192.168.1.0 netmask 255.255.255.0
  4. D. sshd : 192.168.1.0/255.255.255.0
  5. E. sshd : 192.168.1.0

Correct Answer: AD

QUESTION 22

In case the file containing the Linux kernel is lost, what happens when the system is booting?

  1. A. The system starts normally since the bootloader copies the kernel to the master boot record of the hard disk.
  2. B. Instead of the kernel, the initramfs is loaded and instructed to mount the root filesystem and reinstall the kernel from the original package or from source.
  3. C. The bootloader mounts the root filesystem read-only and launches /bin/sh directly in order to allow the administrator to reinstall the kernel.
  4. D. Without a kernel a system cannot boot and, depending on the bootloader, an error is displayed.

Correct Answer: D

QUESTION 23

Consider the following /etc/fstab file:
/dev/hda1 swap swap defaults 0 0
/dev/hda2 / ext2 defaults 1 1
/dev/hda3 /home ext2 defaults 1 2
none /proc proc defaults 0 0
/dev/sdb1 /media/usb0 vfat user,noauto 0 0
What is one of the possible commands that an ordinary (non-root) user can use to mount the /dev/sdb1 partition on the /media/usb0 mount point? (Please enter the command with all parameters and/or options but without any file system type options.)
Solution:
mount /dev/sdb1, mount /media/usb0, /bin/mount /dev/sdb1, /bin/mount /media/usb0, mount /media/usb0/,
/bin/mount /media/usb0/

Does this meet the goal?

  1. A. Yes
  2. B. No

Correct Answer: A

QUESTION 24

How can the label root be added to the ext2 filesystem on /dev/sda1?

  1. A. relabel /dev/sda1 root
  2. B. tune2fs -L root /dev/sda1
  3. C. echo 'root' > /proc/fs/sda1/label
  4. D. labelfs --device /dev/sda1 root

Correct Answer: B

QUESTION 25

Which file tells GRUB the paths of the filesystem partitions in both Linux format and in the GRUB syntax? (Specify the file name only with no path information)
Solution:
device.map

Does this meet the goal?

  1. A. Yes
  2. B. No

Correct Answer: A

Page 6 of 33

Post your Comments and Discuss LPI 201-450 exam with other Community members: