![]() | Linux Professional Institute Certification I |
QuizzQuestion 1Which of the following are names of shell programs? (Choose all that apply.) A. BashB. Korn Shell C. Born Shell D. Dash E. Z Shell A, B, D, E. The shell names in options A, B, D, and E are all legitimate shell program names, and thus are correct answer. There is no Born shell (you may have confused that name with the original Bourne shell), so option C is an incorrect choice. Question 2What tool allows you to send ICMP messages to a remote host to test network connectivity? A. netstatB. ifconfig C. ping D. iwconfig E. ss C. The ping command sends ICMP packets to a specified remote host and waits for a response, making option C the correct answer. The netstat command displays statistics about the network interface, so it’s incorrect. The ifconfig command displays or sets network information, but doesn’t send ICMP packets, making option B incorrect. The iwconfig command displays or sets wireless network information, but doesn’t handle ICMP packets, making option D incorrect. The ss command display information about open connections and ports on the system, so option E is also incorrect. Question 3Which two commands set the IP address, subnet mask, and default router information on an interface using the command line? A. netstatB. ping C. nmtui D. ip E. route C and D. The nmtui command provides an interactive text menu for selecting a network interface and setting the network parameters, and the ip command provides a command line tool tool for setting network parameters, so both Options C and D are correct. The netstat command displays information about network connections, but doesn’t set the network parameters, so option A is incorrect. The ping command can send ICMP packets to a remote host, but doesn’t set the local network parameters, so option B is incorrect. The route command sets the routing network parameters, but not the IP address or subnet mask, so option E is incorrect. Question 4Which of the following are system initialization methods? (Choose all that apply.) A. /sbin/initB. /etc/init C. SysVinit D. systemd E. cloud-init C, D. SysVinit and systemd are both system initialization methods. Thus, options C and D are the correct answers. The init program can live in the /sbin/, /etc/, or /bin/ directory, and while it is used by the initialization methods, it is not a method itself. Thus, options A and B are wrong answers. The cloud-init program is a tool that allows you to create VMs out of system images locally or cloud images on an IaaS platform. However, it is not a system initialization method. Therefore, option E is an incorrect answer as well. Question 5Which firmware method has replaced BIOS on most modern IBM-compatible computers? A. FTPB. UEFI C. PXE D. NFS E. HTTPS B. The UEFI firmware method has replaced the BIOS in most IBM-compatible computers, so option B is correct. FTP, PXE, NFS, and HTTPS are not firmware methods, but methods for loading the Linux bootloader, so options A, C, D, and E are all incorrect. Question 6Where does the system BIOS attempt to find a bootloader program? (Choose all that apply.) A. An internal hard driveB. An external hard drive C. A DVD drive D. A USB flash drive E. A network server A, B, C, D, and E. The BIOS firmware can look in multiple locations for a bootloader program. Most commonly it looks at the internal hard drive installed on the system, however, if none is found, it can search other places. Most systems allow you to boot from an external hard drive, or from a DVD drive. Modern systems now also provide the option to boot from a USB memory stick inserted into a USB port on the workstation. Finally, many systems provide the PXE boot option, which allows the system to boot remotely from a network server. Question 7Question 8Question 9Question 10+ Correction ---------------------------------------------------------- A- B- C- D- |