6
Which device file below represents the first primary partition on the second PATA hard disk drive? a. /dev/hdb1 b. /dev/hdc2 c. /dev/hdc1 d. /dev/hda1
/dev/hdb1
What character device file represents the second serial port on a system (COM2)?
/dev/ttyS1
What character device file represents the second serial port on a system (COM2)? a. /dev/ttyS1 b. /dev/tty2 c. /dev/tty1 d. /dev/ttyS0
/dev/ttyS1
To ensure that Linux has detected the correct amount of RAM in the system after installation, you should view the contents of what file in the proc directory?
/proc/meminfo
The Filesystem Hierarchy Standard specifies what directory as the root user's home directory? - /root - /bin - /home/root - /boot
/root
Filenames that start with a period, such as .file, are referred to as
Hidden Files
RAID-Z
A ZFS volume that uses a variable stripe size and requires a minimum of three hard disks to protect against single disk failure is known as:
cal
A calendar for the current month can be shown on the command line by issuing which command?
character
A device that transfers data in a character-by-character fashion is referred to as what type of device?
4
A hard drive or SSD can be divided into partitions. What is the maximum number of primary partitions that can be used on these devices?
env
A list of all exported environment and user-defined variables in a shell can be viewed with what command below?
exit
After a shell is no longer needed, what command can be given to exit the shell?
shell
After logging into a terminal, a user will receive an interface known as which option below?
grub-mkconfig
After modifying the /etc/default/grub file, what command should be run to rebuild the grub config files?
tarball
An archive of files that usually contain scripts that install the software contents to the correct location on the system is referred to as a:
:q!
At the vi command mode prompt, what key combination below will force a quit from the vi editor without saving changes
0
At what runlevel does a Linux system have no daemons active in memory, allowing it to be safely powered off?
vim file1
I order to quickly create an empty file, what command can be used?
segmentation fault
If a Linux installation ends abnormally and the screen displays a fatal signal 11 error, what type of error has occurred?
Tab
If enough unique letters of a directory name have been typed, what key can be pressed to activate the BASH shell's completion feature?
journald
In Fedora 20, the logging system used to record the messages normally stored within the boot.log, messages, and syslog files has been replaced by a journaling database system called?
tty1
In Fedora 20, what terminal is used for graphical login?
/etc/X11/xorg.conf.d/
In Fedora 20, where are user configured settings for Xorg stored?
X Windows
In Linux, the core component of the GUI is known as:
2
In Linux, what runlevel is also known as the multiuser mode?
7
In a SCSI chain the highest priority SCSI device is given what SCSI ID?
-
In a file's mode, a permission that is unavailable is represented by what character?
system-config-keyboard
In order to change keyboard layout if X Windows can't detect the layout, you should use what CLI command?
ln
In order to create a hard link, what command must be used?
zfs get all
In order to list all configuration parameters that can be modified for a subfilesystem, what command should be issued?
cd ../..
In order to move from the /home/joe/test/data to the /home/joe directory, what command below should be issued?
<
In order to redirect a file to the standard input of a command, what metacharacter should be used?
chmod 7777 filename
In order to set all of the special permissions on a certain file or directory, which command below should be used on a file named filename?
1024
In some cases, the installation process fails to place a boot loader on the hard disk properly; this is often caused by hard drives with over what number of cylinders?
(hd0,0)
In standard GRUB notation, select the option below that represents the first hard drive in a system, and the first partition on that hard drive.
image=
In the /etc/lilo.conf file, what keyword should be specified in order to provide the absolute pathname to the Linux kernel?
Ctrl+k
In the GNU Emacs editor, what key combination can be used to delete all characters between the cursor and the end of the line?
swapoff
In the event that you wish to disable a swap partition, what command must be used?
w
In the fdisk interactive mode, what letter can be used to save changes to the partition table and exit?
root
In what filesystem are most of the operating system files contained?
command mode
In what mode does the vi editor open by default?
15
Most Parallel SCSI controllers are capable of supporting up to how many devices?
Which of the following key combinations, commonly used in the vi editor command mode, displays current line statistics?
Ctrl +g
In the GNU Emacs editor, what key combination can be used to delete all characters between the cursor and the end of the line? a. Ctrl+k b. dd c. Ctrl+a d. Ctrl+d
Ctrl+k
tracks
Data is read from physical hard drives in concentric circles known as which of the following?
C
Dennis Ritchie invented what programming language, which was then used to rewrite the UNIX operating system?
target ID
Each SCSI device attached to a system must be assigned an ID number. What is this ID number called?
An alternative to the vi editor that offers an equal set of functionality is the GNU _________________________.
Emacs (Editor MACroS) editor
The LISP artificial intelligence programming language can be used with which text editor below? a. Kedit editor b. Nedit editor c. Joe editor d. Emacs editor
Emacs editor
filesystem corruption
Errors on a filesystem are common on most filesystems. What do these errors indicate?
Each device attached to a system can be represented by multiple device files.
False
In Linux, you are restricted to using only one type of filesystem on a system.
False
Volumes can contain a filesystem but they can't be mounted to directories within the Linux filesystem hierarchy.
False
What command is most effective at identifying different types of files?
File
chkconfig
On Linux systems that use the traditional UNIX SysV init, what command below can be used to list and modify the runlevels that a daemon is started in?
xvidtune
Once X Windows is configured, what command can be used to fine tune the vertical and horizontal refresh rate?
Pog O
Pog
Pog U
Pog Off
Hardware Compatibility List (HCL)
Prior to performing an installation of Linux, the hardware components of the target system should be checked against what known compatible list below?
Network Address Translation (NAT)
Proxy servers keep track of the information passed to each client by maintaining what type of table?
A ZFS volume that uses a variable stripe size and requires a minimum of three hard disks to protect against single disk failure is known as:
RAID Z
Text wildcards used to ease the searching of specific text information are called _________________________.
Regular expressions (regexp)
What SCSI type supports speeds of up to 80 MB/second?
SCSI-3 Ultra2 Wide
What two special permissions can be applied in order to effectively allow a user to become owner of a file, or become a member of a group, by executing a file? - SGID - SUID - SQUID - sticky bit
SGID, SUID
What two special permissions can be applied in order to effectively allow a user to become owner of a file, or become a member of a group, by executing a file?
SUID SGID
ls -l
Select the command below that can be used to provide a long listing for each file in a directory:
du
Select the command below that shows the size of a directory and its contents in kilobytes:
chroot
Select the command that can be used to change the root filesystem to a different directory, such as when in a rescue environment
mke2fs
Select the command that can be used to check an ext2, ext3, or ext4 filesystem:
fdisk
Select the command that can be used to create partitions that will be stored in an MBR after installation:
\f
Select the escape sequence that is used for a form feed:
\n
Select the escape sequence that starts a new line when used with echo:
loadavg
Select the file in the /proc directory that contains statistics on the performance of the processor
|
Select the metacharacter that can be used to send the standard output of one command to another command as standard input:
5
Select the mode below that corresponds to setting r-x:
*
Select the regular expression metacharacter that matches 0 or more occurrences of the previous character.
[ A gt B ]
Select the test statement that can be used to determine if A is numerically greater than B
memtest86
Select the utility below that when run will start and perform a thorough check of RAM for hardware errors:
live media image
Some Linux distributions have the ability to boot an image from install media and run entirely from RAM. What is the name for this kind of image?
If enough unique letters of a directory name have been typed, what key can be pressed to activate the BASH shell's completion feature? a. Tab b. Ctrl c. Alt d. Esc
Tab
/boot
The Filesystem Hierarchy Standard specifies what directory as containing the Linux kernel and the boot loader configuration files?
/root
The Filesystem Hierarchy Standard specifies what directory as the root user's home directory?
Free Software Foundation (FSF)
The GNU General Public License (GPL) was developed by which organization?
4GB
The GUI components and related software take up how much space on a typical Linux installation?
Emacs editor
The LISP artificial intelligence programming language can be used with which text editor below?
vmlinuz
The Linux kernel exists as a file named:
Linus Torvalds
The Linux kernel was developed and released in 1991 by:
KDE
The QT toolkit is utilized by which GUI environment?
awk
The ability to extract, manipulate, and format text using pattern action statements belongs to which command below?
man -k list
The apropos list command produces the same results as which command below?
$
The contents of a certain variable in memory can be viewed using which metacharacter below in combination with the echo command?
echo $PS1
The default BASH shell prompt is set by an environment variable. What command can be used to view this variable?
set
The environment variables that are set by default and their current values can be viewed with what command?
127
The first software RAID volume on a system will use a multiple disk device file that starts with what number?
Firewall
The iptables software on Linux is an example of what kind of software?
-t
The mkfs command can be issued with what switch in order to specify a filesystem type?
Total cost of ownership (TCO)
The overall cost of using a particular operating system is known as?
edquota
The quotas for certain users can be edited by using which command?
the mode of the file
The section of an inode that stores permissions is referred to as what?
>
The standard output and standard error from a terminal screen within the BASH shell can be redirected to a file on the filesystem using what shell metacharacter, followed by the absolute or relative pathname of the file?
tac
To display a text file in reverse order, what command should be used?
cat data
To display the contents of a text file called data, what command should be used?
/proc/meminfo
To ensure that Linux has detected the correct amount of RAM in the system after installation, you should view the contents of what file in the proc directory?
mount -a
To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, what command can be used?
When you insert a DVD while in a GUI environment, it is automatically mounted by the system to a directory underneath the /media directory that is named for the label on the DVD.
True
/var
Under the root directory in Linux, which directory contains system commands and utilities?
/boot
Under what directory is the Linux kernel stored?
[1-4]
Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?
Red Hat
What Linux distribution is the most commonly used distribution within organizations today?
RAID5
What RAID level is commonly referred to as disk striping with parity?
SCSI-3 Ultra2 Wide
What SCSI type supports speeds of up to 80 MB/second?
g+r-w
What argument can be used with the chmod command to add read permission and remove write permission for a group on a file?
#!
What character combination at the start of a shell script are referred to as a hashpling, and allow for the specification of the shell that interprets the contents of the script?
/dev/ttyS1
What character device file represents the second serial port on a system (COM2)?
colon
What character is used to delimit most Linux configuration files?
pvcreate
What command below can be used to create a new physical volume?
grub2-install
What command below can be used to re-install GRUB2 in the event that the boot loader becomes corrupted?
lilo -U
What command below can be used to uninstall the LILO bootloader from an active partition?
rm
What command below takes a list of arguments specifying the absolute or relative pathnames of files to remove?
pwd
What command can be issued to confirm what directory you are in at a command line prompt?
fsck
What command can be used to check different kinds of filesystems on Linux for errors?
grubby
What command can be used to configure the LILO, ELILO, GRUB, and GRUB2 bootloaders?
cp
What command can be used to copy files?
tail -5
What command can be used to display the last five lines of a text file?
tr
What command can be used to replace characters in a file sent via Standard Input?
stat
What command is most effective at identifying different types of files?
mdadm
What command is used to manage a software RAID configuration after installation?
DEC PDP-7
What computer system was the first to run the UNIX operating system?
for
What construct is intended for use in processing a list of objects, such as files, directories, users, printers, and so on?
It removes all extra ACL assignments on a given file.
What does the setfacl -b command do?
/etc/profile
What environment file is always executed immediately after login for all users on the system, and sets most environment variables, such as HOME and PATH?
/etc/systemd/system/default.target
What file controls the default runlevel when using Systemd?
ioports
What file in the /proc directory contains a list of memory address ranges reserved for device use?
/proc/cpuinfo
What file in the /proc directory contains information about a computer's CPU?
udf
What file system below is used by software programs that write to a CD-RW or DVD-RW drive?
modules
What file under the proc directory contains information regarding what modules are currently loaded into the Linux kernel?
82
What hex code is associated with a Linux swap type partition?
DVD
What installation media source is the most common source for Linux packages?
graphical.target
What is the default target on a system with a GUI installed?
2
What is the minimum number of user accounts that must be created at install time?
ZFS volume
What is the term for a ZFS managed filesystem that is created from ZFS pools?
quiet
What keyword tells the Linux kernel to avoid printing errors to the screen during system startup?
;
What metacharacter can be used to issue tw term-31o commands to be run in consecutive order, without piping or redirecting output?
~
What metacharacter can be used to refer to the current user's home directory?
&
What metacharacter indicates background command execution?
2
What number represents the stderr file descriptor?
0
What number represents the stdin file descriptor?
!
What operator below is known as the NOT operator?
-r
What option, when added to the rm command, is commonly referred to as the -resume option?
execute
What permission (when applied to a directory) allows a user to enter the directory and work with directory contents?
write
What permission (when assigned to a file) grants a user the ability to open, read, and edit the contents of a file?
write
What permission grants a user the ability to open, read, and edit the contents of a file?
read and execute
What permissions are required to execute a shell script in a manner similar to any other executable program on the system?
device driver
What piece of software tells the operating system how to use a specific hardware device?
superblock
What section of a filesystem contains information about the filesystem in general?
Freeware
What software type is software that is distributed free of charge, but the source code is not available?
Stage1
What stage of the GRUB boot loader typically resides on the MBR / GPT?
GNU Public License
What stipulates that the source code of any software published under its license must be freely available.
virtual host
What term describes the physical hardware and the underlying operating system upon which a virtual machine runs?
@
When issuing the ls -F command, what special character indicates a linked file?
systemctl
When using Systemd, what command can be used to start, stop, and configure daemons to start automatically when the system starts?
Options
When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be:
7
When using the chmod command, the mode rwx can be represented by which number?
minor number
When viewing the version number for a Linux kernel, what number indicates the stability of the kernel?
whoami
Which Linux command can be utilized to display your current login name?
{}
Which character(s) below represent extended regular expression metacharacter(s)?
service
Which command below can be used to start, stop, or restart any daemons in the /etc/init.d directory?
df
Which command below provides the easiest method for monitoring free space on mounted filesystems?
wc
Which command can be used to count the number lines, words, and characters in a file?
/dev/hdb1
Which device file below represents the first primary partition on the second PATA hard disk drive?
Hiring people to maintain the Linux system
Which of the following is the greatest expense for companies using Linux?
Ctrl+g
Which of the following key combinations, commonly used in the vi editor command mode, displays current line statistics?
--loop
Which option, when used with the mount command, enables loopback mode so that an iso image can be mounted onto a directory?
-F
Which switch below can be added to the ls command to show a list of files and their type?
Artistic
Which type of open source license ensures that the source code of a program is freely available while also allowing the original author of the source code some control over the changes made to it?
Due to the fact that the * character can be used to match all characters in a filename, or all files in a directory, it is referred to as a ____________ metacharacter.
Wildcard
/var/log/boot.log
You are troubleshooting an issue that occurs on a Linux system during the boot process. What file can be viewed on most Linux systems to see processes that started successfully or unsuccessfully specifically during the boot process?
What is the term for a ZFS managed filesystem that is created from ZFS pools?
ZFS volume
Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?
[1-4]
In a file's mode, a permission that is unavailable is represented by what character? - ? - * - "b -" - +
b -
To display the contents of a text file called data, what command should be used?
cat data
In order to move from the /home/joe/test/data to the /home/joe directory, what command below should be issued? a. cd .. b. /home/joe c. cd ./.. d. cd ../..
cd ../..
A device that transfers data in a character-by-character fashion is referred to as what type of device?
character
A device that transfers data in a character-by-character fashion is referred to as what type of device? a. text b. binary c. block d. character
character
What two commands below will grant only the execute permission to username bob on file1, assuming that bob is the file's owner?
chmod 777 file1, chmod u=x file1
In order to set all of the special permissions on a certain file or directory, which command below should be used on a file named filename?
chmod 7777 filename
In what mode does the vi editor open by default? a. command mode b. overview mode c. insert mode d. append mode
command mode
What command can be used to copy files?
cp
What command can be used to copy files? - copy - cp - cpy - mv
cp
What two commands below will work recursively if specified with the -R option? (Select 2 answers.) - cp - rm - mkdir - mv
cp, rm
In vi, using command mode, what series of key presses below will cause the line on which the cursor is on to be deleted? a. yw b. dd c. d d. X
dd
Which command below provides the easiest method for monitoring free space on mounted filesystems? - du - df - fs - fd
df
Select the command below that shows the size of a directory and its contents in kilobytes:
du
Select the command below that shows the size of a directory and its contents in kilobytes: - du - sizeof - df - dir
du
The quotas for certain users can be edited by using which command? - chquota - usrquota - repquota - edquota
edquota
What permission (when applied to a directory) allows a user to enter the directory and work with directory contents? - write - sticky bit - execute - read
execute
Volumes can contain a filesystem but they can't be mounted to directories within the Linux filesystem hierarchy. true or false
false
Select the command that can be used to create partitions that will be stored in an MBR after installation:
fdisk
Select the command that can be used to create partitions that will be stored in an MBR after installation: - fdisk - formatdisk - partition - format
fdisk
Errors on a filesystem are common on most filesystems. What do these errors indicate?
filesystem corruption
Errors on a filesystem are common on most filesystems. What do these errors indicate? a. filesystem corruption b. raid degradation c. hard drive failures d. filesystem breaks
filesystem corruption
What command can be used to check different kinds of filesystems on Linux for errors?
fsck
What command can be used to check different kinds of filesystems on Linux for errors? - chkdsk. - errorchk - fs_check - fsck
fsck
What argument can be used with the chmod command to add read permission and remove write permission for a group on a file?
g+r-w
What two commands below can be used to edit a GPT based hard disk's partitions? (Select 2 answers) - gdisk - parted - fdisk - gtpedit
gdisk, parted
In Fedora 20, the logging system used to record the messages normally stored within the boot.log, messages, and syslog files has been replaced by a journaling database system called?
journald
Select the two commands in fdisk's interactive mode that can be used to show known partition types and view the current partition table:
l p
If a file's permissions are set to 760, what permission(s) are available to the group assigned to the file?
read write
If a file's permissions are set to 760, what permission(s) are available to the group assigned to the file? - read - write - execute - move
read, write
What command below takes a list of arguments specifying the absolute or relative pathnames of files to remove?
rm
What command below takes a list of arguments specifying the absolute or relative pathnames of files to remove? - rm - del - delete - remove
rm
In what filesystem are most of the operating system files contained?
root
In what filesystem are most of the operating system files contained? a. boot b. data c. root d. mnt
root
If a Linux installation ends abnormally and the screen displays a fatal signal 11 error, what type of error has occurred?
segmentation fault
What section of a filesystem contains information about the filesystem in general?
superblock
In the event that you wish to disable a swap partition, what command must be used? a. umount b. swapoff c. swapdrop d. delete_swap
swapoff
To display a text file in reverse order, what command should be used? a. tee b. tac c. cat d. sed
tac
What command can be used to display the last five lines of a text file?
tail -5
The section of an inode that stores permissions is referred to as what?
the mode of the file
Data is read from physical hard drives in concentric circles known as which of the following?
tracks
Data is read from physical hard drives in concentric circles known as which of the following? a. blocks b. tracks c. sectors d. cylinders
tracks
A computer connected to a remote hard disk via iSCSI is referred to as an iSCSI initiator. true or false
true
What terms describe a computer connected to a remote hard disk via iSCSI, and the remote hard disk?
iSCSI initiator iSCSI target
Segmentation faults can sometimes be fixed by performing what two tasks below?
turn off CPU cache memory increase the number of memory wait states in BIOS
Select the command below that can be used to provide a long listing for each file in a directory:
-l
What option, when added to the rm command, is commonly referred to as the -resume option?
-r
What option, when added to the rm command, is commonly referred to as the -resume option? - r - d - f - i
-r
The mkfs command can be issued with what switch in order to specify a filesystem type? a. -o b. -f c. -c d. -t
-t
The contents of a certain variable in memory can be viewed using which metacharacter below in combination with the echo command? - $ - & - # - *
$
Select the regular expression metacharacter that matches 0 or more occurrences of the previous character. a. + b. ^ c. ? d. *
*
Which option, when used with the mount command, enables loopback mode so that an iso image can be mounted onto a directory? a. -o loop b. --mode l c. --option l d. --loop
--loop
Which switch below can be added to the ls command to show a list of files and their type?
-F
dd
. In vi, using command mode, what series of key presses below will cause the line on which the cursor is on to be deleted?
200 MB
. What is the recommended size for the /home directory?
The Filesystem Hierarchy Standard specifies what directory as containing the Linux kernel and the boot loader configuration files?
/boot
In some cases, the installation process fails to place a boot loader on the hard disk properly; this is often caused by hard drives with over what number of cylinders?
1024
Select the mode below that corresponds to setting r-x:
5
Select the mode below that corresponds to setting r-x: - 2 - 5 - 1 - 6
5
In a SCSI chain the highest priority SCSI device is given what SCSI ID?
7
When using the chmod command, the mode rwx can be represented by which number?
7
When using the chmod command, the mode rwx can be represented by which number? - 0 - 1 - 7 - 8
7
What hex code is associated with a Linux swap type partition?
82
What hex code is associated with a Linux swap type partition? a. 96 b. 83 c. 12 d. 82
82
At the vi command mode prompt, what key combination below will force a quit from the vi editor without saving changes? a. :q! b. :! c. :exit d. :q
:q!
When issuing the ls -F command, what special character indicates a linked file?
@
Select the two commands in fdisk's interactive mode that can be used to show known partition types and view the current partition table: (Select 2 answers) a. l b. a c. p d. v
l, p
In order to create a hard link, what command must be used?
ln
In order to create a hard link, what command must be used? - ln - link - lk - lnk
ln
Select the file in the /proc directory that contains statistics on the performance of the processor:
loadavg
Select the command below that utilizes a premade database that contains a list of all the files on a system:
locate
Select the command below that utilizes a premade database that contains a list of all the files on a system: - locate - search - find - id
locate
What two commands below can be used to locate files on a filesystem?
locate find
What two commands can be used to locate files on a filesystem? - locate - grep - read - find
locate, find
Select the commands that can be used to extend a volume group and logical volume respectively: (Select 2 answers) a. lvextend b. vgextend c. lvm_extend d. pgextend
lvextend, vgextend
Select the command that can be used to check an ext2, ext3, or ext4 filesystem: a. mke2fs b. ext2fsck c. fdisk d. e2fsck
mke2fs
Select the two commands below that can be used to prepare a swap partition and then enable it for use:
mkswap swapon
Select the two commands below that can be used to prepare a swap partition and then enable it for use: (Select 2 answers) a. swapit b. mkswap c. swapon d. mkfs.swap
mkswap, swapon
To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, what command can be used?
mount -a
To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, what command can be used? a. mount -f b. mount -u c. mount -o d. mount -a
mount -a
What command below can be used to create a new physical volume?
pvcreate
What command below can be used to create a new physical volume? a. lvcreate b. pvdisk c. pvcreate d. new_pv
pvcreate
What command can be issued to confirm what directory you are in at a command line prompt?
pwd
RAID level 6 is basically the same as RAID level 5, but it adds a second set of parity bits for added fault tolerance and allows up to two simultaneous hard disk drive failures while remaining fault tolerant. true or false
true
The more filesystems that are used on a system, the less likely a corrupted filesystem will interfere with normal system operations.
true
The database for the locate command can be updated manually by using the updatedb command. true or false
true
What file system below is used by software programs that write to a CD-RW or DVD-RW drive?
udf
What file system below is used by software programs that write to a CD-RW or DVD-RW drive? - udf - ntfs - hpfs - ext2
udf
What two commands can be used to show information about physical volumes and logical volumes respectively? (Select 2 answers) a. showvg b. showlv c. lvdisplay d. vgdisplay
vgdisplay, lvdisplay
In order to quickly create an empty file, what command can be used?
vim file1
In the fdisk interactive mode, what letter can be used to save changes to the partition table and exit? - w - s - q - d
w
FTP
what service provides a method for the efficient transfer of files over the Internet?
What permission grants a user the ability to open, read, and edit the contents of a file?
write
What permission (when assigned to a file) grants a user the ability to open, read, and edit the contents of a file?
write
What permission (when assigned to a file) grants a user the ability to open, read, and edit the contents of a file? - read - write - sticky bit - execute
write
In order to list all configuration parameters that can be modified for a subfilesystem, what command should be issued?
zfs get all
Which character(s) below represent extended regular expression metacharacter(s)?
{}
What metacharacter can be used to refer to the current user's home directory?
~
What file in the /proc directory contains information about a computer's CPU?
/proc/cpuinfo
What does the setfacl -b command do?
It removes all extra ACL assignments on a given file