
Exam Questions and Answers for 201-450 Study Guide Questions and Answers!
LPIC-2 Exam 201, Part 1 of 2, version 4.5 Certification Sample Questions and Practice Exam
NEW QUESTION 20
Due to extreme system use, a Linux system requires some additional swap space. To initialize 5 GB of additional swap space, which combination of commands should be used?
- A. mkswap /tmp/swapfile 512000; swapon /tmp/swapfile
- B. touch -5G /tmp/swapfile; swapon /tmp/swapfile
- C. dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile;
swapon /tmp/swapfile - D. dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile;
mount /tmp/swapfile - E. dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swapon /tmp/swapfile
Answer: C
NEW QUESTION 21
What is the purpose of the smartd daemon?
- A. It monitors certain disk drives and attempts to predict when they will fail.
- B. It attempts to automatically repair file systems upon a failed file system check.
- C. It is a user space daemon used for reading smart cards and integrated circuit chips.
- D. It monitors process activity and helps the kernel decide which processes to kill when the kernel overcommits.
Answer: A
NEW QUESTION 22
Which of the following commands will erase the contents of the /dev/sdb3 partition?
- A. rm /dev/sdb3
- B. dd of=/dev/zero if=/dev/sdb3
- C. umount /dev/sdb3
- D. dd if=/dev/zero of=/dev/sdb3
Answer: D
NEW QUESTION 23
Which of the following is a side effect of extensive usage of swap space?
- A. Since processes always exist completely in either RAM or swap, regular RAM may become unused if the kernel does not move processes back from the swap space to memory.
- B. The root filesystem may become full because swap space is always located on the system root partition.
- C. Applications need to restart because their virtual memory addresses change to reflect memory relocation to the swap address area.
- D. The memory may become fragmented and slow down the access to memory pages.
However, this can be kept to a minimum by the regular use of memfrag -d. - E. The overall system performance may degrade because of heavy hard disk use and memory reorganization.
Answer: E
NEW QUESTION 24
On a Linux node with multiple active network interfaces, each having a default route to the Internet, which default route is preferred?
- A. The default route with the lowest TTL value
- B. The default route with the highest TTL value
- C. The default route with the highest metric value
- D. The default route with the highest MTU value
- E. The default route with the lowest metric value
Answer: E
NEW QUESTION 25
After changing the default runlevel in the SysV-init configuration file, the system boots in a different than intended runlevel. Where else could this different runlevel be defined?
- A. In the /etc/rc.d/rc.local file
- B. In the /boot/initramfs file
- C. In the boot loader configuration file
- D. In the /etc/runlevel file
- E. In the /etc/sysctl.conf
Answer: C
NEW QUESTION 26
A web application server contains 64GB of RAM and two swap partitions on normal hard disk drives, each with a size of 64 GB. Within the last month, the average number of user sessions on this server has grown by 20 percent. At the same time, the average usage of RAM increased from 65 to 75 percent, while the swap space is almost not used at all. It is expected that the number of user sessions will continue to increase by about 15 to 20 percent each month. Which of the following reactions would be appropriate in response to these observations? (Choose two.)
- A. Move the web application's scripts and content a ram disk in order to ensure fast access and to avoid the need for swap space
- B. Update the hardware to increase the amount of available RAM to avoid using swap space
- C. Create a RAID 1 device on the two swap partitions to avoid data loss in case swap space has to be used in the future
- D. Delay any hardware upgrade until there is a significant consumption of swap space to ensure an efficient usage of the available hardware
- E. Consider the installation of an additional application server to distribute the load if the expected growth continues over several months
Answer: B,E
NEW QUESTION 27
In the following output from top, which processes contribute to the percentage of time that the CPU spends in the state of wa?
Tasks: 193 total, 1 running, 190 sleeping, 2 stopped, 0 zombie
Cpu(s): 0.5%us, 0.3%sy, 0.0%ni, 98.2%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st
- A. Processes that have not been scheduled yet because they haven't been fully loaded into RAM or are in swap.
- B. Processes waiting for user interaction.
- C. Processes that were already closed and are waiting to be launched again.
- D. Processes waiting for IO operations to complete.
Answer: D
NEW QUESTION 28
Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote host deltaur using the remote user account kevin?
- A. rsync -a -u kevin -e ssh deltaur:/var/tmp/ fyf/
- B. rsync -a -e ssh kevin@deltaur:/var/tmp/ fyf/
- C. rsync -a -e ssh fyf/ kevin@deltaur:/var/tmp/
- D. rsync -a -u kevin -e ssh fyf/ deltaur:/var/tmp/
Answer: C
NEW QUESTION 29
Which single command simulates a failed device within a RAID 5 array?
- A. mdadm --force-fault /dev/md2 /dev/sde2
- B. mdadm --fail /dev/md0 /dev/sdc1
- C. mdadm --zero-superblock /dev/sdf3
- D. mdadm --remove /dev/md0 /dev/sdd1
- E. mdadm /dev/md0 --offline /dev/sdc1
Answer: B
NEW QUESTION 30
Which of the following is an example path to a Linux software RAID array?
- A. /dev/raid0
- B. /dev/md1
- C. /dev/rd1
- D. /dev/pr0
Answer: B
NEW QUESTION 31
What is the purpose of an initramfs during the Linux system start?
- A. It copies the root file system's content to RAM to speed up the system and reduce writes to disk
- B. It moves the kernel from normal system memory to initram memory to speed up kernel access
- C. It creates a ram disk to store volatile data for directories like /tmpto reduce writes to disk
- D. It loads required modules and starts sub sytems like LVM to make the root file system accessible to the kernel
Answer: D
NEW QUESTION 32
Which of the following commands will list the IPv4 neighbors of the current system? This includes IP and MAC addresses. (Choose TWO correct answers.)
- A. netstat -al
- B. ifconfig -lv eth0
- C. ip neigh show
- D. arp
Answer: C,D
NEW QUESTION 33
CORRECT TEXT
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.)
Answer:
Explanation:
mount /dev/sdb1, mount /media/usb0, /bin/mount /dev/sdb1, /bin/mount/media/usb0, mount /media/usb0/, /bin/mount /media/usb0/
NEW QUESTION 34
Which two LVM commands are missing from the following sequence which is used to create a logical volume and make use of it on a Linux system?
pvcreate, ___________, __________, mkfs, mount
- A. lvmcreate, vgcreate
- B. vgcreate, lvcreate
- C. vgcreate, mdadm
- D. lvcreate, mdadm
- E. lvcreate, vgcreate
Answer: B
NEW QUESTION 35
Under which of the following circumstances would the command ping output the string (DUP!)?
- A. When the ICMP packets are send to a broadcast address and multiple hosts respond.
- B. When the host being sent ICMP packets is on a different network.
- C. When the router responds to the ICMP packet in addition to the host receiving the ICMP packets.
- D. When the host sending the ICMP packet is the same host as the one receiving the ICMP packets.
Answer: A
NEW QUESTION 36
The following is an excerpt from the output of tcpdump -nli eth1 'udp':
1 3:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.53: 43653+ A? lpi.org. (25)
1 3:03:17.598624 IP 192.168.5.112.53 > 192.168.123.5.1065: 43653 1/0/0 A 198.51.100.42 (41) Which network service or protocol was used?
- A. FTP
- B. SSH
- C. HTTP
- D. DHCP
- E. DNS
Answer: E
NEW QUESTION 37
CORRECT TEXT
What is the device name for the first SCSI tape drive on a system when used without automatic rewinding after each write operation? (Please specify the full path to the device.)
Answer:
Explanation:
/dev/nst0
NEW QUESTION 38
What are the main network services used by the PXE protocol? (Choose TWO correct answers.)
- A. DNS
- B. NFS
- C. DHCP
- D. TFTP
- E. HTTP
Answer: C,D
NEW QUESTION 39
The main configuration file for autofs has this entry:
/home /etc/auto.home
What is the meaning of the /etc/auto.home file?
- A. It has the indirect maps for the mounting of file systems.
- B. It has configuration information, such as passwords and keys, for the remote file server.
- C. It is the holds the SSL key to allow authentication to the remote file server.
- D. It has configuration information on settings for the /home mount point.
Answer: A
NEW QUESTION 40
Which of the following are common backup systems used in Linux? (Choose TWO correct answers.)
- A. BREWBackup
- B. SARcheck
- C. Bacula
- D. Amanda
- E. DrBackup
Answer: C,D
NEW QUESTION 41
What action should be performed after increasing the size of a logical volume?
- A. Run lvresize.
- B. Increase the size of the filesystem used for the logical volume.
- C. Run vgresize.
- D. Remount the logical volume.
Answer: B
NEW QUESTION 42
In the following output, what is the 5 minute load average for the system?
# uptime
12:10:05 up 18 days, 19:00, 2 users, load average: 0.47, 24.71, 35.31
- A. There is no 5 minute interval. It is some value between 24.71 and 35.31.
- B. 24.71
- C. 35.31
- D. 0.47
- E. There is no 5 minute interval. It is some value between 0.47 and 24.71.
Answer: B
NEW QUESTION 43
Fill in the blank.
What command ensures that the file systems are written to disk after a lot of write operations?
(Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
sync
NEW QUESTION 44
A network client has an Ethernet interface (eth0) configured with an IP address in the subnet 192.168.0.0/24.
This subnet has a router, with the IP address 192.168.0.1, that connects this subnet to the Internet. Which of the following commands can be used on the client to enable it to use the router as its default gateway?
(Choose two.)
- A. route add default gw 192.168.0.1 eth0
- B. ifconfig eth0 defaultroute 192.168.0.1
- C. echo defaultroute 192.168.0.1 >>/etc/resolv.conf
- D. ip route add default via 192.168.0.1
- E. route add defaultgw=192.168.0.1 if=eth0
Answer: A,D
NEW QUESTION 45
......
201-450 certification dumps - LPIC 2 201-450 guides - 100% valid: https://www.real4dumps.com/201-450_examcollection.html
100% Pass Your 201-450 at First Attempt with Real4dumps: https://drive.google.com/open?id=1kdDLALjQkPZ8xKSJGPZX1--nYIntX9Ka

