Type:
Test Bank
Resource:
Linux Essentials for Cybersecurity
Edition:
1st Edition
Author(s):
William Rothwell Denise Kinsey
Linux Essentials for Cybersecurity (Rothwell/Kinsey) Chapter 1 Distributions and Key Components 1) Linux is a software component called the __________, which is the software that controls the operating system. A) shell B) kernel C) module D) library Answer: B 2) Which of the following is a component of the Linux operating system? A) User utilities B) File systems C) Server software D) All of the above Answer: D 3) Which of the following is rarely installed on Linux server systems because it requires additional hard drive space, CPU cycles, and RAM usage, and also could pose a security risk? A) GUI software B) Kernel modules C) Shells D) Libraries Answer: A 4) Which of the following Linux components refers to a well-defined structure that stores file and directories? A) Server software B) File system C) Kernel module D) Shell Answer: B 5) Which term refers to a software package that often costs nothing? A) Closed source B) Flexible C) Open source D) Commercial Answer: C
1 .
6) Which of the following refers to a specific implementation of a Linux operating system? A) Distribution B) Shell C) Module D) Kernel Answer: A 7) Which type of Linux distribution, which includes Red Hat Enterprise Linux, is designed to be used in a business setting? A) Live distro B) Home or amateur C) Security enhanced D) Commercial Answer: D 8) Which type of Linux distribution, which includes Fedora, is focused on individuals who want a choice other than macOS or Microsoft Windows? A) Commercial B) Security enhanced C) Home or amateur D) Live distro Answer: C 9) A Linux distribution is also called a Linux __________. A) CLI B) shell C) distro D) module Answer: C 10) Which of the following refers to a software program that allows a user to issue commands to the system? A) Kernel B) Shell C) Distro D) Library Answer: B 11) Which of the following is the name of the most popular shell that is available for Linux? A) BASH B) XFCE C) KDE D) None of the above Answer: A
2 .
12) A system with at least __________ of RAM should be able to support at least one VM. A) 2GB B) 4GB C) 6GB D) 8GB Answer: D 13) At any given time, there are about __________ active Linux distributions. A) 100 B) 250 C) 350 D) 500 Answer: B 14) Which of the following is not a Red Hat-based distro? A) Fedora B) RHEL C) Ubuntu D) CentOS Answer: C 15) Which of the following is not a Debian-based distro? A) Kali B) Ubuntu C) Debian D) Linux Mint Answer: A 16) Which of the following is a security-based Linux distribution that enables you to determine what security holes are present in your environment? A) Ubuntu B) Fedora C) Kali D) RHEL Answer: C 17) A native Linux installation is also known as a __________ installation. A) hypervisor B) bare-metal C) hosted D) cloud-based Answer: B
3 .
18) Which of the following is not an example of a hypervisor software program? A) VMware B) Citrix XenServer C) Oracle VirtualBox D) CentOS Answer: D 19) Which of the following is not true when installing a distro using Oracle VirtualBox? A) Typically the default options work well for your initial installations. B) The first step to installing the distro is to add a new “machine.” C) To start the installation process, click the new machine and then click the Launch button. D) On a test system, pick a password that is easy to remember, as password security isn’t as big of a concern in this particular case. Answer: C 20) Which of the following is not true regarding the use of GUI software for a Linux installation? A) Many distributions include a GUI, and you cannot choose to install a different one. B) GUI software allows you to use a mouse and keyboard to interact with the system. C) For personal use, on laptop and desktop systems, having a GUI is normally a good choice. D) The ease of using a GUI environment often outweighs the disadvantages that this software creates. Answer: A
4 .
Linux Essentials for Cybersecurity (Rothwell/Kinsey) Chapter 2 Working on the Command Line 1) Linux offers __________ of command-line utilities, each of which is designed to perform a specific task. A) dozens B) hundreds C) thousands D) millions Answer: C 2) In Linux, every storage location, including remote drives and removable media, is accessible under the top-level directory, which is named __________. A) root (/) B) C: C) home D) bin Answer: A 3) Which of the following Filesystem Hierarchy Standard (FHS) locations contains configuration files for a Linux system? A) /lib B) /home C) /mnt D) /etc Answer: D 4) Which of the following provides additional information for a shell command, such as a filename or user account name, to determine which specific action to take? A) Argument B) Variable C) Option D) None of the above Answer: A 5) To execute a sequence of shell commands, separate each command with a __________ and press the Enter key after the last command has been entered. A) colon B) semicolon C) comma D) period Answer: B
1 .
6) Which of the following shell commands is used to move the shell’s current directory to another directory? A) pwd B) cd C) ls D) file Answer: B 7) Which of the following, also known as a wildcard, refers to any character provided on the command line that represents a portion of a filename? A) Option B) Variable C) File glob D) Argument Answer: C 8) Which of the following shell commands is used to display large chunks of text data, pausing after displaying the first page of information? A) less B) more C) file D) head Answer: A 9) Which of the following shell commands is used to create a new directory? A) ls B) cd C) pwd D) mkdir Answer: D 10) Which option for the cp shell command copies an entire directory structure? A) -v B) -r C) -i D) -n Answer: B 11) Which of the following commands is used to delete a directory and all the files within the directory? A) rm -i B) rmdir C) rm -r D) rm -v Answer: C
2 .
12) Which of the following shell commands is useful for updating the timestamps of critical files for inclusion in automated system backups? A) touch B) file C) mv D) cp Answer: A 13) Which of the following shell commands is used to display information, such as the value of variables? A) tail B) set C) unset D) echo Answer: D 14) Which of the following shell variables defines the primary prompt, often using special character sequences? A) PS1 B) ID C) HOME D) PATH Answer: A 15) To pass variables and their values in to other commands, convert an existing local variable to an environment variable with the __________ command. A) crontab B) env C) export D) echo Answer: C 16) When a user starts a new shell after initially logging in to the system, it is referred to as a __________. A) bash profile B) non-login shell C) bash login D) login shell Answer: B 17) Which of the following refers to a shell feature that allows a collection of commands to be executed by issuing a single command? A) unalias B) alias C) copy D) initialization Answer: B 3 .
18) Which variable for the history command is used to set a numeric value that represents the maximum number of commands to keep in the history list? A) HISTCONTROL B) HISTIGNORE C) HISTFILE D) HISTSIZE Answer: D 19) Which of the following is not true regarding regular expressions (REs)? A) Utilities that use REs normally support basic REs by default and have some option or feature to enable extended REs. B) There are two types of REs: basic and extended. C) Extended REs are the “original,” and basic REs are the newer additions. D) Although documentation may refer to basic REs as obsolete, they are still used by most modern utilities. Answer: C 20) Which of the following compression commands is used to merge multiple files into a single file? A) gzip B) tar C) bzip2 D) xz Answer: B
4 .
Linux Essentials for Cybersecurity (Rothwell/Kinsey) Chapter 3 Getting Help 1) To discover additional information about a Linux command or configuration file, you can use the __________ page. A) man B) auto C) config D) info Answer: A 2) When viewing the content on a man page, you can use the __________ to navigate. A) toolbar B) help menu C) keyboard keys D) mouse Answer: C 3) When referring to the man page for finding help information on Linux commands, “man” is short for which of the following? A) Manage B) Manual C) Manipulate D) Manager Answer: B 4) Which of the following commands is the same as the whatis command in Linux? A) man -k B) passwd C) man -f D) man ls Answer: C 5) When viewing a man page, which movement command moves forward one page in the current document? A) Enter B) b C) Up arrow D) Spacebar Answer: D 6) Which man page section for the ls command is for system calls? A) 2 B) 4 C) 6 D) 8 Answer: A 1 .
7) Which man page section for the ls command is for kernel routines? A) 3 B) 5 C) 7 D) 9 Answer: D 8) Which of the following commands is the same as the apropos command? A) man -f B) mandb C) man -k D) man ls Answer: C 9) When viewing a man page, which movement command is used to display a help screen (a summary of man page movement commands)? A) h B) q C) b D) Enter Answer: A 10) Which of the following commands is used to build or update the database that holds a list of man pages and descriptions? A) man -M B) man cd C) mandb D) man -f Answer: C 11) If you want to specify an alternate location for man pages, you can use which of the following options with the man command? A) -f B) -M C) -b D) -k Answer: B 12) Which of the following options is often used with some Linux commands to provide basic help features? A) -H B) --help C) --H D) -help Answer: B 2 .