From c2c06cc9fe1371d254882dbc7eaee33a21cdc222 Mon Sep 17 00:00:00 2001 From: waldek Date: Mon, 24 May 2021 19:08:43 +0200 Subject: [PATCH] adds a real csv for lpic1 101-500 --- data/lpic1_book_101-500.csv | 2483 +++++------------------------------ 1 file changed, 354 insertions(+), 2129 deletions(-) diff --git a/data/lpic1_book_101-500.csv b/data/lpic1_book_101-500.csv index 71207d8..4da9006 100644 --- a/data/lpic1_book_101-500.csv +++ b/data/lpic1_book_101-500.csv @@ -1,2129 +1,354 @@ -1. Which of the following commands is used to view kernel-related udev events in real time? -A. udevls all -B. lsudev -f -C. udevmon -a -D. udevadm monitor - -2. Which command enables you to view the current interrupt request (IRQ) assignments? -A. view /proc/irq -B. cat /proc/interrupts -C. cat /dev/irq -D. less /dev/irq - -3. Configuration of udev devices is done by working with files in which directory? -A. /udev/devices -B. /devices/ -C. /udev/config -D. /etc/udev - -4. Which command is used to automatically load a module and its dependencies? -A. modprobe -B. lsmod -C. insmod -D. rmmod - -5. Which command is used to obtain a list of USB devices? -A. usb-list -B. lsusb -C. ls-usb -D. ls --usb - -6. 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? -A. query -B. info -C. getinfo -D. devinfo - - -7. Which command can be used to view the kernel ring buffer in order to troubleshoot the boot process? -A. lsboot -B. boot-log -C. krblog -D. dmesg - -8. During the initialization process for a Linux system using SysV init, which runlevel corresponds to single-user mode? -A. Runlevel 5 -B. Runlevel SU -C. Runlevel 1 -D. Runlevel 6 - -9. On a system using SysV init, in which directory are the startup and shutdown scripts for services stored? -A. /etc/init-d -B. /etc/init -C. /etc/sysV -D. /etc/init.d - -10. Which command can be used to reboot a system? -A. init 6 -B. shutdown -h -t now -C. init 1 -D. refresh-system - -11. 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? -A. init-refresh -B. init 6 -C. telinit -D. reload-inittab - -12. Which command displays the current runlevel for a system? -A. show-level -B. init --level -C. sudo init -D. runlevel - - - -13. Within which folder are systemd unit configuration files stored? -A. /etc/system.conf.d -B. /lib/system.conf.d -C. /lib/systemd/system -D. /etc/sysconfd - -14. Which command is used with systemd in order to list the available service units? -A. systemd list-units -B. systemctl list-units -C. systemd unit-list -D. systemctl show-units - -15. Which option to lspci is used to display both numeric codes and device names? -A. -numdev -B. -n -C. -nn -D. -devnum - -16. Which command can be used to obtain a list of currently loaded kernel modules? -A. insmod -B. modlist -C. ls --modules -D. lsmod - -17. Which option to the modprobe command shows the dependencies for a given module? -A. --show-options -B. --list-deps -C. --show-depends -D. --list-all - -18. Which command can you use to send a message to all users who are currently logged into a system? -A. cat -B. wall -C. tee -D. ssh - -19. Which of the following is a good first troubleshooting step when a hard disk is not detected by the Linux kernel? -A. Unplug the disk. -B. Check the system BIOS. -C. Restart the web server service. -D. Run the disk-detect command. - -20. Within which directory is information about USB devices stored? -A. /etc/usbdevices -B. /var/usb -C. /lib/sys/usb -D. /sys/bus/usb/devices - -21. If the kernel ring buffer has been overwritten, within which file can you look to find boot messages? -A. /var/log/bootmessages -B. /var/log/mail.info -C. /var/adm/log/boot.info -D. /var/log/dmesg - -22. Which command and option can be used to determine whether a given service is currently loaded? -A. systemctl --ls -B. telinit -C. systemctl status -D. sysctl -a - -23. Which command on a systemd-controlled system would place the system into single-user mode? -A. systemctl one -B. systemctl isolate rescue.target -C. systemctl single-user -D. systemctl runlevel one - -24. Which command on a system controlled by Upstart will reload the configuration files? -A. initctl reload -B. systemd reload -C. upstart --reload -D. ups -reload - -25. When working with a SysV system, which option to chkconfig will display all services and their runlevels? -A. --reload -B. --list -C. --all -D. --ls - -26. A drive connected to USB is considered which type of device? -A. Medium -B. Coldplug -C. Hotplug -D. Sideplug - -27. 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? -A. usbstop /dev/sda -B. umount /dev/sda1 -C. unmount /dev/sda1 -D. dev-eject /dev/sda1 - -28. 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? -A. Rebooting the system -B. Viewing the contents of /var/log/usb.log -C. Connecting the drive to a USB port that you know the number of -D. Running dmesg and looking for the disk - -29. Which of the following commands will initiate an immediate shutdown of the system? -A. shutdown -c -B. halt -C. systemd stop -D. stop-system - -30. Which option within a systemd service file indicates the program to execute? -A. StartProgram -B. ShortCut -C. ExecStart -D. Startup - -31. Which command will display the default target on a computer running systemd? -A. systemctl defaults -B. update-rc.d defaults -C. systemctl runlevel -D. systemctl get-default - -32. Which option to the systemctl command will change a service so that it runs on the next boot of the system? -A. enable -B. startonboot -C. loadonboot -D. start - -33. Which of the following best describes the /proc filesystem? -A. /proc contains information about files to be processed. -B. /proc contains configuration files for processes. -C. /proc contains information on currently running processes, including the kernel. -D. /proc contains variable data such as mail and web files. - -34. Which command will retrieve information about the USB connections on a computer in a tree-like format? -A. lsusb -tree -B. lsusb --tree -C. lsusb -t -D. usblist --tree - -35. 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? -A. The use of systemd means that drivers are not required for most devices. -B. The use of initramfs means that support is enabled by default. -C. The system does not need a driver for the device. -D. Support for the device has been compiled directly into the kernel. - -36. Which option to rmmod will cause the module to wait until it’s no longer in use to unload the module? -A. -test -B. -f -C. -w -D. -unload - -37. 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? -A. mount --continue -B. tune2fs -e continue -C. mkfs --no-remount -D. mount -o remount - -38. Within which directory are rules related to udev stored? -A. /etc/udev.conf -B. /etc/udev.conf.d -C. /etc/udev/rules.d -D. /etc/udev.d - -39. Which option to lspci displays the kernel driver in use for the given Peripheral Component Interconnect (PCI) device? -A. -t -B. -k -C. -n -D. -a - -40. Within which of the following directories will you find blacklist information for modules loaded with modprobe? -A. /etc/blacklist -B. /etc/modprobe.d -C. /etc/blacklist.mod -D. /etc/modprobe - -41. When working with a CentOS 6 system, which command is used to create the initial RAM disk? -A. mkinit -B. dracut -C. mkraminit -D. mkinitfs - -42. Within which file will you find a list of the currently available kernel symbols? -A. /proc/kernelsyms -B. /etc/kernel.conf -C. /etc/lsyms -D. /proc/kallsyms - -43. 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? -A. systool -v -m -B. modinfo -r -C. lsmod -D. infmod - -44. Which directory contains various elements and configuration information about the kernel such as the release number, domain name, location of modprobe, and other settings? -A. /proc/sys/kmod -B. /proc/sys/kernel -C. /proc/kernel -D. /proc/kernel/sys - -45. Within which directory should systemd unit files that you create be stored? -A. /etc/system -B. /etc/systemd/system -C. /usr/share/systemd -D. /usr/share/system - -46. Which of the following commands should you execute after making changes to systemd service configurations in order for those changes to take effect? -A. systemd reload -B. reboot -C. systemctl daemon-reload -D. systemctl reboot - -47. Which of the following files contains the runlevels for the system along with a reference to the corresponding rc file? -A. /etc/runlevels -B. /etc/inittab -C. /etc/rc -D. /etc/runlevel - -48. Which boot loader can be used for File Allocation Table (FAT) filesystems and might be used for a rescue disk? -A. SYSBOOT -B. SYSLINUX -C. TIELINUX -D. FATLINUX - -49. Which of the following is used to provide an early filesystem-based loading process for key drivers needed to continue the boot process? -A. bootrd -B. driverload -C. initrd -D. initdrv - -50. 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? -A. defrag -B. fsck -C. checkfs -D. chkfs - -51. Which of the following commands places the system in single-user mode? -A. tellinit 1 -B. chginit 1 -C. telinet 1 -D. telinit 1 - -52. Which of the following commands changes the boot order for the next boot? -A. efibootmgr -c -B. efibootmgr -b -B -C. efibootmgr -o -D. efibootmgr -n - -53. Which boot loader can be used with ISO9660 CD-ROMS? -A. ISOLINUX -B. EFIBOOT -C. ISOFS -D. BOOTISO - -54. Within which directory are systemd user unit files placed by installed packages? -A. /usr/lib/systemd/user -B. /usr/lib/systemd/system -C. /usr/systemd -D. /usr/system - -55. When using Unified Extensible Firmware Interface (UEFI), which of the following files can be used as a boot loader? -A. shim.uefi -B. shim.efi -C. shim.fx -D. efi.shim - -56. Which directory on a SysV init-based system contains scripts that are used for starting and stopping services? -A. /etc/rc.int -B. /etc/boot -C. /etc/bootscripts -D. /etc/init.d - -57. Which of the following commands is used to find overriding configuration files on a systemd-based system? -A. diff -B. systemctl -diff -C. systemd-delta -D. systemctl configoverride - -58. 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? -A. rlevel -B. chkconfig --list -C. bootldr --list -D. init --bootlist - -59. Which of the following commands, executed from within the UEFI shell, controls the boot configuration? -A. bootcfg -B. bcfg -C. grub-install -D. grcfg - -60. 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? -A. pxelinux.tftp -B. pxelinux.boot -C. pxelinux.conf -D. pxelinux.0 - -61. Which utility can you use on a Debian or Ubuntu system to manage SysV init scripts, such as setting them to run on boot? -A. bootorder -B. bootloader -C. configchk -D. update-rc.d - -62. Which key, pressed during the operating system selection menu, is used to enable editing of the parameters related to boot with GRUB? -A. v -B. e -C. r -D. y - -63. Which systemctl subcommand is used to switch runlevels? -A. switch -B. move -C. runlevel -D. isolate - -64. When examining the /etc/inittab file, which option signifies the default runlevel to which the system will boot? -A. default -B. defaultboot -C. initdefault -D. defaultlvl - -65. Which of the following is used instead of initrd to provide an early filesystem for essential drivers? -A. initnext -B. initramfs -C. initialize -D. initfs - -66. Which of the following commands sets the default systemd target to multi-user? -A. systemctl set-default multi-user.target -B. systemd set-default multi-user.target -C. systemctl set-def muser.target -D. systemd set-def muser.target - -67. When using a shim for booting a UEFI-based system, which of the following files is loaded after shim.efi? -A. grubx64.cfg -B. grub.conf -C. grubx64.efi -D. efi.boot - -68. Within which hierarchy are files from /etc/init.d linked so that the files are executed during the various runlevels of a SysV system? -A. /etc/rc.S -B. /etc/rc -C. /etc/boot/rc -D. /etc/rc.d - -69. What is the name of the unit to which a systemd system is booted in order to start other levels? -A. default.target -B. init.target -C. initial.target -D. load.target - -70. 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? -A. /dev/fc0 -B. pci-0000:1a:00.0-fc-0x500601653ee0025f:0x0000000000000000 -C. pci-0000:1a:00.0-scsi-0x500601653ee0025f:0x0000000000000000 -D. /dev/fibre0 - -71. 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? -A. /dev/nd* -B. /dev/nvme* -C. /dev/nv* -D. /dev/nvme/* - -72. Which file contains information about the current md Redundant Array of Inexpensive Disks (RAID) configuration such as the personalities? -A. /proc/raidinfo -B. /proc/rhyinfo -C. /proc/mdraid -D. /proc/mdstat - -73. Which of the following directory hierarchies contains information such as the World Wide Name (WWN) for Fibre Channel? -A. /sys/class/wwn -B. /sys/class/fc_host -C. /sys/class/fclist -D. /sys/class/fc/wwn - -74. Information about logical volumes can be found in which of the following directories? -A. /dev/lvinfo -B. /dev/map -C. /dev/mapper -D. /dev/lvmap - -75. Which of the following commands will examine the PCI subsystem for NVMe-based devices? -A. psnvme -B. lsnvme -C. lspci | grep scsi -D. lspci | grep -i nvme - -76. Which of the following devices is the location of the first Small Computer System Interface (SCSI) tape device detected at boot? -A. /dev/st1 -B. /dev/sd0 -C. /dev/sd1 -D. /dev/st0 - -77. Which of the following files should be used to display a message to users prior to logging in locally? -A. /etc/loginmesg -B. /etc/logmessage.txt -C. /etc/issue -D. /etc/banner - -78. Which file contains a message that is displayed after a successful login? -A. /etc/loginbanner -B. /etc/issue -C. /etc/motd -D. /etc/message - -79. Which of the following files can be used to provide a message to users logging in remotely with a protocol such as telnet? -A. /etc/telnet.msg -B. /etc/issue.net -C. /etc/login.msg -D. /etc/telnet.login - -80. Which of the following commands turns off the computer, including removing power, if possible? -A. systemctl halt -B. systemctl reboot -C. systemctl stop -D. systemctl poweroff - -81. Which of the following shutdown commands reboots the system in 15 minutes? -A. shutdown -r +15 -B. shutdown +15 -C. shutdown -15 -D. shutdown -r 00:15 - -82. When terminating a process on a SysV init-based system, which command can be used to stop the process? -A. service -B. sysv -C. syscl -D. servc - -83. Which of the following commands show the boot messages captured by systemd? -A. journalctl -b -B. systemctl -b -C. journalctl -bm -D. journalctl -l - -84. Which option to the shutdown command halts or stops the system? -A. -h -B. -s -C. -f -D. -t - -85. Which signal number is used as SIGKILL when used with the kill command? -A. 1 -B. 4 -C. 9 -D. 11 - -86. Which directory contains rc-related startup scripts on a legacy Debian system? -A. /etc/init -B. /etc/inittab -C. /etc/init.d -D. /etc/rc.init - -87. 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? -A. Examine boot messages to determine if the kernel has detected the peripheral. -B. Examine /var/log/auth.log for detection of the peripheral. -C. Reboot the system to determine if the device works. -D. Enable the peripheral by removing it from the blacklisted modules. - -88. Which option to the wall command suppresses the "Broadcast message" banner that normally displays? -A. -b -B. -a -C. -n -D. -d - -Chapter Topic 102: Linux - -1. A Serial Advanced Technology Attachment (SATA) disk will use which of the following identifiers? -A. /dev/hdX -B. /dev/sataX -C. /dev/sdX -D. /disk/sataX - -2. Which option given at boot time within the GRUB configuration will boot the system into single-user mode? -A. single-user -B. su -C. single -D. root - -3. During boot of a system with GRUB, which key can be pressed to display the GRUB menu? -A. Shift -B. E -C. V -D. H - -4. When booting, which option can be added to a GRUB configuration line to set or change the root partition at boot time to /dev/sda2? -A. rootpartition={hd0,2} -B. root=/dev/sda2 -C. root={hd0,3} -D. rootpartition=/dev/sda2 - -5. Which key combination will enable you to edit the kernel options and then boot when using GRUB Legacy? -A. ESC for editing and then Return to boot -B. v for editing and then Return to boot -C. e for editing and then b to boot -D. v for editing and then b to boot - -6. During the boot process for a virtual machine, what is the next step in the boot process after the kernel has taken over the initialization process and initializes devices? -A. The system BIOS initializes devices. -B. The system is placed in multi-user mode. -C. The boot loader initializes the kernel. -D. The root partition is mounted. - -7. Where in the filesystem will the EFI system partition (ESP) typically be mounted? -A. /etc/efi -B. /efi -C. /sys/efi -D. /boot/efi - -8. When partitioning a disk for a mail server running postfix, which partition/mounted directory should be the largest in order to allow for mail storage? -A. /etc -B. /usr/bin -C. /mail -D. /var - -9. Which option within GRUB Legacy is used to indicate that a root partition contains a non-Linux kernel? -A. initrd -B. non-linux -C. rootnoverify -D. root-win - -10. Which command will output a new GRUB2 configuration file and send the output to the correct location for booting? -A. update-grub > /boot/grub/grub.cfg -B. update-grub boot > /boot/grub.cfg -C. grub-rc.d -D. grub-boot - -11. What is the maximum number of primary partitions available on an MBR partitioning system? -A. 2 -B. 4 -C. 1 -D. 5 - -12. Which command is used to update the links and cache for shared libraries on the system? -A. ldcache -B. cache-update -C. link-update -D. ldconfig - -13. Which command and option is used to update a Debian system to the latest software? -A. apt-update -B. apt-get upgrade -C. dpkg -U -D. apt-cache clean - -14. Which option given to a yum command will install a given package? -A. update -B. configure -C. install -D. get - -15. What is the location of the home directory for the root user? -A. /home/root -B. /home/su -C. /root -D. / - -16. When using rpm2cpio, by default the output is sent to which location? -A. STDOUT -B. The cpio.out file -C. The a.out file -D. The /tmp/cpi.out file - -17. Which partition or directory structure typically holds most of the programs for a Linux system? -A. /etc -B. /usr -C. /home -D. /var - -18. Your GRUB Legacy configuration includes a dual-boot option with Linux listed first and another operating system listed second. Which of the following options will boot to the Linux partition by default? -A. default=linux -B. default=0 -C. default=1 -D. default=other - -19. Which file should you edit when using GRUB2 in order to set things like the timeout? -A. /etc/default/grub -B. /etc/grub/boot -C. /etc/boot/grub.d -D. /grub.d/boot - -20. Which yum option displays the dependencies for the package specified? -A. list -B. deplist -C. dependencies -D. listdeps - -21. Which options for an rpm command will display verbose output for an installation along with progress of the installation? -A. -ivh -B. -wvh -C. --avh -D. --ins-verbose - -22. Which of the following commands adds /usr/local/lib to the LD_LIBRARY_PATH when using BASH shell? -A. set PATH=/usr/local/lib -B. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib -C. LD_LIBRARY_PATH=/usr/local/lib -D. connectpath LD_LIBRARY_PATH=/usr/local/lib - -23. Which command can be used to download an RPM package without installing it? -A. yumdl -B. yumdownloadonly -C. yumdown -D. yumdownloader - -24. Which command will search for a package named zsh on a Debian system? -A. apt-cache search zsh -B. apt-get search zsh -C. apt-cache locate zsh -D. apt search zsh - -25. Which option within /etc/default/grub is used to configure the default operating system for boot? -A. GRUB_OS -B. GRUB_ON -C. GRUB_DEFAULT -D. DEFAULT_OS - -26. When found in a GRUB configuration file, what does the ro option indicate? -A. Initially mount the root partition as read-only. -B. Mount the kernel as read-only. -C. Start the init program as read-once. -D. Mount the root partition in Raised Object mode. - -27. Within which directory will you find the repositories used by yum? -A. /etc/yum.conf -B. /etc/repos -C. /etc/yum.conf.d -D. /etc/yum.repos.d - -28. Which rpm option can be used to verify that no files have been altered since installation? -A. -V -B. -v -C. --verbose -D. --filesum - -29. Which option for the grub-mkconfig command sends output to a file instead of STDOUT? -A. -stdout -B. --fileout -C. -o -D. -f - -30. The presence of menu.lst within the filesystem typically indicates which condition? -A. GRUB Legacy is in use on the system. -B. GRUB2 is in use on the system. -C. An error has occurred creating the output to menu.lst. -D. The options for rescue boot have been changed. - -31. Which command is used to determine the libraries on which a given command depends? -A. ldconfig -B. librarylist -C. listdeps -D. ldd - -32. Which of the following is true of Linux swap space? -A. Swap is used to hold temporary database tables. -B. Swap is used as additional memory when there is insufficient RAM. -C. Swap is used by the mail server for security. -D. Swap is used to scrub data from the network temporarily. - -33. Which of the following is not typically used to store libraries? -A. /lib -B. /etc/lib -C. /usr/lib -D. /usr/local/lib - -34. Which of the following commands updates the package cache for a Debian system? -A. apt-get cache-update -B. apt-cache update -C. apt-get update -D. apt-get upgrade - -35. Within which file are details of the current package repositories stored on a Debian system? -A. /etc/apt.list -B. /etc/sources.list -C. /etc/apt/sources.list -D. /etc/apt.d/sources.list - -36. Of the following choices, which size would be most appropriate for the /boot partition of a Linux system? -A. Between 100MB and 500MB -B. Between 1GB and 10GB -C. /boot should not be partitioned separately. -D. Less than 5MB - -37. Which of the following commands initializes a physical disk partition for use with Logical Volume Manager (LVM)? -A. lvmcreate -B. pvcreate -C. fvcreate -D. lvinit - -38. Which of the following commands installs GRUB into the MBR of the second SATA disk? -A. grub-install /dev/hdb2 -B. grub-install /dev/sda2 -C. grub-config /dev/sda -D. grub-install /dev/sdb - -39. Which command should be used to make changes to the choices made when a Debian package was installed? -A. dpkg-reconfigure -B. dpkg -r -C. dpkg --reconf -D. apt-get reinstall - -40. Which command is used to create a logical volume with LVM? -A. pvcreate -B. lvmcreate -C. lvcreate -D. volcreate - -41. What is the logical order for creation of an LVM logical volume? -A. Physical volume creation, volume group creation, logical volume creation -B. Physical volume creation, logical volume creation, volume group creation -C. Logical volume creation, physical volume creation, volume group creation -D. LVM creation, format, partition - -42. Which of the Debian package management tools provides a terminal-based interface for management? -A. apt-get -B. dpkg -C. apt-cache -D. aptitude - -43. Which option for yum performs a search of the package cache? -A. seek -B. query -C. --search -D. search - -44. Which command option for rpm can be used to show the version of the kernel? -A. rpm kernel -B. rpm -qa kernel -C. rpm search kernel -D. rpm --list kern - -45. Assuming a menu entry of Debian in your GRUB configuration, which option in /etc/default/grub would set that as the default operating system to boot? -A. GRUB_OS -B. GRUB_OS_DEF -C. GRUB_DEFAULT -D. GRUB_CONF - -46. Which option in /etc/yum.conf is used to ensure that the kernel is not updated when the system is updated? -A. exclude=kernel* -B. exclude-kernel -C. updatekernel=false -D. include-except=kernel - -47. Which command should be run after making a change to the /etc/default/grub file? -A. grub -B. grub-mkconfig -C. grub-inst -D. reboot - -48. Which command searches for and provides information on a given package on a Debian system, including whether or not the package is currently installed? -A. dpkg -i -B. dpkg -s -C. apt-cache -D. apt-info - -49. Which command is used to search for physical volumes for use with LVM? -A. lvmcreate -B. pvcreate -C. lvmdiskscan -D. lvmscan - -50. Which option added to yumdownloader will also download dependencies? -A. --deps -B. --resolve -C. --resdeps -D. -d - -51. Which of the following installs a previously downloaded Debian package? -A. dpkg -i -B. apt-install -C. apt-slash -D. dpkg -U - -52. A hard drive is reported as hd(0,0) by the GRUB Legacy configuration file. To which of the following disks and partitions does this correspond? -A. /dev/hdb2 -B. /dev/hda0 -C. /dev/disk1 -D. /dev/sda1 - -53. Which filesystem format type is used for the EFI System Partition (ESP)? -A. FAT -B. EXT4 -C. NTFS -D. EXT3 - -54. Which of the following commands installs extlinux into the /boot partition? -A. extlinux --install /boot -B. extlinux --inst /boot -C. extlinux -boot -D. extlinux /boot install - -55. Which of the following commands mounts /dev/sda1 in the /boot partition? -A. mount /dev/sda /boot -B. mount /boot /dev/sda1 -C. mount /dev/sda1 /boot -D. mount -dev sda1 /boot - -56. Which of the following can be identified as an initial sector on a disk that stores information about the disk partitioning and operating system location? -A. Minimal boot record (MBR) -B. Master boot record (MBR) -C. Init sector -D. Master partition table (MPT) - -57. Which option to grub-install will place the GRUB images into an alternate directory? -A. --boot-dir -B. -b -C. -boot -D. --boot-directory - -58. Within which file is a list of the currently mounted filesystems stored? -A. /etc/fstab -B. /etc/curmount -C. /var/spool/files -D. /etc/mtab - -59. Which command is used to activate swap space on a system? -A. mkswap -B. swapon -C. swapact -D. actswap - -60. Which of the following commands displays information about a given physical volume in an LVM setup? -A. pvdisp -B. pvlist -C. pvdisplay -D. pvl - -61. Which of the following commands creates a logical volume with LVM? -A. lvc -B. lvcreate -C. lvlist -D. lvmake - -62. Which of the following commands looks for LVM physical volumes and volume groups involved in an LVM configuration? -A. vgscan -B. lvmscan -C. lvlist -D. pvlist - -63. Which of the following commands is used to display a list of physical volumes involved in LVM? -A. pvdisp -B. pvlist -C. pvscan -D. pvmm - -64. Which option to lvchange sets whether the logical volume is available? -A. -a -B. -b -C. -c -D. -d - -65. When working with a script to create directories, the script is checking to see if srv/vhosts exists. When doing an ls of the root directory, /, you see that it does exist. However, the script does not. What might be the issue? -A. The script is not executable. -B. The script does not have the setuid bit set. -C. The script is using a relative path. -D. The script is owned by root. - -66. You are architecting an application and need to choose between application containerization and virtualization. Which of the following describes a difference between application containers and a virtual machine? -A. An application container can contain only one application whereas a virtual machine can contain many. -B. An application container shares the host kernel whereas a virtual machine can have its own kernel. -C. An application container is used for small applications whereas a virtual machine is used for large applications. -D. The use of application containers is for testing only whereas a virtual machine is used for production. - -67. In addition to including /lib and /usr/lib, where does ldconfig look to find additional directories to incorporate into the library path? -A. /etc/lib.conf -B. /etc/ldconf -C. /etc/lib.cfg -D. /etc/ld.so.conf - -68. You are working with a cloud instance virtual machine deployed with an Infrastructure-as-a-Service (IaaS) provider. The virtual machine is running slowly. Which type of resource might you add to the cloud instance in order to improve performance? -A. Compute -B. Block storage -C. Networking -D. Disk - -69. When working with a system to determine if it is using GRUB or GRUB2, the presence of which file indicates that it is GRUB2? -A. grub.cfg -B. grub.conf -C. menu.lst -D. grub2.conf - -70. You are working to create a system image or template from which other virtual machines will be deployed. Which of the following represents a unique item that will change with each deployed virtual host or image? -A. System directories -B. MAC address -C. Guest drivers -D. Pilot homing - -71. Which program can be used to deploy an Ubuntu image to a remote cloud provider? -A. dep-image -B. cloud-init -C. init-cloud -D. image-dep - -72. Which file is used as the primary configuration file for the yum package manager? -A. /etc/yum.cfg -B. /etc/yum.d -C. /etc/yum.conf -D. /etc/yum.config - -73. Which of the following commands and options lists all of the files included with a package on a Debian system? -A. apt -L -B. dpkg -L -C. dpkg -f -D. apt-get show - -74. When working with SSH (Secure Shell) keys for a virtual machine cloud deployment, which key is deployed to the virtual machine so that you can connect from the host? -A. The public key -B. The signature file -C. The private key -D. Both the public and private keys - -75. When using a GPT disk, which partition needs to be created for a Linux system to boot? -A. /boot/efi -B. /boot/gpt -C. /gpt -D. /vmgpt - -76. Which option to zypper installs a package? -A. install -B. retr -C. get -D. ref - -77. You are working with a Fedora 22 system and need to install a package. Which of the following is the default package manager on this system? -A. yum -B. apt -C. dpkg -D. dnf - -78. You need to list the files available on a package on CentOS. Which of the following commands accomplishes this task? -A. repoquery -l -B. pkgquery -l -C. dpkg -L -D. pkglist - -79. You need to create a backup of user home directories including root. Which directory or directories need to be included in the backup? -A. /home -B. /home and /home/root -C. /home and /root -D. /home and /root/home - -80. In which file can you find the unique D-Bus machine ID for a given system? -A. /etc/machine-id -B. /etc/machineID -C. /etc/mch.conf -D. /etc/machine.id.conf - -81. Which option to ldconfig can be used to process only those directories given on the command line rather than the directories found in /etc/ld.so.conf? -A. -n -B. -i -C. -v -D. -r - -82. When working with package caches on Debian, you need to determine if the package list is being updated. Which option to apt-cache shows the number of available packages on the system? -A. packagenum -B. status -C. stats -D. liststatus - -83. Which option to grub-install specifies the directory in which the EFI partition is located? -A. --boot-dir -B. --efi -C. --efi-boot -D. --efi-directory - -84. Within which file are mount points for the system stored? -A. /etc/fstab -B. /etc/mtab -C. /etc/partitions.list -D. /etc/disk.conf - -85. Which of the following option sets for rpm lists the files within the package? -A. lf -B. qlp -C. qf -D. eps - -86. When working with a CentOS system, you need to determine the release of a certain package. Which command and option will accomplish this task? -A. dpkg -i -B. yum info -C. yum search -D. apt search - -87. You are using a host machine and are unsure if it supports the extensions to enable virtualization. Which of the following should you look for in /proc/cpuinfo to indicate that the system is ready for virtualization? -A. vmx -B. virt -C. envirt -D. vtcapable - -88. Within which file can you configure a filter for devices when using vgscan? -A. lvm.conf -B. vg.conf -C. vgscan.conf -D. lv.cfg - -89. Which of the following swapon options displays information on the size of swap space along with its used space? -A. --list -B. -a -C. --show -D. -h - -Chapter Topic 103: GNU and UNIX Commands - -1. Assume that you’re using the Bash shell and want to prevent output redirects from accidentally overwriting existing files. Which command and option can be used to invoke this behavior? -A. setoutput -f -B. overwrite=no -C. overwrite -n -D. set -C - -2. What command can be used to view the current settings for your environment when using Bash? -A. environment -B. env -C. listenv -D. echoenv - -3. Which command is used to access documentation on the Linux computer for a given command? -A. doc -B. heredoc -C. man -D. manual - -4. Which of the following commands will print various information about the kernel and architecture, along with other details? -A. info --sys -B. man sys -C. sysinfo -D. uname -a - -5. When using sed for a substitution operation, which option must be included so that the substitution applies to the entire line rather than just the first instance? -A. g -B. a -C. r -D. y - -6. Which option for the wc command prints the number of lines given as input? -A. -f -B. -a -C. -l -D. -o - -7. What is the default number of lines printed by the head and tail commands, respectively? -A. 10 for head, 5 for tail -B. 5 for head, 10 for tail -C. 10 for both head and tail -D. 3 for both head and tail - -8. You are attempting to use rmdir to remove a directory, but there are still multiple files and other directories contained within it. Assuming that you’re sure you want to remove the directory and all of its contents, what is the command and arguments to remove the directory and all of its contents? -A. rm -f -B. rm -rf -C. rmdir -a -D. rmdir -m - -9. Which command will find directories with names beginning with 2014 located beneath the current directory? -A. find ./ -name "2014" -B. find ./ -type d -name "2014" -C. find / -type d "2014" -D. find ./ -type d -name "2014*" - -10. Which of the following commands will provide the usernames in a sorted list gathered from the /etc/passwd file? -A. cat /etc/passwd | awk -F : '{print $1}' | sort -B. sort /etc/passwd | cut -C. echo /etc/passwd -D. cat /etc/passwd | awk '{print $1}' | sort - -11. Which options to ls will produce output, including hidden (dot) files, in a list that is ordered such that the newest files are at the end of the output? -A. -la -B. -lat -C. -latr -D. -ltr - -12. What will be the result if the touch command is executed on a file that already exists? -A. The access time stamp of the file will change to the current time when the touch command was executed. -B. The file will be overwritten. -C. There will be no change. -D. The file will be appended to. - - - -13. Which option to both mv and cp will cause the command to prompt before overwriting files that already exist? -A. -f -B. -Z -C. -r -D. -i - -14. Which of the following commands will send the contents of /etc/passwd to both STDOUT and to a file called passwordfile? -A. cat /etc/passwd > passwordfile -B. var /etc/passwd | passwordfile -C. cat /etc/passwd | tee passwordfile -D. echo /etc/passwd | stdout > passwordfile - -15. The current hierarchy on the server contains a directory called /usr/local. You need to create additional directories below that are called /usr/local/test/october. Which command will accomplish this task? -A. mkdir -p /usr/local/test/october -B. mkdir /usr/local/test/october -C. mkdir -r /usr/local/test/october -D. mkdir -f /usr/local/test/october - -16. Which option to the cp command will copy directories in a recursive manner? -A. -v -B. -R -C. -Z -D. -i - -17. You have received a file that does not have a file extension. Which command can you run to help determine what type of file it might be? -A. grep -B. telnet -C. file -D. export - -18. Which command will create an image of the /dev/sda1 disk partition and place that image into a file called output.img? -A. dd if=sda of=/dev/sda1 -B. dd if=output.img of=/dev/sda1 -C. dd if=/dev/sda1 of=output.img -D. echo /dev/sda1 > output.img - -19. What is the default delimiter used by the cut command? -A. Colon -B. Tab -C. Space -D. Comma - -20. Which of the following will unzip and extract the contents of a file that has been tarred and gzipped? -A. tar -zxf -B. tar -xf -C. tar -vz -D. tar -fd - -21. What command is used to bring a command to foreground processing after it has been backgrounded with an &? -A. bg -B. fore -C. 4g -D. fg - -22. You need to write a script that gathers all of the process IDs for all instances of Apache running on the system. Which of the following commands will accomplish this task? -A. ps auwx | grep apache -B. pgrep apache -C. processlist apache -D. ls -p apache - -23. Which of the following command lines would monitor a single process called nagios in a continuous manner? -A. top -n 1 -B. top -p 23 -C. ps -nagios -D. top -p`pidof nagios` - -24. Users are reporting that various programs are crashing on the server. By examining logs, you see that certain processes are reporting out-of-memory conditions. Which command can you use to see the overall memory usage, including available swap space? -A. tree -B. pgrep -C. uptime -D. free - -25. You are using the Vi editor for changing a file and need to exit. You receive a notice indicating "No write since last change". Assuming you want to save your work, which of the following commands will save your work and exit Vi? -A. :wq -B. :q! -C. dd -D. x - -26. What option is used to change the number of lines of output for the head and tail commands? -A. -l -B. -f -C. -g -D. -n - -27. Which command can be used to determine the current load average along with information on the amount of time since the last boot of the system? -A. uptime -B. sysinfo -C. bash -D. ls -u - -28. You need to start a long-running process that requires a terminal and foreground processing. However, you cannot leave your terminal window open due to security restrictions. Which command will enable you to start the process and return at a later time to continue the session? -A. fg -B. bg -C. kill -D. screen - -29. You have attempted to stop a process using its service command and also using the kill command. Which signal can be sent to the process using the kill command in order to force the process to end? -A. -15 -B. -f -C. -9 -D. -stop - -30. When working in the Bash shell, you need to redirect both STDOUT and STDERR. Which of the following commands will redirect both STDOUT and STDERR? -A. 1>2 -B. >2 -C. 2>&1 -D. >> - -31. Which command can be run to determine the default priority for processes spawned by the current user? -A. prio -B. nice -C. renice -D. defpriority - -32. Which of the following egrep commands will examine /etc/passwd to find users who are using either /bin/bash or /usr/bin/zsh for their shell environment? -A. grep sh /etc/passwd -B. egrep '/*/.sh$' /etc/passwd -C. grep '/*/.=sh$' /etc/passwd -D. egrep '/*/..?sh$' /etc/passwd - -33. Which option to the man command accesses a different level of documentation, for example, system call documentation? -A. man 2 -B. progman -C. man --sys -D. man --list sys - -34. When editing with Vi, which command changes to insert mode and opens a new line below the current cursor location? -A. f -B. a -C. o -D. i - -35. Which kill signal can be sent in order to restart a process? -A. -HUP -B. -RESTART -C. -9 -D. -SIG - -36. Which of the following commands will display the last 50 lines of your command history when using Bash, including commands from the current session? -A. bashhist 50 -B. history 50 -C. cat .bash_history -D. tail -f .bash_history - -37. You have backgrounded several tasks using &. Which command can be used to view the current list of running tasks that have been backgrounded? -A. procs -B. plist -C. jobs -D. free - -38. Which of the following commands searches each user’s .bash_history file to determine whether the user has invoked the sudo command? -A. find /home -name "bash_history" | grep sudo -B. find /home -name ".bash_history" | xargs grep sudo -C. find /home/.bash_history | xargs grep sudo -D. find /home -type history | xargs grep sudo - -39. Which command will watch the Apache log at /var/log/httpd/access.log and continually scroll as new log entries are created? -A. watch /var/log/httpd/access.log -B. tail /var/log/httpd/access.log -C. tail -f /var/log/httpd/access.log -D. mon /var/log/httpd/access.log - -40. You are debugging a configuration file and the daemon indicates there is a problem on line 932. Which of the following commands will prepend line numbers onto the file? -A. lines -B. wc -l -C. newline -D. nl - -41. You receive a file with an .lzma extension. Which command can you use to decompress this file? -A. xz -B. lz -C. gz -D. bzip - -42. Which find command will locate files within the current directory that have been modified within the last 24 hours? -A. find ./ -type f -mtime 0 -B. find ./ -type f -mtime 24 -C. find ./ -type f -mtime +1 -D. find ./ type -f time 24 - -43. Which command will move all files with a .txt extension to the /tmp directory? -A. mv txt* tmp -B. move *txt /temp -C. mv *.txt /tmp -D. mv *.txt tmp - -44. Which command prints your current directory? -A. cwd -B. curdur -C. cd -D. pwd - -45. Assume that you have a file called zips.txt that contains several postal ZIP codes and you need to determine how many unique ZIP codes there are in the file. Which of the following commands can be used for that purpose? -A. sort zips.txt | uniq -c -B. uniq zips.txt -C. count zips.txt -D. cat zips.txt | uniq -c - -46. When using Bash, how would you execute the last command starting with a certain string, even if that command was not the last one that you typed? -A. Precede the command with ! and then the string to search for. -B. Search for the command in history. -C. Precede the command with a ? and then the string to search for. -D. This is not possible with Bash. - -47. Which command can be used to kill all processes by using their name? -A. killproc -B. killname -C. killall -D. kill -f - -48. You’re working with a large file in Vi and need to search for instances of a string earlier in the file. Which key will search backward in the file? -A. / -B. h -C. ? -D. x - -49. You need to declare a local environment variable that will then be available to child processes. Which of the following commands accomplishes this task? -A. ex -B. echo -C. dec -D. export - -50. You are creating a Bash shell script and need to output the current script name to the current terminal. Which of the following commands accomplishes this task? -A. cat -B. echo $0 -C. echo $SCRIPT -D. echo $PS1 - -51. You have downloaded a file with a .gz extension. What is the most likely command that you will use to decompress this file? -A. unz -B. gunzip -C. hunzip -D. gzunzip - -52. You need to remove a single file from a directory if it exists but would like to be prompted for confirmation before doing so. Which option to the rm command causes the command to prompt for confirmation? -A. -a -B. -e -C. -i -D. -o - -53. You need to determine files that are sized above 1GB. Which of the following commands accomplishes this task? -A. find / -size +1G -B. find / -size 10000M -C. find / +1M -D. find / -size +1B - -54. Which option to cpio lists the files as it is operating on them? -A. -l -B. -v -C. -k -D. -s - -55. Which command is used to send contents of a bzip2 archive to STDOUT? -A. bzout -B. bzcat -C. bz2cat -D. bz2echo - -56. You are attempting to find more information about the jobs command; however, an Internet search was not particularly helpful because there are so many Linux-related jobs available. Additionally, you attempted to view the man page for the jobs command but it was not available. Which man page should you use to view more information on jobs? -A. jbs -B. procctl -C. bash -D. ps - -57. You need to start a process that cannot be sent or will not accept a SIGHUP signal. Which command should be used to start the process? -A. nosig -B. nohup -C. nokill -D. noproc - -58. You need to run a command periodically and examine its output in real time. Which of the following commands enables this scenario? -A. mon -B. procmon -C. pgrep -D. watch - -59. You would like to tail a log file to watch entries as they are being added to the log file. In addition, you would also like to work within the same terminal window or SSH (Secure Shell) session to add entries to another file at the same time. Which command can be used to create two sessions within the same terminal window? -A. screen -B. tmux -C. sess -D. termse - -60. You need to kill several processes at once. Rather than writing a complex ps-based command to do so, you can use which other command? -A. pkill -B. psk -C. pskill -D. prock - -61. You are using pgrep to find the process IDs for a given command. However, several other commands seem to also appear. Which option to pgrep enables matching against the full path of the process? -A. -f -B. -d -C. -o -D. -i - -62. You need to determine the exact command that will be run based on your current environment settings. Which command is used for this purpose? -A. what -B. which -C. find -D. ls - -63. An environment variable has been set on login, but you need to remove that variable temporarily for the current session. Which shell built-in command can be used for this purpose? -A. reset -B. unset -C. undo -D. clear - -64. You cannot find the man page of a command but you know the command exists. For example, the alias command exists but there is no man page for it. Which of the following commands could you execute to determine what type of command alias is? -A. type -B. cmd -C. uses -D. listr - -65. Which type of quotes are used so that variables are interpolated within a Bash shell script? -A. Escaped quotes -B. Single quotes -C. Double quotes -D. Side quotes - -66. Which of the following pagers includes the ability to search backward and forward as well as move backward and forward, line-by-line, and page-by-page? -A. more -B. mplus -C. less -D. catch - -67. You have a specialized need for outputting a file in octal format. Which command or series of commands can be used for this purpose? -A. oct -B. cat | octalf -C. od -D. octf - -68. Which option to sha256sum causes the file to be read in binary mode? -A. -i -B. -b -C. -c -D. -p - -69. When operating in command mode, which keys enable you to move the cursor in the Vi editor? -A. a, s, d, f -B. h, j, k, l -C. q, w, e, r -D. z, x, c, v - -70. Which options to xz are functionally equivalent to the xzcat program? -A. decompress and output -B. output and format -C. decompress and stdout -D. stdout and format - -71. Which environment variable is used to control the default text editor used on a Linux system? -A. EDITOR -B. EDIT -C. TEXTEDITOR -D. DEFAULT_EDITOR - -72. You need to examine the seventh section of the manual page for regular expressions, or regex, on a Linux system. Which command displays the seventh section of the manual? -A. man regex -7 -B. man regex 7 -C. man --page 7 regex -D. man 7 regex - -73. Which of the following commands reprioritizes an already running process? -A. nice -B. renice -C. chnice -D. altnice - -74. The fgrep command is equivalent to running the grep command with which option? -A. -f -B. -F -C. -a -D. -E - -75. Which of the following regular expressions would find the pattern Steve or steve in a file when used with grep? -A. '[sS]teve' -B. '[S]*teve' -C. '^[Ss]teve' -D. '[$Steve]' - -76. Which of the following commands shows the currently running processes and their resource usage in real time, updated every few seconds? -A. nice -B. ps -C. top -D. procs - -77. You have been asked to create a compressed file that will be readable by those with other operating systems. Which tool can you use for this purpose? -A. gzip -B. bzip2 -C. xz -D. tar - -78. You need to match files that begin with 201, as in 2017, 2018, 2019. Which of the following wildcard specifications can be used? -A. 201? -B. 201$ -C. 201@ -D. 201] - -79. You need to break a large file into smaller pieces. Which command can be used for this purpose? -A. cut -B. split -C. dice -D. rem - -80. When examining the output from top, you see that a process has a value in the PR column of 20. To what does the PR column refer? -A. The process ID -B. The process utilization -C. The process priority -D. The processor core on which the process is executing - -81. You need to cut or remove eight lines from a file while editing with Vi. Which combination should be used for this purpose? -A. d7 -B. d8 -C. r8 -D. x7 - -82. Which command is used in order to decompress a file that has been compressed with xz? -A. unxz -B. dexz -C. xzu -D. u2xz - -83. Which of the following commands uses 128-bit message digests? -A. sha256sum -B. sha512sum -C. sh128sum -D. md5sum - -84. You have several files that need to be combined, with a line from each file being appended onto a single line. Which command can be used for this purpose? -A. paste -B. comb -C. appfile -D. combo - -85. You need to run a command that is not inside your current path. Which of the following represents the typical method for doing so? -A. Use a fully qualified path for the command. -B. Set the PATH environment variable to include the correct path. -C. Restart the shell environment. -D. Restart the computer for settings to take effect. - -86. Which signal is used by default by the pkill command? -A. SIGKILL -B. SIGTERM -C. SIGHUP -D. SIGKS - -87. You are working with the jobs built-in command to display jobs. You would like to see only running jobs. Which option to the jobs built-in command will display only running jobs? -A. -s -B. -a -C. -l -D. -r - -88. Which option to the bunzip2 command sends output to STDOUT, much like the bzcat command? -A. -s -B. -o -C. -c -D. -d - -Chapter Topic 104: Devices, Linux Filesystems, Filesystem Hierarchy Standard - -1. Which option best describes the following output from the ls -la command: lrwxrwxrwx. 1 root root 35 Jul 8 2014 .fetchmailrc -> .configs/fetchmail/.fetchmailrc? -A. It is a file called .fetchmailrc that is linked using a symbolic link. -B. It is a file called .configs/fetchmail/.fetchmailrc that is owned by lrwxrwxrwx. -C. It is a directory called .fetchmailrc that is owned by user Jul. -D. It is a local directory called .configs/fetchmail/.fetchmailrc. - -2. Assuming that a USB disk contains a single partition and is made available on /dev/sdb, which command mounts the disk in /media/usb? -A. mount /dev/sdb1 /media/usb -B. usbconnect /dev/sdb0 /media/usb -C. mount /dev/sdb0 /media/usb -D. usbmount /dev/sdb1 /media/usb - -3. Which option within a partition-mounting command will cause the partition to be mounted in such a way as to prevent execution of programs? -A. execless -B. stoprun -C. noexec -D. norun - -4. When working with partitions on disk, you see the type 0x82. Which type of partition is this? -A. Linux -B. Linux swap -C. NTFS -D. FAT - -5. Which partition type should be created for a Linux system, non-swap partition? -A. 82 -B. 83 -C. 84 -D. L - -6. Which command can be used to determine the location of a given executable that would be run if typed from your current environment and location? -A. which -B. what -C. whatis -D. when - -7. Which of the following commands will correctly change the group ownership of the file called a.out to users? -A. chgrp users a.out -B. chgrp a.out users -C. groupchg a.out users -D. grpchg users a.out - -8. Another administrator made a change to one of the local scripts used for administrative purposes. The change was also immediately reflected in your copy of the script. However, when examining the file with ls, you see that it appears to be a normal file. What is the likely cause of such a scenario? -A. The file was executed after edit. -B. The administrator copied the file to yours. -C. Your file is a hard link to the original. -D. The file has been restored from backup. - -9. Which of the following commands shows the usage of inodes across all filesystems? -A. df -i -B. ls -i -C. du -i -D. dm -i - -10. You’re running fsck on an ext3 filesystem, and the process is taking longer than expected and requiring input from the administrator to fix issues. What option could be added to fsck next time so that the command will automatically attempt to fix errors without intervention? -A. -o -B. -V -C. -y -D. -f - -11. Which of the following describes a primary difference between ext2 and ext3 filesystems? -A. ext3 was primarily a bug fix update to ext2. -B. ext3 includes journaling for the filesystem. -C. ext3 completely changed the tools needed for management of the disks. -D. ext3 filesystems have no significant differences. - -12. Which option to umask will display the permissions to be used in a Portable Operating System Interface (POSIX) format? -A. -P -B. -p -C. -S -D. -v - -13. Which option to ln creates a symlink to another file? -A. -sl -B. -s -C. -l -D. --ln - -14. Which of the following commands can be used if you need to locate various elements of a given command, such as its binaries and man pages? -A. whatis -B. find -C. whereis -D. ls - -15. Which option in /etc/updatedb.conf will remove a path from inclusion in the results? -A. PRUNEPATHS -B. EXCLUDEPATHS -C. INCLUDEEXCLUDE -D. SEPARATEPATH - -16. According to the filesystem hierarchy standard (FHS), what is the correct location for site-specific data for a server? -A. /etc -B. /var -C. /tmp -D. /srv - -17. Which of the following commands enables the sticky bit for a user on a file called homescript.sh? -A. chmod +sticky homescript.sh -B. chmod 755 homescript.sh -C. chmod u+s homescript.sh -D. chown u+sticky homescript.sh - -18. Which option to the mount command will mount all filesystems that are currently available in /etc/fstab? -A. -g -B. -a -C. -r -D. -y - -19. Which command is used to format a swap partition? -A. fdisk -B. mkswap -C. formatswap -D. format -s - -20. Which command and option is used to display the number of times that a filesystem has been mounted? -A. tune2fs -l -B. cat /etc/fstab -C. mount -a -D. less /etc/fsmnt - -21. Which option to xfs_metadump displays a progress indicator? -A. -g -B. -p -C. -f -D. -v - -22. The system is running out of disk space within the home directory partition and quotas have not been enabled. Which command can you use to determine the directories that might contain large files? -A. du -B. df -C. ls -D. locate - -23. Which file contains information about the filesystems to mount, their partitions, and the options that should be used to mount them? -A. /etc/filesystems -B. /etc/mounts -C. /etc/fstab -D. /srv/mounts - -24. According to the FHS, what is the proper mount point for removable media? -A. /etc -B. /srv -C. /tmp -D. /media - -25. Which file contains information on currently mounted filesystems, including their mount options? -A. /etc/mtab -B. /etc/fstab -C. /tmp/files -D. /etc/filesystems - -26. Which option to umount will cause the command to attempt to remount the filesystem in read-only mode if the unmounting process fails? -A. -o -B. -r -C. -f -D. -v - -27. The umask reports as 022. What is the permission that will be in effect for a newly nonexecutable created file? -A. u+rw, g+r, w+r -B. 755 -C. 022 -D. a+r - -28. The locate command is reporting out-of-date information. Which command should be run in order to have the locate command update its database? -A. locatedb -u -B. locate -u -C. updatedb -D. updatelocate - -29. Which shell built-in command can be used to determine what command will be run? -A. type -B. when -C. find -D. help - -30. Which option to chown recursively changes the ownership? -A. -f -B. -R -C. -a -D. -m - -31. Which of the following represents the correct format for the /etc/fstab file? -A. -B. -C. -D. - -32. Which of the following commands is used to identify the UUID for partitions? -A. blkid -B. ls -C. find -D. cat - -33. Which of the following describes the priority order for configuration files with systemd? -A. Files in /etc/, files in /run, and then files in /lib -B. Files in /run, files in /etc/, and then files in /lib -C. Files in /lib, files in /run, and then files in /etc -D. Files in /lib, files in /etc, and then files in /run - -34. Which options to the fsck command will find and automatically assume that it should repair errors that it finds? -A. -y -B. -vy -C. -my -D. -xy - -35. Which option to mke2fs sets the type of filesystem to be created? -A. -F -B. -a -C. -t -D. -e - -36. Which of the following files is the default configuration file for the autofs automounter? -A. /etc/autofs -B. /etc/auto.master -C. /etc/autofs.conf -D. /etc/automounter.conf - -37. Which of the following commands is used to create an ISO filesystem? -A. mkiso -B. mkfsiso -C. mkisofs -D. isofs-mk - -38. Which option to the tune2fs command sets the maximum mount count before the system will automatically run fsck on the partition on boot? -A. -b -B. -c -C. -C -D. -a - -39. Which option to the mount command can be used to simulate the mount process without actually mounting the filesystem? -A. -q -B. -v -C. -l -D. -f - -40. When viewing /proc/mounts, you see a filesystem with the letters ro in the fourth column. To what do the letters ro refer? -A. relative option -B. realtime option -C. read-only -D. relative-only - -41. Which option to dumpe2fs displays the bad blocks for a given partition? -A. -bb -B. -C -C. -b -D. -f - -42. Which of the following filesystem types features copy-on-write? -A. ext3 -B. ext4 -C. FAT -D. Btrfs - -43. Which of the following commands displays filesystem geometry for an XFS filesystem? -A. xfsinfo -B. xfs_info -C. xfs -info -D. xfs --info - -44. Which of the following commands can be used to display information such as the UUID for partitions on a system? -A. blkid -B. blockdev -C. devinfo -D. uuidinfo - -45. Which option to the umount command will cause it to unmount only filesystems of the specified type? -A. -v -B. -f -C. -t -D. -a - -46. Which command causes unwritten data to be written to disk immediately? -A. write -B. wrnow -C. connwrite -D. sync - -47. Which option to xfs_check is used to verify a filesystem that is stored in a file? -A. -v -B. -a -C. -f -D. -d - -48. Which option to debugfs causes the filesystem to be opened in read-write mode rather than the default read-only? -A. -rw -B. -w -C. -r -D. -n - -49. Which daemon is responsible for monitoring Self-Monitoring, Analysis, and Reporting Technology (SMART)-compatible hard drives? -A. smartmon -B. smarty -C. sartd -D. smartd - -50. When checking an ext3 filesystem, which option to the fsck.ext3 command causes it to run the check even if the filesystem is apparently marked as clean? -A. –f -B. -m -C. -a -D. -c - -51. You are performing an xfsrestore. The xfsdump was executed with a block size of 4MB. Which option do you need to invoke on xfsrestore in order for it to successfully use this dump? -A. -b 4M -B. -g 1M -C. -i 1M -D. -k 1028K - -52. You see the word defaults within /etc/fstab. Which options are encompassed within the defaults? -A. ro, exec, auto -B. rw, suid, dev, exec, auto, nouser, async -C. rw, exec, auto, nouser, async -D. rw, exec, nouser, async, noauto, suid - -53. Which of the following commands creates a btrfs subvolume? -A. btrfs create subvolume -B. btrfs subvolume create -C. btrfs sv create -D. btrfs svcreate - -54. Which of the following options to xfsdump sets the maximum size for files to be included in the dump? -A. -p -B. -s -C. -z -D. -b - -55. Which option to the tune2fs command sets the behavior when a filesystem error occurs? -A. -f -B. -d -C. -e -D. -k - -56. The /etc filesystem has been mounted as a read-only for a recovery process. You need to mount another partition. Which option to the mount command causes it to not write to /etc/mtab? -A. -a -B. -m -C. -b -D. -n - -57. Which of the following commands deactivates swap space? -A. swapoff -B. swap -off -C. unmountswap -D. uswap - -58. Within the [mount] section of a systemd mount unit, which directive specifies the location for mounting the chosen filesystem? -A. Where= -B. Location= -C. List= -D. Dest= - -59. Which of the following commands can be used to format a FAT filesystem? -A. mkfs.fat -B. mkfs -f -C. mkfs --fat -D. mkfat - -60. Which of the following commands adds a journal to an existing ext2 filesystem? -A. tune2fs -jrn -B. e2fs -x -C. tune3fs -D. tune2fs -j - -61. Which of the following commands creates a snapshot of a btrfs subvolume? -A. btrfs subvolume snapshot -B. btrfs snapshot --create -C. btrfs create snapshot -D. btrfs --create - -62. Which option to xfs_repair will force log zeroing even if there may be metadata within the log? -A. -L -B. -v -C. -d -D. -V - -63. Which of the following commands mounts a filesystem in read-only mode? -A. mount read-only -B. mount --read -C. mount -o ro -D. mount -or - -64. When you are using tune2fs to set an extended option such as stripe_width, which command-line option is needed to signify that an extended option follows? -A. -extend -B. -E -C. -e -D. -f - -65. Which utility is used for formatting GPT disks? -A. gdisk -B. gptdisk -C. gpdisk -D. pgdisk - -66. What is the maximum size of a partition on an MBR-formatted disk? -A. 2TB -B. 4TB -C. 2MB -D. 512TB - -67. Which option to mkfs.ext4 can be used to prevent reservation of blocks for system or -superuser use? -A. -r 0 -B. -r 0b -C. -m 0 -D. -m 0b - -68. What is the default time in seconds that xfs_fsr will use to reorganize a filesystem? -A. 3600 -B. 7200 -C. 86400 -D. 5150 - -69. A user who is a member of the custom admins group is attempting to read the contents of a file but is not the owner of the file. Rather than granting sudo access to this file, what is another way to grant read access, assuming that the file is currently marked with 640 permissions? Note that you should choose the most appropriate answer to fulfill the need while minimizing additional privileges. -A. Grant root access to the user. -B. Run chmod 777 on the file. -C. Use chgrp to change group ownership to admins. -D. Use chown to change the ownership of the file to the individual user. - -70. Which option to lsblk shows empty devices? -A. -g -B. -a -C. -r -D. -y - -71. The /media/ mount point is used frequently for which types of devices? -A. Hard drives -B. SAN -C. NAS -D. USB devices - -72. Which of the following commands is used to format an exFAT filesystem? -A. mkexfat -B. mkfat.ex -C. mkfs.exfat -D. mkfs2.exf - -73. Which of the following commands is used for debugging an XFS-formatted filesystem? -A. debug_xfs -B. xfs_debug -C. xfs_db -D. debugxfs - -74. You’re working with an ext2 filesystem and you suspect the superblock is corrupted. Which option to e2fsck enables you to specify the location of an alternate superblock? -A. -B -B. -s -C. -b -D. -o - -75. Which option to df shows the numerical output in larger size increments, like MB, GB, TB, and so on rather than in bytes? -A. -h -B. -m -C. -n -D. -s - -76. Assuming the use of Bash for the shell, in which file can the umask be set such that the file creation mask is set automatically on login? -A. /etc/umask.def -B. /etc/profile -C. /etc/bash.d/umask -D. /etc/bash.umask - -77. You need to enable two users to edit the same file but keep their own individual changes. Another administrator suggested making a symbolic link for the file. Is a symbolic link the appropriate solution for this scenario and, if not, what is? -A. A symbolic link is not appropriate because the users cannot keep their own changes. A copy would be a better option. -B. A symbolic link is appropriate here because each user can access the file, assuming write permissions. -C. A symbolic link is not appropriate given that the users will not have permissions on symbolic links. Linux cannot meet the scenario described. -D. A symbolic link is appropriate because symbolic links have the ability to do version control, thus enabling the scenario. - -78. You have deleted a user from the system and want to determine if this user still has files on the system. Which command will fulfill this scenario? -A. locate -B. find -uid -C. find -user -D. fileloc -user - -79. You need to update the locate database. Which of the following commands is used for this purpose? -A. updatedb -B. locatedb -C. updlocdb -D. locdbupd - -80. Which option to lsblk shows the UUID of each filesystem? -A. –u -B. -f -C. -o -D. -a - -81. Which option to mkswap checks the device for bad blocks before formatting? -A. -b -B. -B -C. -c -D. -d - -82. You are examining output from ls -la and one file contains the permissions -rwSrw-r--. To what does the S refer? -A. Specific execute -B. Source formatting -C. Selective execution -D. Sticky bit - -83. You need to change file permissions to be setgid for a file called sync.sh. The file is normally permission 755. Which of the following commands accomplishes this task? -A. chmod 2775 sync.sh -B. chmod u+s sync.sh -C. chmod 2755 sync.sh -D. chmod 4755 sync.sh - -84. Which of the following commands finds files with a .sql extension across the entire filesystem? -A. find . -name "*.sql" -B. find /root -ext sql -C. find / -name "*.sql" -D. find / -exten ".sql" - -85. When working with /etc/fstab to mount by UUID, which syntax is correct as the first column in /etc/fstab, assuming a UUID denoted by ? -A. -B. UUID= -C. ID= -D. GPT= - -86. Which option to du displays information on inode usage? -A. -i -B. -h -C. --inodes -D. -d - -87. Which of the following find commands will look for files that are over 1GB in size? -A. find -size +1G -B. find -size 1GB -C. find -fssize +1GB -D. find -filesize +1G - -88. You have a set of libraries that were installed into /usr/local/lib and would like to ensure that the libraries are also available in /usr/lib. What is the preferred way to make the libraries available in this location? -A. Copy the libraries. -B. Create a symbolic link. -C. Move the libraries. -D. Create a script to synchronize the libraries between the two locations with rsync. +"LEVEL","ANSWER","QUESTION",1,2,3,4 +"101-500",,"1. Which of the following commands is used to view kernel-related udev events in real time?","udevls all","lsudev -f","udevmon -a","udevadm monitor" +"101-500",,"2. Which command enables you to view the current interrupt request (IRQ) assignments?","view /proc/irq ","cat /proc/interrupts ","cat /dev/irq ","less /dev/irq" +"101-500",,"3. Configuration of udev devices is done by working with files in which directory? ","/udev/devices ","/devices/ ","/udev/config ","/etc/udev " +"101-500",,"4. Which command is used to automatically load a module and its dependencies? ","modprobe ","lsmod ","insmod ","rmmod " +"101-500",,"5. Which command is used to obtain a list of USB devices? ","usb-list ","lsusb ","ls-usb ","ls --usb " +"101-500",,"6. 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? ","query ","info ","getinfo ","devinfo " +"101-500",,"7. Which command can be used to view the kernel ring buffer in order to troubleshoot the boot process? ","lsboot ","boot-log ","krblog ","dmesg " +"101-500",,"8. During the initialization process for a Linux system using SysV init, which runlevel corresponds to single-user mode? ","Runlevel 5 ","Runlevel SU ","Runlevel 1 ","Runlevel 6 " +"101-500",,"9. On a system using SysV init, in which directory are the startup and shutdown scripts for services stored? ","/etc/init-d ","/etc/init ","/etc/sysV ","/etc/init.d " +"101-500",,"10. Which command can be used to reboot a system? ","init 6 ","shutdown -h -t now ","init 1 ","refresh-system " +"101-500",,"11. 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? ","init-refresh ","init 6 ","telinit ","reload-inittab " +"101-500",,"12. Which command displays the current runlevel for a system? ","show-level ","init --level ","sudo init ","runlevel " +"101-500",,"13. Within which folder are systemd unit configuration files stored? ","/etc/system.conf.d ","/lib/system.conf.d ","/lib/systemd/system ","/etc/sysconfd " +"101-500",,"14. Which command is used with systemd in order to list the available service units? ","systemd list-units ","systemctl list-units ","systemd unit-list ","systemctl show-units " +"101-500",,"15. Which option to lspci is used to display both numeric codes and device names? ","-numdev ","-n ","-nn ","-devnum " +"101-500",,"16. Which command can be used to obtain a list of currently loaded kernel modules? ","insmod ","modlist ","ls --modules ","lsmod " +"101-500",,"17. Which option to the modprobe command shows the dependencies for a given module? ","--show-options ","--list-deps ","--show-depends ","--list-all " +"101-500",,"18. Which command can you use to send a message to all users who are currently logged into a system? ","cat ","wall ","tee","ssh" +"101-500",,"19. Which of the following is a good first troubleshooting step when a hard disk is not detected by the Linux kernel? ","Unplug the disk. ","Check the system BIOS. ","Restart the web server service. ","Run the disk-detect command." +"101-500",,"20. Within which directory is information about USB devices stored? ","/etc/usbdevices ","/var/usb ","/lib/sys/usb ","/sys/bus/usb/devices" +"101-500",,"21. If the kernel ring buffer has been overwritten, within which file can you look to find boot messages? ","/var/log/bootmessages ","/var/log/mail.info ","/var/adm/log/boot.info ","/var/log/dmesg " +"101-500",,"22. Which command and option can be used to determine whether a given service is currently loaded? ","systemctl --ls ","telinit ","systemctl status ","sysctl -a " +"101-500",,"23. Which command on a systemd-controlled system would place the system into single-user mode? ","systemctl one ","systemctl isolate rescue.target ","systemctl single-user ","systemctl runlevel one " +"101-500",,"24. Which command on a system controlled by Upstart will reload the configuration files? ","initctl reload ","systemd reload ","upstart --reload ","ups -reload " +"101-500",,"25. When working with a SysV system, which option to chkconfig will display all services and their runlevels? ","--reload ","--list ","--all ","--ls " +"101-500",,"26. A drive connected to USB is considered which type of device? ","Medium ","Coldplug ","Hotplug ","Sideplug " +"101-500",,"27. 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? ","usbstop /dev/sda ","umount /dev/sda1 ","unmount /dev/sda1 ","dev-eject /dev/sda1 " +"101-500",,"28. 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? ","Rebooting the system ","Viewing the contents of /var/log/usb.log ","Connecting the drive to a USB port that you know the number of ","Running dmesg and looking for the disk " +"101-500",,"29. Which of the following commands will initiate an immediate shutdown of the system? ","shutdown -c ","halt ","systemd stop ","stop-system " +"101-500",,"30. Which option within a systemd service file indicates the program to execute? ","StartProgram ","ShortCut ","ExecStart ","Startup " +"101-500",,"31. Which command will display the default target on a computer running systemd? ","systemctl defaults ","update-rc.d defaults ","systemctl runlevel ","systemctl get-default " +"101-500",,"32. Which option to the systemctl command will change a service so that it runs on the next boot of the system? ","enable ","startonboot ","loadonboot ","start " +"101-500",,"33. Which of the following best describes the /proc filesystem? ","/proc contains information about files to be processed. ","/proc contains configuration files for processes. ","/proc contains information on currently running processes, including the kernel. ","/proc contains variable data such as mail and web files. " +"101-500",,"34. Which command will retrieve information about the USB connections on a computer in a tree-like format? ","lsusb -tree ","lsusb --tree ","lsusb -t ","usblist --tree " +"101-500",,"35. 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? ","The use of systemd means that drivers are not required for most devices. ","The use of initramfs means that support is enabled by default. ","The system does not need a driver for the device. ","Support for the device has been compiled directly into the kernel. " +"101-500",,"36. Which option to rmmod will cause the module to wait until it’s no longer in use to unload the module? ","-test ","-f ","-w ","-unload " +"101-500",,"37. 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? ","mount --continue ","tune2fs -e continue ","mkfs --no-remount ","mount -o remount " +"101-500",,"38. Within which directory are rules related to udev stored? ","/etc/udev.conf ","/etc/udev.conf.d ","/etc/udev/rules.d ","/etc/udev.d " +"101-500",,"39. Which option to lspci displays the kernel driver in use for the given Peripheral Component Interconnect (PCI) device? ","-t ","-k ","-n ","-a " +"101-500",,"40. Within which of the following directories will you find blacklist information for modules loaded with modprobe? ","/etc/blacklist ","/etc/modprobe.d ","/etc/blacklist.mod ","/etc/modprobe " +"101-500",,"41. When working with a CentOS 6 system, which command is used to create the initial RAM disk? ","mkinit ","dracut ","mkraminit ","mkinitfs " +"101-500",,"42. Within which file will you find a list of the currently available kernel symbols? ","/proc/kernelsyms ","/etc/kernel.conf ","/etc/lsyms ","/proc/kallsyms " +"101-500",,"43. 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? ","systool -v -m ","modinfo -r ","lsmod ","infmod " +"101-500",,"44. Which directory contains various elements and configuration information about the kernel such as the release number, domain name, location of modprobe, and other settings? ","/proc/sys/kmod ","/proc/sys/kernel ","/proc/kernel ","/proc/kernel/sys " +"101-500",,"45. Within which directory should systemd unit files that you create be stored? ","/etc/system ","/etc/systemd/system ","/usr/share/systemd ","/usr/share/system " +"101-500",,"46. Which of the following commands should you execute after making changes to systemd service configurations in order for those changes to take effect? ","systemd reload ","reboot ","systemctl daemon-reload ","systemctl reboot " +"101-500",,"47. Which of the following files contains the runlevels for the system along with a reference to the corresponding rc file? ","/etc/runlevels ","/etc/inittab ","/etc/rc ","/etc/runlevel " +"101-500",,"48. Which boot loader can be used for File Allocation Table (FAT) filesystems and might be used for a rescue disk? ","SYSBOOT ","SYSLINUX ","TIELINUX ","FATLINUX " +"101-500",,"49. Which of the following is used to provide an early filesystem-based loading process for key drivers needed to continue the boot process? ","bootrd ","driverload ","initrd ","initdrv " +"101-500",,"50. 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? ","defrag ","fsck ","checkfs ","chkfs " +"101-500",,"51. Which of the following commands places the system in single-user mode? ","tellinit 1 ","chginit 1 ","telinet 1 ","telinit 1 " +"101-500",,"52. Which of the following commands changes the boot order for the next boot? ","efibootmgr -c ","efibootmgr -b -B ","efibootmgr -o ","efibootmgr -n " +"101-500",,"53. Which boot loader can be used with ISO9660 CD-ROMS? ","ISOLINUX ","EFIBOOT ","ISOFS ","BOOTISO " +"101-500",,"54. Within which directory are systemd user unit files placed by installed packages? ","/usr/lib/systemd/user ","/usr/lib/systemd/system ","/usr/systemd ","/usr/system " +"101-500",,"55. When using Unified Extensible Firmware Interface (UEFI), which of the following files can be used as a boot loader? ","shim.uefi ","shim.efi ","shim.fx ","efi.shim " +"101-500",,"56. Which directory on a SysV init-based system contains scripts that are used for starting and stopping services? ","/etc/rc.int ","/etc/boot ","/etc/bootscripts ","/etc/init.d " +"101-500",,"57. Which of the following commands is used to find overriding configuration files on a systemd-based system? ","diff ","systemctl -diff ","systemd-delta ","systemctl configoverride " +"101-500",,"58. 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? ","rlevel ","chkconfig --list ","bootldr --list ","init --bootlist " +"101-500",,"59. Which of the following commands, executed from within the UEFI shell, controls the boot configuration? ","bootcfg ","bcfg ","grub-install ","grcfg " +"101-500",,"60. 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? ","pxelinux.tftp ","pxelinux.boot ","pxelinux.conf ","pxelinux.0 " +"101-500",,"61. Which utility can you use on a Debian or Ubuntu system to manage SysV init scripts, such as setting them to run on boot? ","bootorder ","bootloader ","configchk ","update-rc.d " +"101-500",,"62. Which key, pressed during the operating system selection menu, is used to enable editing of the parameters related to boot with GRUB? ","v ","e ","r ","y " +"101-500",,"63. Which systemctl subcommand is used to switch runlevels? ","switch ","move ","runlevel ","isolate " +"101-500",,"64. When examining the /etc/inittab file, which option signifies the default runlevel to which the system will boot? ","default ","defaultboot ","initdefault ","defaultlvl " +"101-500",,"65. Which of the following is used instead of initrd to provide an early filesystem for essential drivers? ","initnext ","initramfs ","initialize ","initfs " +"101-500",,"66. Which of the following commands sets the default systemd target to multi-user? ","systemctl set-default multi-user.target ","systemd set-default multi-user.target ","systemctl set-def muser.target ","systemd set-def muser.target " +"101-500",,"67. When using a shim for booting a UEFI-based system, which of the following files is loaded after shim.efi? ","grubx64.cfg ","grub.conf ","grubx64.efi ","efi.boot " +"101-500",,"68. Within which hierarchy are files from /etc/init.d linked so that the files are executed during the various runlevels of a SysV system? ","/etc/rc.S ","/etc/rc ","/etc/boot/rc ","/etc/rc.d " +"101-500",,"69. What is the name of the unit to which a systemd system is booted in order to start other levels? ","default.target ","init.target ","initial.target ","load.target " +"101-500",,"70. 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? ","/dev/fc0 ","pci-0000:1a:00.0-fc-0x500601653ee0025f:0x0000000000000000 ","pci-0000:1a:00.0-scsi-0x500601653ee0025f:0x0000000000000000 ","/dev/fibre0 " +"101-500",,"71. 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? ","/dev/nd* ","/dev/nvme* ","/dev/nv* ","/dev/nvme/* " +"101-500",,"72. Which file contains information about the current md Redundant Array of Inexpensive Disks (RAID) configuration such as the personalities? ","/proc/raidinfo ","/proc/rhyinfo ","/proc/mdraid ","/proc/mdstat " +"101-500",,"73. Which of the following directory hierarchies contains information such as the World Wide Name (WWN) for Fibre Channel? ","/sys/class/wwn ","/sys/class/fc_host ","/sys/class/fclist ","/sys/class/fc/wwn " +"101-500",,"74. Information about logical volumes can be found in which of the following directories? ","/dev/lvinfo ","/dev/map ","/dev/mapper ","/dev/lvmap " +"101-500",,"75. Which of the following commands will examine the PCI subsystem for NVMe-based devices? ","psnvme ","lsnvme ","lspci | grep scsi ","lspci | grep -i nvme " +"101-500",,"76. Which of the following devices is the location of the first Small Computer System Interface (SCSI) tape device detected at boot? ","/dev/st1 ","/dev/sd0 ","/dev/sd1 ","/dev/st0 " +"101-500",,"77. Which of the following files should be used to display a message to users prior to logging in locally? ","/etc/loginmesg ","/etc/logmessage.txt ","/etc/issue ","/etc/banner " +"101-500",,"78. Which file contains a message that is displayed after a successful login? ","/etc/loginbanner ","/etc/issue ","/etc/motd ","/etc/message " +"101-500",,"79. Which of the following files can be used to provide a message to users logging in remotely with a protocol such as telnet? ","/etc/telnet.msg ","/etc/issue.net ","/etc/login.msg ","/etc/telnet.login " +"101-500",,"80. Which of the following commands turns off the computer, including removing power, if possible? ","systemctl halt ","systemctl reboot ","systemctl stop ","systemctl poweroff " +"101-500",,"81. Which of the following shutdown commands reboots the system in 15 minutes? ","shutdown -r +15 ","shutdown +15 ","shutdown -15 ","shutdown -r 00:15 " +"101-500",,"82. When terminating a process on a SysV init-based system, which command can be used to stop the process? ","service ","sysv ","syscl ","servc " +"101-500",,"83. Which of the following commands show the boot messages captured by systemd? ","journalctl -b ","systemctl -b ","journalctl -bm ","journalctl -l " +"101-500",,"84. Which option to the shutdown command halts or stops the system? ","-h ","-s ","-f ","-t " +"101-500",,"85. Which signal number is used as SIGKILL when used with the kill command? ",1,4,9,11 +"101-500",,"86. Which directory contains rc-related startup scripts on a legacy Debian system? ","/etc/init ","/etc/inittab ","/etc/init.d ","/etc/rc.init " +"101-500",,"87. 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? ","Examine boot messages to determine if the kernel has detected the peripheral. ","Examine /var/log/auth.log for detection of the peripheral. ","Reboot the system to determine if the device works. ","Enable the peripheral by removing it from the blacklisted modules. " +"101-500",,"88. Which option to the wall command suppresses the ""Broadcast message"" banner that normally displays? ","-b ","-a ","-n ","-d " +"101-500",,"1. A Serial Advanced Technology Attachment (SATA) disk will use which of the following identifiers? ","/dev/hdX ","/dev/sataX ","/dev/sdX ","/disk/sataX " +"101-500",,"2. Which option given at boot time within the GRUB configuration will boot the system into single-user mode? ","single-user ","su ","single ","root " +"101-500",,"3. During boot of a system with GRUB, which key can be pressed to display the GRUB menu? ","Shift ","E ","V ","H " +"101-500",,"4. When booting, which option can be added to a GRUB configuration line to set or change the root partition at boot time to /dev/sda2? ","rootpartition={hd0,2} ","root=/dev/sda2 ","root={hd0,3} ","rootpartition=/dev/sda2 " +"101-500",,"5. Which key combination will enable you to edit the kernel options and then boot when using GRUB Legacy? ","ESC for editing and then Return to boot ","v for editing and then Return to boot ","e for editing and then b to boot ","v for editing and then b to boot " +"101-500",,"6. During the boot process for a virtual machine, what is the next step in the boot process after the kernel has taken over the initialization process and initializes devices? ","The system BIOS initializes devices. ","The system is placed in multi-user mode. ","The boot loader initializes the kernel. ","The root partition is mounted. " +"101-500",,"7. Where in the filesystem will the EFI system partition (ESP) typically be mounted? ","/etc/efi ","/efi ","/sys/efi ","/boot/efi " +"101-500",,"8. When partitioning a disk for a mail server running postfix, which partition/mounted directory should be the largest in order to allow for mail storage? ","/etc ","/usr/bin ","/mail ","/var " +"101-500",,"9. Which option within GRUB Legacy is used to indicate that a root partition contains a non-Linux kernel? ","initrd ","non-linux ","rootnoverify ","root-win " +"101-500",,"10. Which command will output a new GRUB2 configuration file and send the output to the correct location for booting? ","update-grub > /boot/grub/grub.cfg ","update-grub boot > /boot/grub.cfg ","grub-rc.d ","grub-boot " +"101-500",,"11. What is the maximum number of primary partitions available on an MBR partitioning system? ",2,4,1,5 +"101-500",,"12. Which command is used to update the links and cache for shared libraries on the system? ","ldcache ","cache-update ","link-update ","ldconfig " +"101-500",,"13. Which command and option is used to update a Debian system to the latest software? ","apt-update ","apt-get upgrade ","dpkg -U ","apt-cache clean " +"101-500",,"14. Which option given to a yum command will install a given package? ","update ","configure ","install ","get " +"101-500",,"15. What is the location of the home directory for the root user? ","/home/root ","/home/su ","/root ","/ " +"101-500",,"16. When using rpm2cpio, by default the output is sent to which location? ","STDOUT ","The cpio.out file ","The a.out file ","The /tmp/cpi.out file " +"101-500",,"17. Which partition or directory structure typically holds most of the programs for a Linux system? ","/etc ","/usr ","/home ","/var " +"101-500",,"18. Your GRUB Legacy configuration includes a dual-boot option with Linux listed first and another operating system listed second. Which of the following options will boot to the Linux partition by default? ","default=linux ","default=0 ","default=1 ","default=other " +"101-500",,"19. Which file should you edit when using GRUB2 in order to set things like the timeout? ","/etc/default/grub ","/etc/grub/boot ","/etc/boot/grub.d ","/grub.d/boot " +"101-500",,"20. Which yum option displays the dependencies for the package specified? ","list ","deplist ","dependencies ","listdeps " +"101-500",,"21. Which options for an rpm command will display verbose output for an installation along with progress of the installation? ","-ivh ","-wvh ","--avh ","--ins-verbose " +"101-500",,"22. Which of the following commands adds /usr/local/lib to the LD_LIBRARY_PATH when using BASH shell? ","set PATH=/usr/local/lib ","export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib ","LD_LIBRARY_PATH=/usr/local/lib ","connectpath LD_LIBRARY_PATH=/usr/local/lib " +"101-500",,"23. Which command can be used to download an RPM package without installing it? ","yumdl ","yumdownloadonly ","yumdown ","yumdownloader " +"101-500",,"24. Which command will search for a package named zsh on a Debian system? ","apt-cache search zsh ","apt-get search zsh ","apt-cache locate zsh ","apt search zsh " +"101-500",,"25. Which option within /etc/default/grub is used to configure the default operating system for boot? ","GRUB_OS ","GRUB_ON ","GRUB_DEFAULT ","DEFAULT_OS " +"101-500",,"26. When found in a GRUB configuration file, what does the ro option indicate? ","Initially mount the root partition as read-only. ","Mount the kernel as read-only. ","Start the init program as read-once. ","Mount the root partition in Raised Object mode. " +"101-500",,"27. Within which directory will you find the repositories used by yum? ","/etc/yum.conf ","/etc/repos ","/etc/yum.conf.d ","/etc/yum.repos.d " +"101-500",,"28. Which rpm option can be used to verify that no files have been altered since installation? ","-V ","-v ","--verbose ","--filesum " +"101-500",,"29. Which option for the grub-mkconfig command sends output to a file instead of STDOUT? ","-stdout ","--fileout ","-o ","-f " +"101-500",,"30. The presence of menu.lst within the filesystem typically indicates which condition? ","GRUB Legacy is in use on the system. ","GRUB2 is in use on the system. ","An error has occurred creating the output to menu.lst. ","The options for rescue boot have been changed. " +"101-500",,"31. Which command is used to determine the libraries on which a given command depends? ","ldconfig ","librarylist ","listdeps ","ldd " +"101-500",,"32. Which of the following is true of Linux swap space? ","Swap is used to hold temporary database tables. ","Swap is used as additional memory when there is insufficient RAM. ","Swap is used by the mail server for security. ","Swap is used to scrub data from the network temporarily. " +"101-500",,"33. Which of the following is not typically used to store libraries? ","/lib ","/etc/lib ","/usr/lib ","/usr/local/lib " +"101-500",,"34. Which of the following commands updates the package cache for a Debian system? ","apt-get cache-update ","apt-cache update ","apt-get update ","apt-get upgrade " +"101-500",,"35. Within which file are details of the current package repositories stored on a Debian system? ","/etc/apt.list ","/etc/sources.list ","/etc/apt/sources.list ","/etc/apt.d/sources.list " +"101-500",,"36. Of the following choices, which size would be most appropriate for the /boot partition of a Linux system? ","Between 100MB and 500MB ","Between 1GB and 10GB ","/boot should not be partitioned separately. ","Less than 5MB " +"101-500",,"37. Which of the following commands initializes a physical disk partition for use with Logical Volume Manager (LVM)? ","lvmcreate ","pvcreate ","fvcreate ","lvinit " +"101-500",,"38. Which of the following commands installs GRUB into the MBR of the second SATA disk? ","grub-install /dev/hdb2 ","grub-install /dev/sda2 ","grub-config /dev/sda ","grub-install /dev/sdb " +"101-500",,"39. Which command should be used to make changes to the choices made when a Debian package was installed? ","dpkg-reconfigure ","dpkg -r ","dpkg --reconf ","apt-get reinstall " +"101-500",,"40. Which command is used to create a logical volume with LVM? ","pvcreate ","lvmcreate ","lvcreate ","volcreate " +"101-500",,"41. What is the logical order for creation of an LVM logical volume? ","Physical volume creation, volume group creation, logical volume creation ","Physical volume creation, logical volume creation, volume group creation ","Logical volume creation, physical volume creation, volume group creation ","LVM creation, format, partition " +"101-500",,"42. Which of the Debian package management tools provides a terminal-based interface for management? ","apt-get ","dpkg ","apt-cache ","aptitude " +"101-500",,"43. Which option for yum performs a search of the package cache? ","seek ","query ","--search ","search " +"101-500",,"44. Which command option for rpm can be used to show the version of the kernel? ","rpm kernel ","rpm -qa kernel ","rpm search kernel ","rpm --list kern " +"101-500",,"45. Assuming a menu entry of Debian in your GRUB configuration, which option in /etc/default/grub would set that as the default operating system to boot? ","GRUB_OS ","GRUB_OS_DEF ","GRUB_DEFAULT ","GRUB_CONF " +"101-500",,"46. Which option in /etc/yum.conf is used to ensure that the kernel is not updated when the system is updated? ","exclude=kernel* ","exclude-kernel ","updatekernel=false ","include-except=kernel " +"101-500",,"47. Which command should be run after making a change to the /etc/default/grub file? ","grub ","grub-mkconfig ","grub-inst ","reboot " +"101-500",,"48. Which command searches for and provides information on a given package on a Debian system, including whether or not the package is currently installed? ","dpkg -i ","dpkg -s ","apt-cache ","apt-info " +"101-500",,"49. Which command is used to search for physical volumes for use with LVM? ","lvmcreate ","pvcreate ","lvmdiskscan ","lvmscan " +"101-500",,"50. Which option added to yumdownloader will also download dependencies? ","--deps ","--resolve ","--resdeps ","-d " +"101-500",,"51. Which of the following installs a previously downloaded Debian package? ","dpkg -i ","apt-install ","apt-slash ","dpkg -U " +"101-500",,"52. A hard drive is reported as hd(0,0) by the GRUB Legacy configuration file. To which of the following disks and partitions does this correspond? ","/dev/hdb2 ","/dev/hda0 ","/dev/disk1 ","/dev/sda1 " +"101-500",,"53. Which filesystem format type is used for the EFI System Partition (ESP)? ","FAT ","EXT4 ","NTFS ","EXT3 " +"101-500",,"54. Which of the following commands installs extlinux into the /boot partition? ","extlinux --install /boot ","extlinux --inst /boot ","extlinux -boot ","extlinux /boot install " +"101-500",,"55. Which of the following commands mounts /dev/sda1 in the /boot partition? ","mount /dev/sda /boot ","mount /boot /dev/sda1 ","mount /dev/sda1 /boot ","mount -dev sda1 /boot " +"101-500",,"56. Which of the following can be identified as an initial sector on a disk that stores information about the disk partitioning and operating system location? ","Minimal boot record (MBR) ","Master boot record (MBR) ","Init sector ","Master partition table (MPT) " +"101-500",,"57. Which option to grub-install will place the GRUB images into an alternate directory? ","--boot-dir ","-b ","-boot ","--boot-directory " +"101-500",,"58. Within which file is a list of the currently mounted filesystems stored? ","/etc/fstab ","/etc/curmount ","/var/spool/files ","/etc/mtab " +"101-500",,"59. Which command is used to activate swap space on a system? ","mkswap ","swapon ","swapact ","actswap " +"101-500",,"60. Which of the following commands displays information about a given physical volume in an LVM setup? ","pvdisp ","pvlist ","pvdisplay ","pvl " +"101-500",,"61. Which of the following commands creates a logical volume with LVM? ","lvc ","lvcreate ","lvlist ","lvmake " +"101-500",,"62. Which of the following commands looks for LVM physical volumes and volume groups involved in an LVM configuration? ","vgscan ","lvmscan ","lvlist ","pvlist " +"101-500",,"63. Which of the following commands is used to display a list of physical volumes involved in LVM? ","pvdisp ","pvlist ","pvscan ","pvmm " +"101-500",,"64. Which option to lvchange sets whether the logical volume is available? ","-a ","-b ","-c ","-d " +"101-500",,"65. When working with a script to create directories, the script is checking to see if srv/vhosts exists. When doing an ls of the root directory, /, you see that it does exist. However, the script does not. What might be the issue? ","The script is not executable. ","The script does not have the setuid bit set. ","The script is using a relative path. ","The script is owned by root. " +"101-500",,"66. You are architecting an application and need to choose between application containerization and virtualization. Which of the following describes a difference between application containers and a virtual machine? ","An application container can contain only one application whereas a virtual machine can contain many. ","An application container shares the host kernel whereas a virtual machine can have its own kernel. ","An application container is used for small applications whereas a virtual machine is used for large applications. ","The use of application containers is for testing only whereas a virtual machine is used for production. " +"101-500",,"67. In addition to including /lib and /usr/lib, where does ldconfig look to find additional directories to incorporate into the library path? ","/etc/lib.conf ","/etc/ldconf ","/etc/lib.cfg ","/etc/ld.so.conf " +"101-500",,"68. You are working with a cloud instance virtual machine deployed with an Infrastructure-as-a-Service (IaaS) provider. The virtual machine is running slowly. Which type of resource might you add to the cloud instance in order to improve performance? ","Compute ","Block storage ","Networking ","Disk " +"101-500",,"69. When working with a system to determine if it is using GRUB or GRUB2, the presence of which file indicates that it is GRUB2? ","grub.cfg ","grub.conf ","menu.lst ","grub2.conf " +"101-500",,"70. You are working to create a system image or template from which other virtual machines will be deployed. Which of the following represents a unique item that will change with each deployed virtual host or image? ","System directories ","MAC address ","Guest drivers ","Pilot homing " +"101-500",,"71. Which program can be used to deploy an Ubuntu image to a remote cloud provider? ","dep-image ","cloud-init ","init-cloud ","image-dep " +"101-500",,"72. Which file is used as the primary configuration file for the yum package manager? ","/etc/yum.cfg ","/etc/yum.d ","/etc/yum.conf ","/etc/yum.config " +"101-500",,"73. Which of the following commands and options lists all of the files included with a package on a Debian system? ","apt -L ","dpkg -L ","dpkg -f ","apt-get show " +"101-500",,"74. When working with SSH (Secure Shell) keys for a virtual machine cloud deployment, which key is deployed to the virtual machine so that you can connect from the host? ","The public key ","The signature file ","The private key ","Both the public and private keys " +"101-500",,"75. When using a GPT disk, which partition needs to be created for a Linux system to boot? ","/boot/efi ","/boot/gpt ","/gpt ","/vmgpt " +"101-500",,"76. Which option to zypper installs a package? ","install ","retr ","get ","ref " +"101-500",,"77. You are working with a Fedora 22 system and need to install a package. Which of the following is the default package manager on this system? ","yum ","apt ","dpkg ","dnf " +"101-500",,"78. You need to list the files available on a package on CentOS. Which of the following commands accomplishes this task? ","repoquery -l ","pkgquery -l ","dpkg -L ","pkglist " +"101-500",,"79. You need to create a backup of user home directories including root. Which directory or directories need to be included in the backup? ","/home ","/home and /home/root ","/home and /root ","/home and /root/home " +"101-500",,"80. In which file can you find the unique D-Bus machine ID for a given system? ","/etc/machine-id ","/etc/machineID ","/etc/mch.conf ","/etc/machine.id.conf " +"101-500",,"81. Which option to ldconfig can be used to process only those directories given on the command line rather than the directories found in /etc/ld.so.conf? ","-n ","-i ","-v ","-r " +"101-500",,"82. When working with package caches on Debian, you need to determine if the package list is being updated. Which option to apt-cache shows the number of available packages on the system? ","packagenum ","status ","stats ","liststatus " +"101-500",,"83. Which option to grub-install specifies the directory in which the EFI partition is located? ","--boot-dir ","--efi ","--efi-boot ","--efi-directory " +"101-500",,"84. Within which file are mount points for the system stored? ","/etc/fstab ","/etc/mtab ","/etc/partitions.list ","/etc/disk.conf " +"101-500",,"85. Which of the following option sets for rpm lists the files within the package? ","lf ","qlp ","qf ","eps " +"101-500",,"86. When working with a CentOS system, you need to determine the release of a certain package. Which command and option will accomplish this task? ","dpkg -i ","yum info ","yum search ","apt search " +"101-500",,"87. You are using a host machine and are unsure if it supports the extensions to enable virtualization. Which of the following should you look for in /proc/cpuinfo to indicate that the system is ready for virtualization? ","vmx ","virt ","envirt ","vtcapable " +"101-500",,"88. Within which file can you configure a filter for devices when using vgscan? ","lvm.conf ","vg.conf ","vgscan.conf ","lv.cfg " +"101-500",,"89. Which of the following swapon options displays information on the size of swap space along with its used space? ","--list ","-a ","--show ","-h " +"101-500",,"1. Assume that you’re using the Bash shell and want to prevent output redirects from accidentally overwriting existing files. Which command and option can be used to invoke this behavior? ","setoutput -f ","overwrite=no ","overwrite -n ","set -C " +"101-500",,"2. What command can be used to view the current settings for your environment when using Bash? ","environment ","env ","listenv ","echoenv " +"101-500",,"3. Which command is used to access documentation on the Linux computer for a given command? ","doc ","heredoc ","man ","manual " +"101-500",,"4. Which of the following commands will print various information about the kernel and architecture, along with other details? ","info --sys ","man sys ","sysinfo ","uname -a " +"101-500",,"5. When using sed for a substitution operation, which option must be included so that the substitution applies to the entire line rather than just the first instance? ","g ","a ","r ","y " +"101-500",,"6. Which option for the wc command prints the number of lines given as input? ","-f ","-a ","-l ","-o " +"101-500",,"7. What is the default number of lines printed by the head and tail commands, respectively? ","10 for head, 5 for tail ","5 for head, 10 for tail ","10 for both head and tail ","3 for both head and tail " +"101-500",,"8. You are attempting to use rmdir to remove a directory, but there are still multiple files and other directories contained within it. Assuming that you’re sure you want to remove the directory and all of its contents, what is the command and arguments to remove the directory and all of its contents? ","rm -f ","rm -rf ","rmdir -a ","rmdir -m " +"101-500",,"9. Which command will find directories with names beginning with 2014 located beneath the current directory? ","find ./ -name ""2014"" ","find ./ -type d -name ""2014"" ","find / -type d ""2014"" ","find ./ -type d -name ""2014*"" " +"101-500",,"10. Which of the following commands will provide the usernames in a sorted list gathered from the /etc/passwd file? ","cat /etc/passwd | awk -F : '{print $1}' | sort ","sort /etc/passwd | cut ","echo /etc/passwd ","cat /etc/passwd | awk '{print $1}' | sort " +"101-500",,"11. Which options to ls will produce output, including hidden (dot) files, in a list that is ordered such that the newest files are at the end of the output? ","-la ","-lat ","-latr ","-ltr " +"101-500",,"12. What will be the result if the touch command is executed on a file that already exists? ","The access time stamp of the file will change to the current time when the touch command was executed. ","The file will be overwritten. ","There will be no change. ","The file will be appended to. " +"101-500",,"13. Which option to both mv and cp will cause the command to prompt before overwriting files that already exist? ","-f ","-Z ","-r ","-i " +"101-500",,"14. Which of the following commands will send the contents of /etc/passwd to both STDOUT and to a file called passwordfile? ","cat /etc/passwd > passwordfile ","var /etc/passwd | passwordfile ","cat /etc/passwd | tee passwordfile ","echo /etc/passwd | stdout > passwordfile " +"101-500",,"15. The current hierarchy on the server contains a directory called /usr/local. You need to create additional directories below that are called /usr/local/test/october. Which command will accomplish this task? ","mkdir -p /usr/local/test/october ","mkdir /usr/local/test/october ","mkdir -r /usr/local/test/october ","mkdir -f /usr/local/test/october " +"101-500",,"16. Which option to the cp command will copy directories in a recursive manner? ","-v ","-R ","-Z ","-i " +"101-500",,"17. You have received a file that does not have a file extension. Which command can you run to help determine what type of file it might be? ","grep ","telnet ","file ","export " +"101-500",,"18. Which command will create an image of the /dev/sda1 disk partition and place that image into a file called output.img? ","dd if=sda of=/dev/sda1 ","dd if=output.img of=/dev/sda1 ","dd if=/dev/sda1 of=output.img ","echo /dev/sda1 > output.img " +"101-500",,"19. What is the default delimiter used by the cut command? ","Colon ","Tab ","Space ","Comma " +"101-500",,"20. Which of the following will unzip and extract the contents of a file that has been tarred and gzipped? ","tar -zxf ","tar -xf ","tar -vz ","tar -fd " +"101-500",,"21. What command is used to bring a command to foreground processing after it has been backgrounded with an &? ","bg ","fore ","4g ","fg " +"101-500",,"22. You need to write a script that gathers all of the process IDs for all instances of Apache running on the system. Which of the following commands will accomplish this task? ","ps auwx | grep apache ","pgrep apache ","processlist apache ","ls -p apache " +"101-500",,"23. Which of the following command lines would monitor a single process called nagios in a continuous manner? ","top -n 1 ","top -p 23 ","ps -nagios ","top -p`pidof nagios` " +"101-500",,"24. Users are reporting that various programs are crashing on the server. By examining logs, you see that certain processes are reporting out-of-memory conditions. Which command can you use to see the overall memory usage, including available swap space? ","tree ","pgrep ","uptime ","free " +"101-500",,"25. You are using the Vi editor for changing a file and need to exit. You receive a notice indicating ""No write since last change"". Assuming you want to save your work, which of the following commands will save your work and exit Vi? ",":wq ",":q! ","dd ","x " +"101-500",,"26. What option is used to change the number of lines of output for the head and tail commands? ","-l ","-f ","-g ","-n " +"101-500",,"27. Which command can be used to determine the current load average along with information on the amount of time since the last boot of the system? ","uptime ","sysinfo ","bash ","ls -u " +"101-500",,"28. You need to start a long-running process that requires a terminal and foreground processing. However, you cannot leave your terminal window open due to security restrictions. Which command will enable you to start the process and return at a later time to continue the session? ","fg ","bg ","kill ","screen " +"101-500",,"29. You have attempted to stop a process using its service command and also using the kill command. Which signal can be sent to the process using the kill command in order to force the process to end? ",-15,"-f ",-9,"-stop " +"101-500",,"30. When working in the Bash shell, you need to redirect both STDOUT and STDERR. Which of the following commands will redirect both STDOUT and STDERR? ","1>2 ",">2 ","2>&1 ",">> " +"101-500",,"31. Which command can be run to determine the default priority for processes spawned by the current user? ","prio ","nice ","renice ","defpriority " +"101-500",,"32. Which of the following egrep commands will examine /etc/passwd to find users who are using either /bin/bash or /usr/bin/zsh for their shell environment? ","grep sh /etc/passwd ","egrep '/*/.sh$' /etc/passwd ","grep '/*/.=sh$' /etc/passwd ","egrep '/*/..?sh$' /etc/passwd " +"101-500",,"33. Which option to the man command accesses a different level of documentation, for example, system call documentation? ","man 2 ","progman ","man --sys ","man --list sys " +"101-500",,"34. When editing with Vi, which command changes to insert mode and opens a new line below the current cursor location? ","f ","a ","o ","i " +"101-500",,"35. Which kill signal can be sent in order to restart a process? ","-HUP ","-RESTART ",-9,"-SIG " +"101-500",,"36. Which of the following commands will display the last 50 lines of your command history when using Bash, including commands from the current session? ","bashhist 50 ","history 50 ","cat .bash_history ","tail -f .bash_history " +"101-500",,"37. You have backgrounded several tasks using &. Which command can be used to view the current list of running tasks that have been backgrounded? ","procs ","plist ","jobs ","free " +"101-500",,"38. Which of the following commands searches each user’s .bash_history file to determine whether the user has invoked the sudo command? ","find /home -name ""bash_history"" | grep sudo ","find /home -name "".bash_history"" | xargs grep sudo ","find /home/.bash_history | xargs grep sudo ","find /home -type history | xargs grep sudo " +"101-500",,"39. Which command will watch the Apache log at /var/log/httpd/access.log and continually scroll as new log entries are created? ","watch /var/log/httpd/access.log ","tail /var/log/httpd/access.log ","tail -f /var/log/httpd/access.log ","mon /var/log/httpd/access.log " +"101-500",,"40. You are debugging a configuration file and the daemon indicates there is a problem on line 932. Which of the following commands will prepend line numbers onto the file? ","lines ","wc -l ","newline ","nl " +"101-500",,"41. You receive a file with an .lzma extension. Which command can you use to decompress this file? ","xz ","lz ","gz ","bzip " +"101-500",,"42. Which find command will locate files within the current directory that have been modified within the last 24 hours? ","find ./ -type f -mtime 0 ","find ./ -type f -mtime 24 ","find ./ -type f -mtime +1 ","find ./ type -f time 24 " +"101-500",,"43. Which command will move all files with a .txt extension to the /tmp directory? ","mv txt* tmp ","move *txt /temp ","mv *.txt /tmp ","mv *.txt tmp " +"101-500",,"44. Which command prints your current directory? ","cwd ","curdur ","cd ","pwd " +"101-500",,"45. Assume that you have a file called zips.txt that contains several postal ZIP codes and you need to determine how many unique ZIP codes there are in the file. Which of the following commands can be used for that purpose? ","sort zips.txt | uniq -c ","uniq zips.txt ","count zips.txt ","cat zips.txt | uniq -c " +"101-500",,"46. When using Bash, how would you execute the last command starting with a certain string, even if that command was not the last one that you typed? ","Precede the command with ! and then the string to search for. ","Search for the command in history. ","Precede the command with a ? and then the string to search for. ","This is not possible with Bash. " +"101-500",,"47. Which command can be used to kill all processes by using their name? ","killproc ","killname ","killall ","kill -f " +"101-500",,"48. You’re working with a large file in Vi and need to search for instances of a string earlier in the file. Which key will search backward in the file? ","/ ","h ","? ","x " +"101-500",,"49. You need to declare a local environment variable that will then be available to child processes. Which of the following commands accomplishes this task? ","ex ","echo ","dec ","export " +"101-500",,"50. You are creating a Bash shell script and need to output the current script name to the current terminal. Which of the following commands accomplishes this task? ","cat ","echo $0 ","echo $SCRIPT ","echo $PS1 " +"101-500",,"51. You have downloaded a file with a .gz extension. What is the most likely command that you will use to decompress this file? ","unz ","gunzip ","hunzip ","gzunzip " +"101-500",,"52. You need to remove a single file from a directory if it exists but would like to be prompted for confirmation before doing so. Which option to the rm command causes the command to prompt for confirmation? ","-a ","-e ","-i ","-o " +"101-500",,"53. You need to determine files that are sized above 1GB. Which of the following commands accomplishes this task? ","find / -size +1G ","find / -size 10000M ","find / +1M ","find / -size +1B " +"101-500",,"54. Which option to cpio lists the files as it is operating on them? ","-l ","-v ","-k ","-s " +"101-500",,"55. Which command is used to send contents of a bzip2 archive to STDOUT? ","bzout ","bzcat ","bz2cat ","bz2echo " +"101-500",,"56. You are attempting to find more information about the jobs command, however, an Internet search was not particularly helpful because there are so many Linux-related jobs available. Additionally, you attempted to view the man page for the jobs command but it was not available. Which man page should you use to view more information on jobs? ","jbs ","procctl ","bash ","ps " +"101-500",,"57. You need to start a process that cannot be sent or will not accept a SIGHUP signal. Which command should be used to start the process? ","nosig ","nohup ","nokill ","noproc " +"101-500",,"58. You need to run a command periodically and examine its output in real time. Which of the following commands enables this scenario? ","mon ","procmon ","pgrep ","watch " +"101-500",,"59. You would like to tail a log file to watch entries as they are being added to the log file. In addition, you would also like to work within the same terminal window or SSH (Secure Shell) session to add entries to another file at the same time. Which command can be used to create two sessions within the same terminal window? ","screen ","tmux ","sess ","termse " +"101-500",,"60. You need to kill several processes at once. Rather than writing a complex ps-based command to do so, you can use which other command? ","pkill ","psk ","pskill ","prock " +"101-500",,"61. You are using pgrep to find the process IDs for a given command. However, several other commands seem to also appear. Which option to pgrep enables matching against the full path of the process? ","-f ","-d ","-o ","-i " +"101-500",,"62. You need to determine the exact command that will be run based on your current environment settings. Which command is used for this purpose? ","what ","which ","find ","ls " +"101-500",,"63. An environment variable has been set on login, but you need to remove that variable temporarily for the current session. Which shell built-in command can be used for this purpose? ","reset ","unset ","undo ","clear " +"101-500",,"64. You cannot find the man page of a command but you know the command exists. For example, the alias command exists but there is no man page for it. Which of the following commands could you execute to determine what type of command alias is? ","type ","cmd ","uses ","listr " +"101-500",,"65. Which type of quotes are used so that variables are interpolated within a Bash shell script? ","Escaped quotes ","Single quotes ","Double quotes ","Side quotes " +"101-500",,"66. Which of the following pagers includes the ability to search backward and forward as well as move backward and forward, line-by-line, and page-by-page? ","more ","mplus ","less ","catch " +"101-500",,"67. You have a specialized need for outputting a file in octal format. Which command or series of commands can be used for this purpose? ","oct ","cat | octalf ","od ","octf " +"101-500",,"68. Which option to sha256sum causes the file to be read in binary mode? ","-i ","-b ","-c ","-p " +"101-500",,"69. When operating in command mode, which keys enable you to move the cursor in the Vi editor? ","a, s, d, f ","h, j, k, l ","q, w, e, r ","z, x, c, v " +"101-500",,"70. Which options to xz are functionally equivalent to the xzcat program? ","decompress and output ","output and format ","decompress and stdout ","stdout and format " +"101-500",,"71. Which environment variable is used to control the default text editor used on a Linux system? ","EDITOR ","EDIT ","TEXTEDITOR ","DEFAULT_EDITOR " +"101-500",,"72. You need to examine the seventh section of the manual page for regular expressions, or regex, on a Linux system. Which command displays the seventh section of the manual? ","man regex -7 ","man regex 7 ","man --page 7 regex ","man 7 regex " +"101-500",,"73. Which of the following commands reprioritizes an already running process? ","nice ","renice ","chnice ","altnice " +"101-500",,"74. The fgrep command is equivalent to running the grep command with which option? ","-f ","-F ","-a ","-E " +"101-500",,"75. Which of the following regular expressions would find the pattern Steve or steve in a file when used with grep? ","'[sS]teve' ","'[S]*teve' ","'^[Ss]teve' ","'[$Steve]' " +"101-500",,"76. Which of the following commands shows the currently running processes and their resource usage in real time, updated every few seconds? ","nice ","ps ","top ","procs " +"101-500",,"77. You have been asked to create a compressed file that will be readable by those with other operating systems. Which tool can you use for this purpose? ","gzip ","bzip2 ","xz ","tar " +"101-500",,"78. You need to match files that begin with 201, as in 2017, 2018, 2019. Which of the following wildcard specifications can be used? ","201? ","201$ ","201@ ","201] " +"101-500",,"79. You need to break a large file into smaller pieces. Which command can be used for this purpose? ","cut ","split ","dice ","rem " +"101-500",,"80. When examining the output from top, you see that a process has a value in the PR column of 20. To what does the PR column refer? ","The process ID ","The process utilization ","The process priority ","The processor core on which the process is executing " +"101-500",,"81. You need to cut or remove eight lines from a file while editing with Vi. Which combination should be used for this purpose? ","d7 ","d8 ","r8 ","x7 " +"101-500",,"82. Which command is used in order to decompress a file that has been compressed with xz? ","unxz ","dexz ","xzu ","u2xz " +"101-500",,"83. Which of the following commands uses 128-bit message digests? ","sha256sum ","sha512sum ","sh128sum ","md5sum " +"101-500",,"84. You have several files that need to be combined, with a line from each file being appended onto a single line. Which command can be used for this purpose? ","paste ","comb ","appfile ","combo " +"101-500",,"85. You need to run a command that is not inside your current path. Which of the following represents the typical method for doing so? ","Use a fully qualified path for the command. ","Set the PATH environment variable to include the correct path. ","Restart the shell environment. ","Restart the computer for settings to take effect. " +"101-500",,"86. Which signal is used by default by the pkill command? ","SIGKILL ","SIGTERM ","SIGHUP ","SIGKS " +"101-500",,"87. You are working with the jobs built-in command to display jobs. You would like to see only running jobs. Which option to the jobs built-in command will display only running jobs? ","-s ","-a ","-l ","-r " +"101-500",,"88. Which option to the bunzip2 command sends output to STDOUT, much like the bzcat command? ","-s ","-o ","-c ","-d " +"101-500",,"1. Which option best describes the following output from the ls -la command: lrwxrwxrwx. 1 root root 35 Jul 8 2014 .fetchmailrc -> .configs/fetchmail/.fetchmailrc? ","It is a file called .fetchmailrc that is linked using a symbolic link. ","It is a file called .configs/fetchmail/.fetchmailrc that is owned by lrwxrwxrwx. ","It is a directory called .fetchmailrc that is owned by user Jul. ","It is a local directory called .configs/fetchmail/.fetchmailrc. " +"101-500",,"2. Assuming that a USB disk contains a single partition and is made available on /dev/sdb, which command mounts the disk in /media/usb? ","mount /dev/sdb1 /media/usb ","usbconnect /dev/sdb0 /media/usb ","mount /dev/sdb0 /media/usb ","usbmount /dev/sdb1 /media/usb " +"101-500",,"3. Which option within a partition-mounting command will cause the partition to be mounted in such a way as to prevent execution of programs? ","execless ","stoprun ","noexec ","norun " +"101-500",,"4. When working with partitions on disk, you see the type 0x82. Which type of partition is this? ","Linux ","Linux swap ","NTFS ","FAT " +"101-500",,"5. Which partition type should be created for a Linux system, non-swap partition? ",82,83,84,"L " +"101-500",,"6. Which command can be used to determine the location of a given executable that would be run if typed from your current environment and location? ","which ","what ","whatis ","when " +"101-500",,"7. Which of the following commands will correctly change the group ownership of the file called a.out to users? ","chgrp users a.out ","chgrp a.out users ","groupchg a.out users ","grpchg users a.out " +"101-500",,"8. Another administrator made a change to one of the local scripts used for administrative purposes. The change was also immediately reflected in your copy of the script. However, when examining the file with ls, you see that it appears to be a normal file. What is the likely cause of such a scenario? ","The file was executed after edit. ","The administrator copied the file to yours. ","Your file is a hard link to the original. ","The file has been restored from backup. " +"101-500",,"9. Which of the following commands shows the usage of inodes across all filesystems? ","df -i ","ls -i ","du -i ","dm -i " +"101-500",,"10. You’re running fsck on an ext3 filesystem, and the process is taking longer than expected and requiring input from the administrator to fix issues. What option could be added to fsck next time so that the command will automatically attempt to fix errors without intervention? ","-o ","-V ","-y ","-f " +"101-500",,"11. Which of the following describes a primary difference between ext2 and ext3 filesystems? ","ext3 was primarily a bug fix update to ext2. ","ext3 includes journaling for the filesystem. ","ext3 completely changed the tools needed for management of the disks. ","ext3 filesystems have no significant differences. " +"101-500",,"12. Which option to umask will display the permissions to be used in a Portable Operating System Interface (POSIX) format? ","-P ","-p ","-S ","-v " +"101-500",,"13. Which option to ln creates a symlink to another file? ","-sl ","-s ","-l ","--ln " +"101-500",,"14. Which of the following commands can be used if you need to locate various elements of a given command, such as its binaries and man pages? ","whatis ","find ","whereis ","ls " +"101-500",,"15. Which option in /etc/updatedb.conf will remove a path from inclusion in the results? ","PRUNEPATHS ","EXCLUDEPATHS ","INCLUDEEXCLUDE ","SEPARATEPATH " +"101-500",,"16. According to the filesystem hierarchy standard (FHS), what is the correct location for site-specific data for a server? ","/etc ","/var ","/tmp ","/srv " +"101-500",,"17. Which of the following commands enables the sticky bit for a user on a file called homescript.sh? ","chmod +sticky homescript.sh ","chmod 755 homescript.sh ","chmod u+s homescript.sh ","chown u+sticky homescript.sh " +"101-500",,"18. Which option to the mount command will mount all filesystems that are currently available in /etc/fstab? ","-g ","-a ","-r ","-y " +"101-500",,"19. Which command is used to format a swap partition? ","fdisk ","mkswap ","formatswap ","format -s " +"101-500",,"20. Which command and option is used to display the number of times that a filesystem has been mounted? ","tune2fs -l ","cat /etc/fstab ","mount -a ","less /etc/fsmnt " +"101-500",,"21. Which option to xfs_metadump displays a progress indicator? ","-g ","-p ","-f ","-v " +"101-500",,"22. The system is running out of disk space within the home directory partition and quotas have not been enabled. Which command can you use to determine the directories that might contain large files? ","du ","df ","ls ","locate " +"101-500",,"23. Which file contains information about the filesystems to mount, their partitions, and the options that should be used to mount them? ","/etc/filesystems ","/etc/mounts ","/etc/fstab ","/srv/mounts " +"101-500",,"24. According to the FHS, what is the proper mount point for removable media? ","/etc ","/srv ","/tmp ","/media " +"101-500",,"25. Which file contains information on currently mounted filesystems, including their mount options? ","/etc/mtab ","/etc/fstab ","/tmp/files ","/etc/filesystems " +"101-500",,"26. Which option to umount will cause the command to attempt to remount the filesystem in read-only mode if the unmounting process fails? ","-o ","-r ","-f ","-v " +"101-500",,"27. The umask reports as 022. What is the permission that will be in effect for a newly nonexecutable created file? ","u+rw, g+r, w+r ",755,22,"a+r " +"101-500",,"28. The locate command is reporting out-of-date information. Which command should be run in order to have the locate command update its database? ","locatedb -u ","locate -u ","updatedb ","updatelocate " +"101-500",,"29. Which shell built-in command can be used to determine what command will be run? ","type ","when ","find ","help " +"101-500",,"30. Which option to chown recursively changes the ownership? ","-f ","-R ","-a ","-m " +"101-500",,"31. Which of the following represents the correct format for the /etc/fstab file? "," "," "," "," " +"101-500",,"32. Which of the following commands is used to identify the UUID for partitions? ","blkid ","ls ","find ","cat " +"101-500",,"33. Which of the following describes the priority order for configuration files with systemd? ","Files in /etc/, files in /run, and then files in /lib ","Files in /run, files in /etc/, and then files in /lib ","Files in /lib, files in /run, and then files in /etc ","Files in /lib, files in /etc, and then files in /run " +"101-500",,"34. Which options to the fsck command will find and automatically assume that it should repair errors that it finds? ","-y ","-vy ","-my ","-xy " +"101-500",,"35. Which option to mke2fs sets the type of filesystem to be created? ","-F ","-a ","-t ","-e " +"101-500",,"36. Which of the following files is the default configuration file for the autofs automounter? ","/etc/autofs ","/etc/auto.master ","/etc/autofs.conf ","/etc/automounter.conf " +"101-500",,"37. Which of the following commands is used to create an ISO filesystem? ","mkiso ","mkfsiso ","mkisofs ","isofs-mk " +"101-500",,"38. Which option to the tune2fs command sets the maximum mount count before the system will automatically run fsck on the partition on boot? ","-b ","-c ","-C ","-a " +"101-500",,"39. Which option to the mount command can be used to simulate the mount process without actually mounting the filesystem? ","-q ","-v ","-l ","-f " +"101-500",,"40. When viewing /proc/mounts, you see a filesystem with the letters ro in the fourth column. To what do the letters ro refer? ","relative option ","realtime option ","read-only ","relative-only " +"101-500",,"41. Which option to dumpe2fs displays the bad blocks for a given partition? ","-bb ","-C ","-b ","-f " +"101-500",,"42. Which of the following filesystem types features copy-on-write? ","ext3 ","ext4 ","FAT ","Btrfs " +"101-500",,"43. Which of the following commands displays filesystem geometry for an XFS filesystem? ","xfsinfo ","xfs_info ","xfs -info ","xfs --info " +"101-500",,"44. Which of the following commands can be used to display information such as the UUID for partitions on a system? ","blkid ","blockdev ","devinfo ","uuidinfo " +"101-500",,"45. Which option to the umount command will cause it to unmount only filesystems of the specified type? ","-v ","-f ","-t ","-a " +"101-500",,"46. Which command causes unwritten data to be written to disk immediately? ","write ","wrnow ","connwrite ","sync " +"101-500",,"47. Which option to xfs_check is used to verify a filesystem that is stored in a file? ","-v ","-a ","-f ","-d " +"101-500",,"48. Which option to debugfs causes the filesystem to be opened in read-write mode rather than the default read-only? ","-rw ","-w ","-r ","-n " +"101-500",,"49. Which daemon is responsible for monitoring Self-Monitoring, Analysis, and Reporting Technology (SMART)-compatible hard drives? ","smartmon ","smarty ","sartd ","smartd " +"101-500",,"50. When checking an ext3 filesystem, which option to the fsck.ext3 command causes it to run the check even if the filesystem is apparently marked as clean? ","–f ","-m ","-a ","-c " +"101-500",,"51. You are performing an xfsrestore. The xfsdump was executed with a block size of 4MB. Which option do you need to invoke on xfsrestore in order for it to successfully use this dump? ","-b 4M ","-g 1M ","-i 1M ","-k 1028K " +"101-500",,"52. You see the word defaults within /etc/fstab. Which options are encompassed within the defaults? ","ro, exec, auto ","rw, suid, dev, exec, auto, nouser, async ","rw, exec, auto, nouser, async ","rw, exec, nouser, async, noauto, suid " +"101-500",,"53. Which of the following commands creates a btrfs subvolume? ","btrfs create subvolume ","btrfs subvolume create ","btrfs sv create ","btrfs svcreate " +"101-500",,"54. Which of the following options to xfsdump sets the maximum size for files to be included in the dump? ","-p ","-s ","-z ","-b " +"101-500",,"55. Which option to the tune2fs command sets the behavior when a filesystem error occurs? ","-f ","-d ","-e ","-k " +"101-500",,"56. The /etc filesystem has been mounted as a read-only for a recovery process. You need to mount another partition. Which option to the mount command causes it to not write to /etc/mtab? ","-a ","-m ","-b ","-n " +"101-500",,"57. Which of the following commands deactivates swap space? ","swapoff ","swap -off ","unmountswap ","uswap " +"101-500",,"58. Within the [mount] section of a systemd mount unit, which directive specifies the location for mounting the chosen filesystem? ","Where= ","Location= ","List= ","Dest= " +"101-500",,"59. Which of the following commands can be used to format a FAT filesystem? ","mkfs.fat ","mkfs -f ","mkfs --fat ","mkfat " +"101-500",,"60. Which of the following commands adds a journal to an existing ext2 filesystem? ","tune2fs -jrn ","e2fs -x ","tune3fs ","tune2fs -j " +"101-500",,"61. Which of the following commands creates a snapshot of a btrfs subvolume? ","btrfs subvolume snapshot ","btrfs snapshot --create ","btrfs create snapshot ","btrfs --create " +"101-500",,"62. Which option to xfs_repair will force log zeroing even if there may be metadata within the log? ","-L ","-v ","-d ","-V " +"101-500",,"63. Which of the following commands mounts a filesystem in read-only mode? ","mount read-only ","mount --read ","mount -o ro ","mount -or " +"101-500",,"64. When you are using tune2fs to set an extended option such as stripe_width, which command-line option is needed to signify that an extended option follows? ","-extend ","-E ","-e ","-f " +"101-500",,"65. Which utility is used for formatting GPT disks? ","gdisk ","gptdisk ","gpdisk ","pgdisk " +"101-500",,"66. What is the maximum size of a partition on an MBR-formatted disk? ","2TB ","4TB ","2MB ","512TB " +"101-500",,"67. Which option to mkfs.ext4 can be used to prevent reservation of blocks for system or superuser use? ","-r 0 ","-r 0b ","-m 0 ","-m 0b" +"101-500",,"68. What is the default time in seconds that xfs_fsr will use to reorganize a filesystem? ",3600,7200,86400,5150 +"101-500",,"69. A user who is a member of the custom admins group is attempting to read the contents of a file but is not the owner of the file. Rather than granting sudo access to this file, what is another way to grant read access, assuming that the file is currently marked with 640 permissions? Note that you should choose the most appropriate answer to fulfill the need while minimizing additional privileges. ","Grant root access to the user. ","Run chmod 777 on the file. ","Use chgrp to change group ownership to admins. ","Use chown to change the ownership of the file to the individual user. " +"101-500",,"70. Which option to lsblk shows empty devices? ","-g ","-a ","-r ","-y " +"101-500",,"71. The /media/ mount point is used frequently for which types of devices? ","Hard drives ","SAN ","NAS ","USB devices " +"101-500",,"72. Which of the following commands is used to format an exFAT filesystem? ","mkexfat ","mkfat.ex ","mkfs.exfat ","mkfs2.exf " +"101-500",,"73. Which of the following commands is used for debugging an XFS-formatted filesystem? ","debug_xfs ","xfs_debug ","xfs_db ","debugxfs " +"101-500",,"74. You’re working with an ext2 filesystem and you suspect the superblock is corrupted. Which option to e2fsck enables you to specify the location of an alternate superblock? ","-B ","-s ","-b ","-o " +"101-500",,"75. Which option to df shows the numerical output in larger size increments, like MB, GB, TB, and so on rather than in bytes? ","-h ","-m ","-n ","-s " +"101-500",,"76. Assuming the use of Bash for the shell, in which file can the umask be set such that the file creation mask is set automatically on login? ","/etc/umask.def ","/etc/profile ","/etc/bash.d/umask ","/etc/bash.umask " +"101-500",,"77. You need to enable two users to edit the same file but keep their own individual changes. Another administrator suggested making a symbolic link for the file. Is a symbolic link the appropriate solution for this scenario and, if not, what is? ","A symbolic link is not appropriate because the users cannot keep their own changes. A copy would be a better option. ","A symbolic link is appropriate here because each user can access the file, assuming write permissions. ","A symbolic link is not appropriate given that the users will not have permissions on symbolic links. Linux cannot meet the scenario described. ","A symbolic link is appropriate because symbolic links have the ability to do version control, thus enabling the scenario. " +"101-500",,"78. You have deleted a user from the system and want to determine if this user still has files on the system. Which command will fulfill this scenario? ","locate ","find -uid ","find -user ","fileloc -user " +"101-500",,"79. You need to update the locate database. Which of the following commands is used for this purpose? ","updatedb ","locatedb ","updlocdb ","locdbupd " +"101-500",,"80. Which option to lsblk shows the UUID of each filesystem? ","–u ","-f ","-o ","-a " +"101-500",,"81. Which option to mkswap checks the device for bad blocks before formatting? ","-b ","-B ","-c ","-d " +"101-500",,"82. You are examining output from ls -la and one file contains the permissions -rwSrw-r--. To what does the S refer? ","Specific execute ","Source formatting ","Selective execution ","Sticky bit " +"101-500",,"83. You need to change file permissions to be setgid for a file called sync.sh. The file is normally permission 755. Which of the following commands accomplishes this task? ","chmod 2775 sync.sh ","chmod u+s sync.sh ","chmod 2755 sync.sh ","chmod 4755 sync.sh " +"101-500",,"84. Which of the following commands finds files with a .sql extension across the entire filesystem? ","find . -name ""*.sql"" ","find /root -ext sql ","find / -name ""*.sql"" ","find / -exten "".sql"" " +"101-500",,"85. When working with /etc/fstab to mount by UUID, which syntax is correct as the first column in /etc/fstab, assuming a UUID denoted by ? "," ","UUID= ","ID= ","GPT= " +"101-500",,"86. Which option to du displays information on inode usage? ","-i ","-h ","--inodes ","-d " +"101-500",,"87. Which of the following find commands will look for files that are over 1GB in size? ","find -size +1G ","find -size 1GB ","find -fssize +1GB ","find -filesize +1G " +"101-500",,"88. You have a set of libraries that were installed into /usr/local/lib and would like to ensure that the libraries are also available in /usr/lib. What is the preferred way to make the libraries available in this location? ","Copy the libraries. ","Create a symbolic link. ","Move the libraries. ","Create a script to synchronize the libraries between the two locations with rsync."