THE FOLLOWING EXAM OBJECTIVES ARE COVERED IN THIS CHAPTER:
Which of the following commands is used to view kernel-related udev events in real time? Which command enables you to view the current interrupt request (IRQ) assignments? Configuration of udev devices is done by working with files in which directory? Which command is used to automatically load a module and its dependencies? Which command is used to obtain a list of USB devices? When working with hotplug devices, you need to gather more information about them through udevadm. Which udevadm command enables you to query the udev database for information on a device? Which command can be used to view the kernel ring buffer in order to troubleshoot the boot process? During the initialization process for a Linux system using SysV init, which runlevel corresponds to single-user mode? On a system using SysV init, in which directory are the startup and shutdown scripts for services stored? Which command can be used to reboot a system? When using an SysV init-based system, which command would you use if you make changes to the /etc/inittab file and want those changes to be reloaded without a reboot? Which command displays the current runlevel for a system? Within which folder are systemd unit configuration files stored? Which command is used with systemd in order to list the available service units? Which option to lspci is used to display both numeric codes and device names? Which command can be used to obtain a list of currently loaded kernel modules? Which option to the modprobe command shows the dependencies for a given module? Which command can you use to send a message to all users who are currently logged into a system? Which of the following is a good first troubleshooting step when a hard disk is not detected by the Linux kernel? Within which directory is information about USB devices stored? If the kernel ring buffer has been overwritten, within which file can you look to find boot messages? Which command and option can be used to determine whether a given service is currently loaded? Which command on a systemd-controlled system would place the system into single-user mode? Which command on a system controlled by Upstart will reload the configuration files? When working with a SysV system, which option to chkconfig will display all services and their runlevels? A drive connected to USB is considered which type of device? The system is using a temporary flash USB disk for data mounted at /dev/sda1. You need to remove the disk. Which of the following commands will enable the disk to be safely removed from the system? You have connected a USB disk to the system and need to find out its connection point within the system. Which of the following is the best method for accomplishing this task? Which of the following commands will initiate an immediate shutdown of the system? Which option within a systemd service file indicates the program to execute? Which command will display the default target on a computer running systemd? Which option to the systemctl command will change a service so that it runs on the next boot of the system? Which of the following best describes the /proc filesystem? Which command will retrieve information about the USB connections on a computer in a tree-like format? What is one reason why a device driver does not appear in the output of lsmod, even though the device is loaded and working properly? Which option to rmmod will cause the module to wait until it’s no longer in use to unload the module? You are using a storage area network (SAN) that keeps causing errors on your Linux system due to an improper kernel module created by the SAN vendor. When the SAN sends updates, it causes the filesystem to be mounted as read-only. Which command and option can you use to change the behavior of the filesystem to account for the SAN bug? Within which directory are rules related to udev stored? Which option to lspci displays the kernel driver in use for the given Peripheral Component Interconnect (PCI) device? Within which of the following directories will you find blacklist information for modules loaded with modprobe? When working with a CentOS 6 system, which command is used to create the initial RAM disk? Within which file will you find a list of the currently available kernel symbols? Which of the following commands can be used to show the various information related to a currently loaded module, including core size and settings for options? Which directory contains various elements and configuration information about the kernel such as the release number, domain name, location of modprobe, and other settings? Within which directory should systemd unit files that you create be stored? Which of the following commands should you execute after making changes to systemd service configurations in order for those changes to take effect? Which of the following files contains the runlevels for the system along with a reference to the corresponding rc file? Which boot loader can be used for File Allocation Table (FAT) filesystems and might be used for a rescue disk? Which of the following is used to provide an early filesystem-based loading process for key drivers needed to continue the boot process? When booting a system you receive an error similar to "No init found" and are then placed at an initramfs prompt. You need to check the hard drive for errors. Which of the following commands performs an error check on a hard drive partition in Linux? Which of the following commands places the system in single-user mode? Which of the following commands changes the boot order for the next boot? Which boot loader can be used with ISO9660 CD-ROMS? Within which directory are systemd user unit files placed by installed packages? When using Unified Extensible Firmware Interface (UEFI), which of the following files can be used as a boot loader? Which directory on a SysV init-based system contains scripts that are used for starting and stopping services? Which of the following commands is used to find overriding configuration files on a systemd-based system? Which of the following commands on a Red Hat system lists all of the SysV services set to be executed on boot along with their setting for each runlevel? Which of the following commands, executed from within the UEFI shell, controls the boot configuration? Which file must exist within /tftpboot on the Trivial File Transfer Protocol (TFTP) server for a system that will use PXELINUX for its boot loader? Which utility can you use on a Debian or Ubuntu system to manage SysV init scripts, such as setting them to run on boot? Which key, pressed during the operating system selection menu, is used to enable editing of the parameters related to boot with GRUB? Which systemctl subcommand is used to switch runlevels? When examining the /etc/inittab file, which option signifies the default runlevel to which the system will boot? Which of the following is used instead of initrd to provide an early filesystem for essential drivers? Which of the following commands sets the default systemd target to multi-user? When using a shim for booting a UEFI-based system, which of the following files is loaded after shim.efi? Within which hierarchy are files from /etc/init.d linked so that the files are executed during the various runlevels of a SysV system? What is the name of the unit to which a systemd system is booted in order to start other levels? When viewing information in /dev/disk/by-path using the command ls -l, which of the following filenames represents a logical unit number (LUN) from Fibre Channel? You have purchased new solid-state drive (SSD) hardware that uses the NVMe (Non-Volatile Memory Express) protocol but cannot find the disks in the normal /dev/sd* location in which you have traditionally found such storage. In which location should you look for these drives? Which file contains information about the current md Redundant Array of Inexpensive Disks (RAID) configuration such as the personalities? Which of the following directory hierarchies contains information such as the World Wide Name (WWN) for Fibre Channel? Information about logical volumes can be found in which of the following directories? Which of the following commands will examine the PCI subsystem for NVMe-based devices? Which of the following devices is the location of the first Small Computer System Interface (SCSI) tape device detected at boot? Which of the following files should be used to display a message to users prior to logging in locally? Which file contains a message that is displayed after a successful login? Which of the following files can be used to provide a message to users logging in remotely with a protocol such as telnet? Which of the following commands turns off the computer, including removing power, if possible? Which of the following shutdown commands reboots the system in 15 minutes? When terminating a process on a SysV init-based system, which command can be used to stop the process? Which of the following commands show the boot messages captured by systemd? Which option to the shutdown command halts or stops the system? Which signal number is used as SIGKILL when used with the kill command? Which directory contains rc-related startup scripts on a legacy Debian system? When attempting to enable an integrated peripheral on a basic input/output system (BIOS) system, what should be done to determine whether the peripheral has been enabled within the BIOS? Which option to the wall command suppresses the "Broadcast message" banner that normally displays?