
201-450 Exam PDF [2024] Tests Free Updated Today with Correct 367 Questions
Lpi 201-450 Exam Preparation Guide and PDF Download
NEW QUESTION # 202
What is the purpose of udevmonitor?
- A. Listen to kernel events produced by a udev rule and print information to the console
- B. Communicates with D-Bus to setup new devices
- C. Monitors the udev process and prints performance statistics to the console
- D. Monitors the /dev directory for new devices
Answer: A
NEW QUESTION # 203
Which of the following is a side effect of extensive usage of swap space?
- A. Applications need to restart because their virtual memory addresses change to reflect memory relocation to the swap address area.
- B. 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. - C. The overall system performance may degrade because of heavy hard disk use and memory reorganization.
- D. 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.
- E. The root filesystem may become full because swap space is always located on the system root partition.
Answer: C
NEW QUESTION # 204
CORRECT TEXT
According to the Filesystem Hierarchy Standard (FHS), what is the path to the Linux kernel source and may be a symbolic link to the real Linux source code? (Please specify the full path with no version information.)
Answer:
Explanation:
/usr/src/linux, /usr/src/linux/
NEW QUESTION # 205
CORRECT TEXT
What command is used to send messages to all users currently logged in? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
wall
NEW QUESTION # 206
When configuring a new kernel, what file under /usr/src/linux/ contains the configuration?
Answer:
Explanation:
.config
NEW QUESTION # 207
You have written a little startup script (/usr/local/bin/startup.sh) that should automatically execute when entering runlevel 3. According to the standards, how can this best be achieved?
- A. chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln -s /usr/local/bin/startup.sh S99startup.sh
- B. chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln -s /user/local/bin/startup.sh
- C. chmod 700 /usr/local/bin/startup.sh; cp /user/local/bin/startup.sh /etc/init.d/rc3.d/S99Startup.sh
- D. chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln /user/local/bin/startup.sh
- E. chmod 700 /usr/local/bin/startup.sh; cd/etc/init.d/rc3.d/; ln -s /user/local/bin/startup.sh/usr/locl/bin/startup.sh
Answer: A
NEW QUESTION # 208
You need to recover some data from a magnetic tape and it is the second file on the media. The following command is being attempted:
mt -f /dev/nst0 _______
What is the mt operation that will position the tape on the first block of the second file? (Please specify the operation with no other parameters)
Answer:
Explanation:
asf 2
NEW QUESTION # 209
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. HTTP
- B. DNS
- C. FTP
- D. SSH
- E. DHCP
Answer: B
NEW QUESTION # 210
Which of the filter keywords below could be used in the following command:
tcpdump -i eth0 ____________ 203.0.113.8
(Choose three.)
- A. host
- B. ip
- C. ipv6
- D. src
- E. dst
Answer: A,D,E
NEW QUESTION # 211
A regular user has just run
./configure && make && make install
to build and install a program. However, the installation fails. What could be done to install the program?
(Choose two.)
- A. Install the binaries manually with suinstall
- B. Do not run ./configurein order to maintain the default configuration for correct installation
- C. Rerun ./configurewith a --prefix option where the user has permissions to write
- D. Run make install_local to install into /usr/local/
- E. Run make install with root privileges
Answer: C,E
NEW QUESTION # 212
A Linux server running systemd booted to rescue.targetfor maintenance. Which commands are used to restore the server to its usual target? (Choose two.)
- A. systemctl reboot
- B. telinit 0
- C. systemctl emergency
- D. systemctl default
- E. sync
Answer: B,D
NEW QUESTION # 213
Please enter the complete path to the main SysV init process configuration file.
Answer:
Explanation:
/etc/inittab
NEW QUESTION # 214
The following command has just been run successfully:
Cd /opt; tar xvf /dev/nst0;
What will happen if the command sequence is run again?
- A. An error saying that there is no tape present is generated because the tape has been ejected after being used
- B. The entire contents of /opt will be replaced with the contents of the next file on the tape
- C. The contents of /opt will be restored again
- D. The contents of /optwill have additional content added from the next file on the tape
Answer: D
NEW QUESTION # 215
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. What needs to be done on the client to enable it to use the router as its default gateway? (Choose TWO correct answers.)
- A. route add defaultgw=192.168.0.1 if=eth0
- B. echo defaultroute 192.168.0.1 >> /etc/resolv.conf
- C. route add default gw 192.168.0.1 eth0
- D. ip route add default via 192.168.0.1 dev eth0
- E. ifconfig eth0 defaultroute 192.168.0.1
Answer: C,D
NEW QUESTION # 216
Which archive format is used to create an initramfs image?
- A. gzip
- B. bzip2
- C. cpio
- D. RAR
- E. tar
Answer: C
NEW QUESTION # 217
Which commands below are useful to collect data about remote filesystem connections? (Choose TWO correct answers.)
- A. sadf
- B. cifsiostat
- C. pidstat
- D. nfsiostat
Answer: B,D
NEW QUESTION # 218
What command is used to permanently set the options in the kernel when making a boot disk?
- A. kconfig
- B. lilo
- C. rdev
- D. blockdev
- E. dd
Answer: C
NEW QUESTION # 219
Which of the following configuration files are used by tcpwrapper?
- A. /etc/tcpd.allow and etc/tcpd.deny
- B. /etc/tcpwrapper.allow and /etc/tcpwrapper.deny
- C. /etc/hosts.allow and /etc/hosts.deny
- D. /etc/service.allow and /etc/service.deny
Answer: C
NEW QUESTION # 220
Which of the following init systems comes along with an own UEFI boot loader?
- A. SysVinit
- B. launchd
- C. systemd
- D. OpenRC
- E. Upstart
Answer: C
Explanation:
Explanation
NEW QUESTION # 221
Due to extreme system use, a Linux system requires some additional swap space. To initialize
5GB of additional swap space, which combination of commands should be used?
- A. dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; swapon
/tmp/swapfile - B. mkswap /tmp/swapfile 512000; swapon /tmp/swapfile
- C. dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; mount
/tmp/swapfile - D. touch -5G /tmp/swapfile; swapon /tmp/swapfile
- E. dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swapon /tmp/swapfile
Answer: A
NEW QUESTION # 222
After calling ./configure with its appropriate parameters and no errors, what would be the next command to run?
Answer:
Explanation:
make all -or- make
NEW QUESTION # 223
A system has one hard disk, configured as master and connected to the primary IDE controller, and one CD writer, configured as slave and connected to the secondary IDE controller. If the system is correctly configured, which device is used to represent the CD writer?
- A. /dev/scd1
- B. /dev/sr1
- C. /dev/hdd
- D. /dev/hdb
- E. /dev/scd0
Answer: C
NEW QUESTION # 224
How is the source code for the main Linux kernel modules distributed?
- A. The kernel modules are downloaded on demand as they are used during compilation.
- B. It is provided as a separate download alongside the Linux kernel source code of the same version.
- C. The kernel modules have their own release cycle and can be maintained separately from the Linux kernel source.
- D. It is included with the Linux kernel source code.
Answer: D
NEW QUESTION # 225
You type sysctl -a as root. What can you expect to have happen?
- A. The computer will reboot immediately.
- B. All processes with invalid PPID values will be terminated.
- C. You will see a list of kernel keys and their values.
- D. You will see an error message describing the correct use of sysctl.
Answer: C
NEW QUESTION # 226
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. What needs to be done on the client to enable it to use the router as its default gateway? (Choose TWO correct answers.)
- A. route add defaultgw=192.168.0.1 if=eth0
- B. echo defaultroute 192.168.0.1 >> /etc/resolv.conf
- C. route add default gw 192.168.0.1 eth0
- D. ip route add default via 192.168.0.1 dev eth0
- E. ifconfig eth0 defaultroute 192.168.0.1
Answer: C,D
NEW QUESTION # 227
......
Verified & Correct 201-450 Practice Test Reliable Source Dec 02, 2024 Updated: https://www.preppdf.com/Lpi/201-450-prepaway-exam-dumps.html
Free Lpi 201-450 Exam Files Downloaded Instantly: https://drive.google.com/open?id=1I6_m5InLMXeiZ9qrxiiulk4eKV5lhhYi