21

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

What is the subnet mask for a Class C IP address? a. 255.0.0.0 b. 255.255.0.0 c. 255.255.255.0 d. 255.255.255.255

C

What tool below was designed as a secure remote access utility that encrypts information that passes across the network? a. Virtual Network Computing (VNC) b. Telnet c. Secure Shell (SSH) d. rlogin

C

When using Systemd, what command can be used to start, stop and configure daemons to start automatically when the system starts? a. chkconfig b. service c. systemctl d. syscontroller

C

When using the compress utility, each file specified for compression is renamed with what extension? a. .cmp b. .c c. .Z d. .cpz

C

Which command below can be used to start, stop, or restart any daemons in the /etc/init.d directory? a. daemon b. manip-daemon c. service d. daemon-service

C

​What two options below are used to tell the useradd command where a user's home directory will be, and where the skeleton directory is? Multiple Answers ​a. -s ​b. -h ​c. -d ​d. -k

C and D

In order to create user accounts on a Linux system, what command should be utilized? a. uadd b. usercreate c. adduser d. useradd

D

Select the command that can be used to send a small TCP/IP packet to another IP address and await a response: a. png b. ipquery c. ring d. ping

D

What command below can be used to uninstall the LILO bootloader from an active partition?​ ​a. lilo --remove ​b. lilo -d ​c. lilo delete ​d. lilo -U

D

What command looks for a Makefile and uses the information within to compile the source code into binary programs using the appropriate compiler program for the local hardware architecture? a. install b. configure c. make install d. make

D

What option, when added to the crontab command, opens the vi editor with a user's cron table? a. -u b. -c c. -f d. -e

D

What permissions are required to execute a shell script in a manner similar to any other executable program on the system? a. read b. write and read c. execute d. read and execute

D

What range of ports is considered to be "well-known"?​ a. ​10023-24433 b. ​24434-65535 c. ​1024-10023 d. ​0-1023

D

Which command can be used to count the number lines, words, and characters in a file? a. pr b. nl c. tr d. wc

D

Which of the following is not one of the three main types of Linux commands?​ ​a. binary programs ​b. shell scripts ​c. shell functions d. ​device calls

D

​What command can be used to search for DPM package information? a. dpkg-search b. dpkg-list c. dpkg-info d. dpkg-query

D

tracks

Data is read from physical hard drives in concentric circles known as which of the following?

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

7

In a SCSI chain the highest priority SCSI device is given what SCSI ID?

sixth

In a cron table entry, what field specifies the absolute pathname to a command that is to be executed?

-

In a file's mode, a permission that is unavailable is represented by what character?

elif; else

In an if construct, what statements are optional?

system-config-keyboard

In order to change keyboard layout if X Windows can't detect the layout, you should use what CLI command?

-l

In order to display a list of at job IDs, what option can be specified to the at commands?

cd ../..

In order to move from the /home/joe/test/data to the /home/joe directory, what command below should be issued?

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?

​What two RAID types below utilize disk striping with parity, providing protection against one or two drive failures respectively? a. RAID6 b. RAID0 c. RAID5 d. ​RAID1

RAID 5 & RAID 6

​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

A ZFS volume that uses a variable stripe size and requires a minimum of 3 hard disks to protect against a single disk failure is known as

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: a. RAID+ b. RAID-Z c. RAID 5 d. ​ZFS Extended RAID

RAID-Z

What does the setfacl -b command do?

Removes all extra ACL assignments on a given file.

What SCSI type supports speeds of up to 80 MB/second?

SCSI-3 Ultra2 Wide

What SCSI type supports speeds of up to 80 MB/second? a. SCSI-3 Ultra b. SCSI-2 Wide c. SCSI-3 Ultra2 Wide d. SCSI-3 Ultra3 Wide

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 and 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? - SGID - SUID - SQUID - sticky bit

SGID, SUID

What kill signal stops a process, then restarts it with the same PID?

SIGHUP

If a Linux installation ends abnormally and the screen displays a fatal signal 11 error, what type of error has occurred?

Segmentation fault

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:

[ A gt B ]

Select the test statement that can be used to determine if A is numerically greater than B

Which of the following accessibility features simulates simultaneous key presses when two keys are pressed in sequence?

Sticky Keys

/root

The Filesystem Hierarchy Standard specifies what directory as the root user's home directory?

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:

KDE

The QT toolkit is utilized by which GUI environment?

PATH

The ______ environment variable contains a list of directories used to search for executable programs.

$

The contents of a certain variable in memory can be viewed using which metacharacter below in combination with the echo command?

The contents of a certain variable in memory can be viewed using which metacharacter in combination with the echo command?

$

To display an entire list of processes across all terminals and including daemons, you can add the ____ option to any ps command.

-e

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?

Which of the following files can you add filenames to so that the git add * command will not stage them?

.gitignore

The filesystem Hierarchy Standard specifies what directory as containing the Linux Kernel and the boot loader configuration files?

/boot

Under what directory is the Linux kernel stored?

/boot

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

Which of the following files is where the default runlevel is set on some Linux systems?

/etc/inittab

Firewall

The iptables software on Linux is an example of what kind of software?

Ignoring a kill signal.

Trapping

After a process has been started, you can change its priority by using the renice command. True or False

True

Each process can start an unlimited number of other processes. True or False?

True

Each process can start an unlimited number of other processes. T/F

True

While a process is waiting for its parent process to release the PID, the process is said to be in a(n) zombie state. T/F

True

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?

9; SIGKILL

What signal name and number function as the absolute kill signal, and when issued, forces the Linux kernel to stop executing the process by sending the process's resources to /dev/null?

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?

Hiring people to maintain the Linux system

Which of the following is the greatest expense for companies using Linux?

What is the term for a ZFS managed filesystem that is created from ZFS pools?​

ZFS volume

What is the term for a ZFS managed filesystem that is created from ZFS pools?​ a. ZFS vault b. ​ZFS volume c. ZFS store d. ZFS lake

ZFS volume

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

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? a. 256 b. 512 c. 1024 d. 2048

1024

What number indicates the lowest kernel priority (PRI) of a process possible?​

127

In Linux, what runlevel is also known as the multiuser mode?

2

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?

>

In the output of the ps -l command, what column is the most valuable to systems administrators because it indicates what the process is currently doing? a. process state b. process flag c. process priority d. PID

A

On Linux, the root user always has a UID of what number?​ ​a. 0 ​b. 1 ​c. 23 ​d. 500

A

What character, when appended to a command, causes the command to be run in the background? a. & b. $ c. # d. %

A

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?

fg

After a background process has been started, what command below can be used to move it to the foreground?

A system that uses an /etc/passwd file only can be converted to use /etc/shadow for security by using what command? a. passwdconv b. pwconv c. passwd d. pwdcv

B

Each octet in an IP address represents a binary number consisting of how many bits / bytes? a. 4-bit b. 8-bit c. 4-byte d. 8-byte

B

How many DNS servers can be configured in the /etc/resolv.conf file? a. two b. three c. four d. five

B

In Linux, what runlevel is also known as the multiuser mode? a. 1 b. 2 c. 3 d. 4

B

What System Log Daemon priority indicates an error that should be rectified immediately, such as a corrupt system database? a. info b. alert c. debug d. panic

B

What can be used on a Linux system to trace the lineage of each child process? a. process ID b. parent process ID c. execution order ID d. process fork ID

B

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? ​a. @! ​b. #! ​c. // ​d. ->

B

What character is used to delimit most Linux configuration files? a. tab b. colon c. space d. semicolon

B

What command below can be used to re-install GRUB2 in the event that the boot loader becomes corrupted? a. grub-install b. grub2-install c. install_grub d. install_grub2

B

Daemon used to schedule a command to execute once in the future.

at daemon

The section of an inode that stores permissions is referred to as what?

the mode of the file

​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

Which character(s) below represent extended regular expression metacharacter(s)?

{}

Select the metacharacter that can be used to send the standard output of one command to another command as standard input:

|

You can send the standard output of one command to another command as standard input using the ____ shell metacharacter.

|

What metacharacter can be used to refer to the current user's home directory?

~

If incompatible X Windows settings are configured, where will the errors that are generated be written to?

~/.xsession-errors

​What operator below is known as the NOT operator?

!

In order to redirect a file to the standard input of a command, what metacharacter should be used?

"<"

Which of the following characters can be entered at the beginning of a line in a shell script to ensure that line is recognized as a comment rather than try to execute it?

#

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?

#!

The contents of a certain variable in memory can be viewed using which metacharacter below in combination with the echo command?

$

The contents of a certain variable in memory can be viewed using which metacharacter below in combination with the echo command? - $ - & - # - *

$

The ____ command could be used to view the contents of the environment variable that represents the BASH shell prompt.

$PS1

When killing a background job with the kill command, the background job ID must be prefixed by what character below?

%

What character, when appended to a command, causes the command to be run in the background?

&

When you append a(n) ____ to a command, the command is run in a background process.

&

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.​

(hd0,0)

Select the regular expression metacharacter that matches 0 or more occurrences of the previous character. a. + b. ^ c. ? d. *

*

When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with which symbol?

+

In a file's mode, a permission that is unavailable is represented by what character?

-

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

What option can be used with the ps command to display an entire list of processes across all terminals and including daemons?

-e

What option, when added to the crontab command, opens the vi editor with a user's cron table?

-e

In order to display a list of at job IDs, what option can be specified to the at command?

-l

Select the command below that can be used to provide a long listing for each file in a directory:

-l

which option, when used with the mount command, enables loopback mode so that an iso image can be mounted onto a directory?

-loop

What command 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

What option, when added to the rm command, is commonly referred to as the -resume option? - r - d - f - i

-r

The mfks command can be issued with what switch in order to specify a filesystem type?

-t

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 Filesystem Hierarchy Standard specifies what directory as containing the Linux kernel and the boot loader configuration files?

/boot

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

In Fedora 20, where are user configured settings for Xorg stored?​

/etc/X11/xorg.conf.d/

A system administrator wants to allow most users to be able to run cron jobs, but wants to specifically prevent a couple of users from doing so. Which of the following files could the administrator edit to disallow these users from creating cron jobs?

/etc/cron.deny

In which directory would a system administrator store scripts that should be run monthly by the cron daemon?

/etc/cron.monthly

The location of system cron tables.

/etc/crontab

The _________________ file often contains a single uncommented line that configures the default runlevel for a system.​

/etc/inittab

Which of the following files is a binary file that contains the rules for calculating the time based on your time zone relative to epoch time?

/etc/localtime

The ____ 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/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/profile

Match the file with the order in which the BASH shell environment files are read: First Second Third Fourth

/etc/profile /etc/profile.d/* /etc/bashrc ~/.bashrc

What file in the /proc directory contains information about a computer's CPU?

/proc/cpuinfo

What file in the /proc directory contains information about a computer's CPU?​ a. ​/proc/meminfo b. ​/proc/cpuinfo c. /proc/cpu_info d. /proc/proc_info

/proc/cpuinfo

To ensure that Linux has detected the correct amount of RAM in the filesystem after installation, you should view the contents of what file in the proc directory?

/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?

/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? a. /proc/meminfo b. /proc/memoryinfo c. /proc/mem d. /proc/cpuinfo

/proc/meminfo

The Filesystem Hierarchy Standard specifies what directory as the root user's home directory?

/root

The Filesystem Hierarchy Standard specifies what directory as the root user's home directory? - /root - /bin - /home/root - /boot

/root

In addition to /etc/localtime, some Linux distributions also have an /etc/timezone text file that contains a reference to the correct time zone file contained in which directory?

/usr/share/zoneinfo

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?​ a. /var/log/boot.log b. /var/log/messages c. /var/log/startup.log d. /var/log/wtmp

/var/log/boot.log

Directory storing the shell environment and scheduled commands.

/var/spool/at

On a Fedora based system, where are the shell environment and scheduled commands for at stored?​

/var/spool/at

The location of user cron tables.

/var/spool/cron

Where are scheduled commands stored on Ubuntu Linux systems?

/var/spool/cron/atjobs

At what runlevel does a Linux system have no daemons active in memory, allowing it to be safely powered off?

0

Processes are started with what nice value by default?

0

The file descriptor stdin is represented by the number ____.

0

What number represents the stdin file descriptor?

0

You have a script to run on April 1 each year at 9:00am. Write the cron table entry to make this happen. The script is located in /bin and named aprilfools.

0 9 1 4 * /bin/aprilfools

The first software RAID volume on a system will​ use a multiple disk device file that starts with what number? a. 254 b. ​127 c. 128 d. 255

127

Most Parallel SCSI controllers are capable of supporting up to how many devices? a. 12 b. 13 c. 14 d. 15

15

The file descriptor stderr is represented by the number ____.

2

What number represents the stderr file descriptor?

2

Which of the following represents stderr at the command line when used for redirection?

2

The following entry is in a cron table. When will the myscript script run? (be very specific)

45 23 * * 6 /bin/myscript

The GUI components and related software take up how much space on a typical Linux installation?

4GB

select the mode below that corresponds to setting r-x

5

​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

How many different kill signals can be sent by the kill command to a given process?

64

There are ____ different kill signals that the kill command can send to a certain process.

64

In a SCSI chain the highest priority SCSI device is given what SCSI ID?

7

In a SCSI chain the highest priority SCSI device is given what SCSI ID? a. 1 b. 6 c. 7 d. 15

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!

You can redirect a file to the standard input of a command using the ____ metacharacter.

<

Which of the following can be used for comparing values within an if statement? (Choose two.)

= -lt

You can use the BASH shell to redirect standard output and standard error from the terminal screen to a file on the filesystem using the ____ shell metacharacter followed by the absolute or relative pathname of the file.

>

Which of the following will take output from a command and append it to the end of a file?

>>

When issuing the ls -F command, what special character indicates a linked file?

@

A list of all exported environment and user-defined variables in a shell can be viewed with what command below? a. env b. set c. setenv d. getenv

A

At what runlevel does a Linux system have no daemons active in memory, allowing it to be safely powered off? a. 0 b. 1 c. 6 d. 7

A

IPv6 IP addresses are delimited by what character below? a. : b. . c. , d. ;

A

In order to display a list of at job IDs, what option can be specified to the at command? a. -l b. -u c. -a d. -d

A

In order to display a list of at job IDs, what option can be specified to the at command? a. -l b. -u c. -a d. -d

A

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.​ ​a. (hd0,0) ​b. (hd1,1) ​c. (hda,0) ​d. (hda,1)

A

In the /etc/lilo.conf file, what keyword should be specified in order to provide the absolute pathname to the Linux kernel? a. image= b. default= c. install= d. root=

A

In the /etc/lilo.conf file, what keyword should be specified in order to provide the absolute pathname to the Linux kernel? a. image= b. default= c. install= d. root=

A

In the output of the ps -l command, what column is the most valuable to systems administrators because it indicates what the process is currently doing? a. process state b. process flag c. process priority d. PID

A

Once X Windows is configured, what command can be used to fine tune the vertical and horizontal refresh rate? a. xvidtune b. xvideotune c. xtune d. vidtune

A

Once X Windows is configured, what command can be used to fine tune the vertical and horizontal refresh rate? a. xvidtune b. xvideotune c. xtune d. vidtune

A

What character, when appended to a command, causes the command to be run in the background? a. & b. $ c. # d. %

A

What command can be used to assign a TCP/IP configuration to a NIC as well as view the current configuration of all network interfaces? a. ifconfig b. ipconf c. ipconfig d. ifconf

A

What command can be used to display the contents of a file that was compressed with the compress utility? a. zcat b. ccat c. cat d. acat

A

What command can be used to replace characters in a file sent via Standard Input? a. tr b. rt c. ts d. st

A

What number represents the stdin file descriptor? Correct a. 0 b. 1 c. 2 d. 3

A

What option can be added to the rpm command in order to query packages?​ a. ​-q b. ​-v c. ​-h d. ​-i

A

What option can be added to the userdel command to remove the home directory of the target user? a. -r b. -d c. -R d. -x

A

What option can be used in the journald configuration file to specify a file size limit to the event log?​ ​a. SystemMaxUse ​b. Max_file_size ​c. Journal_Limit ​d. SizeLimit

A

What stage of the GRUB boot loader typically resides on the MBR / GPT? a. Stage1 b. Stage1.5 c. Stage2 d. Stage2.5

A

What stage of the GRUB boot loader typically resides on the MBR/GPT? a. Stage 1 b. Stage 1.5 c. Stage 2 d. Stage 2.5

A

When used with the compress command, what option below can be used to compress symbolic links? a. -f b. -r c. -c d. -v

A

When used with the uncompress command, what option displays the contents of the compress file to Standard Output? a. -c b. -r c. -v d. -f

A

When viewing the output of the ps ax command, what does a < symbol in the STAT column indicate for a process? a. The process is high priority b. The process is exiting c. The process is accepting redirected input from a terminal. d. The process is currently active on the processor.

A

When viewing the output of the ps ax​ command, what does a < symbol in the STAT column indicate for a process? ​a. The process is high priority. ​b. The process is exiting. ​c. The process is accepting redirected input from a terminal. ​d. The process is currently active on the processor.

A

Where are the log files for the Samba daemon located?​ a. ​/var/log/samba b. ​/var/run/samba/log c. ​/var/log/access.log d. ​/var/log/Samba/log

A

Where is the skeleton directory located on most Linux systems? a. /etc/skel b. /var/skel c. /etc/skeleton d. /var/skeleton

A

Which command should be used to restrict access to printers? a. lpadmin b. lpa c. lpr d. admin

A

​RPM packages that require other RPM packages to be installed on a system prior to being installed creates a relationship known as? a. package dependency b. branching package​ c. family package d. recursing package

A

​What construct is intended for use in processing a list of objects, such as files, directories, users, printers, and so on? ​a. for ​b. while ​c. case ​d. switch

A

What command can be used to copy files?

cp

A case construct must be ended by ____________________.

esac

What command can be used to check different kinds of filesystems on Linux for errors?

fsck

What file in the /proc directory contains a list of memory address ranges reserved for device use?

ioports

What file in the /proc directory contains a list of memory address ranges reserved for device use? a. ioports b. meminfo c. iomem d. misc

ioports

Which of the following commands can be used to only show jobs that have been paused.

jobs -s

In Fedora 20, what journaling database system has replaced the logging system used to record the messages normally stored within the boot.log, messages, and syslog files?

journald

Which of the following commands will send a process's resources to /dev/null to kill the process for process ID 1357?

kill -9 1357

Which of the following commands can be used to display general hardware information for the entire system?

lshw

Which of the following commands will generate a new initramfs?

mkinitrd dracut

Leonard wants to find detailed information about the Bluetooth kernel module. Which of the following commands can he use to display this information?

modinfo bluetooth

The ____________________ can be used to affect the process priority indirectly.

nice value

In what filesystem are most of the operating system files contained? a. boot b. data c. root d. mnt

root

A(n) ____________________ defines the number and type of daemons that are loaded into memory and executed by the kernel on a particular system.

runlevel

Which of the following commands will show the current runlevel along with the previous runlevel? (Choose all that apply.)

runlevel

Which of the following is a virtual filesystem that is made up of virtual files that a Linux operating system is able to export information to about kernel sub-systems, hardware devices, and device drivers to make it easy for users to access the information?

sysfs

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:

Select the two escape sequences that represent a horizontal tab and a vertical tab, respectively:​ Multiple Answer ​a. \V ​b. \t ​c. \v ​d. \b

A and B

What two files below are the first two BASH environment files to be executed?​ Multiple Answer ​a. /etc/profile ​b. /etc/bashrc ​c. ˜/.bashrc d. ​˜/.bash_profile

A and B

The K desktop environment utilizes what window manager and toolkit below?​ Multiple Answer ​a. kwin ​b. mutter ​c. Qt toolkit ​d. GTK+ toolkit

A and C

Select the two keywords that can be used in the lilo.conf file in order to specify where LILO should be installed, and what parameters should be passed to the Linux kernel when loaded:​ Multiple Answer ​a. append= ​b. map= ​c. initrd= d. ​boot=

A and D

What two window managers is the Compiz Fusion window manager based upon?​ Multiple Answer ​a. compiz ​b. sawfish c. ​fvwm d. beryl​

A and D

​What two BASH environment variables represent the current working directory, and the absolute pathname of the current shell, respectively? Multiple Answer ​a. PWD ​b. CWD ​c. PATH d. ​SHELL

A and D

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?

Detail shell scripts and explain how they are used and executed.

A shell script is meant to be run by the UNIX shell. These commands can be written in different types of scripting languages. These scripts can be used to start programs, manipulate files, and printing out text. Scripts can be executed from the command-line in UNIX.

True

After a process has been started, you can change its priority by using the renice command.

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:

The Adaptive Lempel-Ziv compression algorithm used by the compress utility is capable of an average compression ratio of what percent? a. 30-40 b. 40-50 c. 50-60 d. 60-70

B

The GUI components and related software take up how much space on a typical Linux installation? a. 1 GB b. 2 GB c. 3 GB d. 4 GB

B

The process state column, what does an "R" indicate? a. The indicate process is being restarted because it received a SIGHUP kill signal. b. The process is currently running on the processor. c. The process is reading from the local hard disk. d. The process is recovering from a fatal error, and may potentially become a zombie.

B

Under what directory is the Linux kernel stored? a. / b. /boot c. /root d. /krnl

B

Under what directory is the Linux kernel stored? a. / b. /boot c. /root d. /krnl

B

What can be used on a Linux system to trace the lineage of each child process?​ ​a. process ID b. ​parent process ID ​c. execution order ID ​d. process fork ID

B

What command below can be used to re-install GRUB2 in the event that the boot loader becomes corrupted?​ ​a. grub-install ​b. grub2-install ​c. install_grub ​d. install_grub2

B

What command below is used to display the lineage of a process by tracing its PPIDs until the init daemon?​ a. psbranch ​b. pstree ​c. psparent ​d. pshead

B

What command below is used to display the lineage of a process by tracking its PPID until the init daemon? a. psbranch b. pstree c. psparent d. pshead

B

What device file below indicates the first ATAPI IDE tape device (nonrewinding)?​ a. ​/dev/st0 b. ​/dev/nht0 c. ​/dev/nst0 d. ​/dev/ht0

B

What file controls the default runlevel using Systemd? a. /etc/inittab b. /etc/systemd/system/default.target c. /etc/systemd/inittab.target d. /etc/systemd.comf

B

What file controls the default runlevel when using Systemd?​ ​a. /etc/inittab ​b. /etc/systemd/system/default.target ​c. /etc/systemd/inittab.target d. ​/etc/systemd.conf

B

What is the subnet mask for a Class B IP address? a. 255.0.0.0 b. 255.255.0.0 c. 255.255.255.0 d. 255.255.255.255

B

What priority used by the System Log Daemon indicates a very serious system condition that would normally be broadcast to all users?​ ​a. alert ​b. panic ​c. crit ​d. error

B

When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with which symbol? a.* b. + c. - d. /

B

When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with which symbol? a. * b. + c. - d. /

B

Which kill signal terminates a process by taking the process information in memory and saving it to a file called core on the hard disk in the current working directory? a. SIGINT b. SIGQUIT c. SIGKILL d. SIGTERM

B

Which kill signal terminates a process by taking the process information in memory and saving it to a file called core on the hard disk in the current working directory? a. SIGINT b. SIGQUIT c. SIGKILL d. SIGTERM

B

​In the process state column, what does an "R" indicate? ​a. The indicated process is being restarted because it resceived a SIGHUP kill signal. b. ​The process is currently running on the processor. ​c. The process is reading from the local hard disk. ​d. The process is recovering from a fatal error, and may potentially become a zombie.

B

​The CUPS Web administration tool can be accessed via web browser by accessing what TCP port below? a. 780​ ​b. 631 ​c. 4586 ​d. 8080

B

​What operator below is known as the NOT operator? ​a. -o ​b. -a ​c. ! ​d. %

B

In an if construct, what statements are optional?​ Multiple Answer ​a. fi ​b. elif ​c. else ​d. then

B and C

What two log files below will show a history of all login sessions, or a list of users and their last login time, depending on which one is viewed?​ Multiple Answers ​a. secure ​b. wtmp ​c. lastlog ​d. xferlog

B and C

The GNOME 3 desktop environment utilizes what window manager and toolkit below? Multiple Answer ​a. kwin ​b. mutter ​c. Qt toolkit ​d. GTK+ toolkit

B and D

What kill signal and number can be used to send an interrupt signal to a process, and is the same as using the Ctrl+c combination to kill a running process?​ Multiple Answers a. SIGHUP​ ​b. SIGINT ​c. 1 ​d. 2

B and D

​What two commands below can be used to modify the password expiry information and a user's default shell? Multiple Answers ​a. chexp ​b. chage ​c. shellmod ​d. chsh

B and D

After a background has been started, what command below can be used to move it to the foreground? a. b2f b. fgd c. fg d. fgnd

C

After a background process has been started, what command below can be used to move it to the foreground? a. b2f b. fgd c. fg d. fgnd

C

After modifying the /etc/default/grub file, what command should be run to rebuild the grub config file? a. grub2-install b. gruv-config c. grub-mkconfig d. grub-compile

C

After modifying the /etc/default/grub file, what command should be run to rebuild the grub config files?​ ​a. grub2-install ​b. grub-config ​c. grub-mkconfig d. ​grub-compile

C

An RPM package can be converted to a cpio archive using what command? a. ​conv_arch b. ​rpmconv c. ​rpm2cpio d. ​cpioconv

C

How many different kill signals can be sent by the kill command to a given process? a. 16 b. 32 c. 64 d. 128

C

How many different kill signals can be sent by the kill command to a given process? a. 16 b. 32 c. 64 d. 128

C

If no level of compression is specified, the gzip command assumes what compression level? a. 4 b. 5 c. 6 d. 7

C

In order to send a print job to a printer using CUPS, what command must be used? a. print b. pl c. lp d. pr

C

Most Linux distributions make use of what package manager? a. PRM b. MPR c. RPM d. RMP

C

Select the escape sequence that starts a new line when used with echo: ​a. \\ ​b. \a ​c. \n ​d. \r

C

Select the option that can be used with the lpstat command to display a list of printers that are enabled: a. -o b. -a c. -p d. -e

C

Select the test statement that can be used to determine if A is numerically greater than B: a. [ A -g B ] b. [ A -ge B ] c. [ A -gt B ] d. [ A +eq B ]

C

The System Log Daemon uses what TCP and UDP port to accept incoming requests from another System Log Daemon on a remote system?​ a. 827 ​b. 1012 ​c. 514 ​d. 23

C

The ability to extract, manipulate, and format text using pattern action statements belongs to which command below? a.sed b. grep c. awk d. nl

C

The default BASH shell prompt is set by an environment variable. What command can be used to view this variable? a. ls $PWD b. echo #PWD c. echo $PS1 d. ls #PS1

C

The dump/restore utility is limited to a maximum of how many different incremental backups? a. seven b. eight c. nine d. ten

C

The environment variables that are set by default and their current values can be viewed with what command? a. env b. get c. set d. setenv

C

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? a. # b. < c. > d. |

C

To change the primary group temporarily to another group that is listed in the output of the groups and id commands, you can use which command below? a. newgroup b. groupmod c. newgrp d. groupadd

C

What command can be used to configure the LILO, ELILO, GRUB, and GRUB2 bootloaders?​ ​a. boot-config ​b. loaderconf ​c. grubby d. ​parted

C

What command can be used to troubleshoot routing by displaying all routers between the current computer and a remote computer? a. route b. route add c. traceroute d. ip

C

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? a. ˜/.bash_profile b. ˜/.bash_login c. /etc/profile d. ˜/.profile

C

What is the Advanced Encryption Standard (AES) encryption algorithm​'s largest key length size? a. ​192-bit b. ​64-bit c. ​256-bit d. ​128-bit

C

What is the average compression ratio for the gzip utility using the LZ77 compression algorithm? a. 40%-50% b. 50%-60% c. 60%-70% d. 70%-80%

C

What is the default print job priority for all print jobs created by the lp command? a. -50 b. 0 c. 50 d. 100

C

What is the default target on a system with a GUI installed? a. multi-user.target b. single-user.target c. graphical.target d. gui.target

C

What is the default target on a system with a GUI installed?​ ​a. multi-user.target ​b. single-user.target ​c. graphical.target d. ​gui.target

C

What is the most commonly used LAN protocol? a. DLC b. UDP/IP c. TCP/IP d. IPX/SPX

C

What kill signal stops a process, then restarts it with the same PID? a. SIGINT b. SIGQUIT c. SIGHUP d. SIGTERM

C

What kill signal stops a process, then restarts it with the same PID? a. SIGINT b. SIGQUIT c. SIGHUP d.SIGTERM

C

What number represents the stderr file descriptor? a. 0 b. 1 c. 2 d. 3

C

What option can be used with ssh to enable tunneling of X Windows information?​ a. ​-L b. ​-f c. ​-X d. ​-x

C

What option should be used in conjunction with the lp command in order to specify the destination printer name? a. -n b. -p c. -d d. -l

C

Which command below can be used to start, stop, or restart any daemons in the /etc/init.d directory? a. daemon b. manip-daemon c. service d. daemon-service

C

​What configuration file contains parameters that set the default location for e-mail, password expiration information, minimum password length, and the range of UIDs and GIDs available for use? ​a. system.conf ​b. local.setup ​c. login.defs ​d. user.defs

C

​What option can be added to the dpkg command to remove a specified package from the system, including any configuration files used by the package? a. ​-r b. ​-D c. ​-P d. ​-d

C

​What option can be added to the rpm command to upgrade a specified package only if an older version exists on the system? a. ​-c b. ​-U c. ​-F d. ​-z

C

​When using Systemd, what command can be used to start, stop, and configure daemons to start automatically when the system starts? ​a. chkconfig ​b. service c. ​systemctl ​d. syscontroller

C

What option can be added to the netstat command in order to display network statistics?​ a. ​-s b. ​-p c. ​-a d. ​-i

D

What option can be used with the ps command to display an entire list of processes across all terminals and including daemons? a. -f b. -l c. -a d. -e

D

What option can be used with the ps command to display an entire list of processes across all terminals and including daemons? a. -f b. -l c. -a d. -e

D

What option, when added to the crontab command, opens the vi editor with a user's cron table? a. -u b. -c c. -f d. -e

D

What well-known TCP port is utilized by the SMTP service?​ a. ​110 b. ​22 c. ​23 d. ​25

D

When killing a background job with the kill command, the background job ID must be prefixed by what character below? a. & b. # c. $ d. %

D

When killing a background job with the kill command, the background job ID must be prefixed by what character below? a. & b. # c. $ d. %

D

Which of the following is not one of the three main Linux commands? a. binary programs b. shell scripts c. shell functions d. device calls

D

​What yum command below can display a list of package group names? a. ​yum --list -g b. ​yum show groups c. ​yum list --groups d. ​yum grouplist

D

T/F - Given the syntax command && command, the command on the left of the && construct is executed only if the command on the right of the && construct completed successfully.

False

T/F - In a decision construct, you can have an unlimited number of if then statements.

False

T/F - The /etc/rc.d/rc 5 script only executes files that start with S in the /etc/rc.d/rc5.d/ directory.

False

T/F - To prevent a file from being cleared by the BASH shell and append output to the existing output, you can specify three > metacharacters alongside the file descriptor.

False

T/F - Users can create their own custom variables, called shell variables.

False

T/F - You are limited to using one pipe | metacharacter on the command line to pipe information from one command to another command.

False

The /etc/rc.d/rc 5 script only executes files that start with S in the /etc/rc.d/rc5.d/ directory. True and False

False

The killall command uses the PID to kill a process. True or False

False

The killall command uses the PID to kill all process. True or False?

False

The ps command is the only command that can view process information. T/F

False

The secure log file contains information regarding the last user to log in to a system.​ True or False

False

To prevent a file from being cleared by the BASH shell and append output to the existing output, you can specify three > metacharacters alongside the file descriptor. True or False

False

Volumes can contain a filesystem but they can't be mounted to directories within the Linux filesystem hierarchy.​

False

Zombie processes are also known as defunct processes.​ True or False

False

What command is most effective at identifying different types of files?​

File

____ are labels representing command input and output.

File descriptors

_______________ represents a text description of the user and is typically left blank.

GECOS

Which of the following is an on-screen keyboard used with Linux?

GOK

False

Given the syntax command && command, the command on the left of the && construct is executed only if the command on the right of the && construct completes successfully.

Filenames that start with a period, such as .file, are referred to as

Hidden Files

64

How many different kill signals can be sent by the kill command to a given process?

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?

True

If the /etc/at.allow and /etc/at.deny files do not exist the root user is allowed to schedule tasks using the at daemon.

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?

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?

<

In order to redirect a file to the standard input of a command, what meta character should be used?

<

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?

process state

In the output of th ps -l command, what column is the most valuable to systems administrators because it indicates what the process is currently doing?

The process is currently running on the processor.

In the process state column, what does an "R" indicate?

root

In what filesystem are most of the operating system files contained?

command mode

In what mode does the vi editor open by default?

Which of the following will the split command do on a file when no other options are specified?

It will split a file into new equally sized files that are 1/10th of the original file size.

The ____________________ facility used by the System Log Daemon specifies messages from the Linux kernel.

Kern

Which of the following options is passed to the Linux kernel from the GRUB2 configuration file to set the locale?

LANG

15

Most Parallel SCSI controllers are capable of supporting up to how many devices?

/var/spool/at

On a Fedora based system, where are the shell environment and scheduled commands for at stored?

xvidtune

Once X Windows is configured, what command can be used to fine tune the vertical and horizontal refresh rate?

The ____________________ environment variable contains a list of directories to search for executable programs.

PATH

A process's identifier that allows the kernel to identify it uniquely.

PID

When a computer first initializes, the system BIOS performs a(n) ____________________.

POST

Identifies the process that started another process.

PPID

Pog O

Pog

Pog U

Pog Off

A set of information that is sent to a printer at the same time is called a(n) ____________________.

Print Job

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?

A(n) ____________________ refers to a program that is running in memory and on the CPU.

Process

An executable file on the hard disk that can be run when you execute it.

Program

Network Address Translation (NAT)

Proxy servers keep track of the information passed to each client by maintaining what type of table?

​What RAID level is commonly referred to as disk striping with parity? a. RAID4 b. RAID0 c. ​RAID5 d. RAID1

RAID 5

If you have ____ permission to a shell script, you can execute the shell script like any other executable program on the system.

Read and execute

Text wildcards used to ease the searching of specific text information are called _________________________.

Regular expressions (regexp)

Which kill signal terminates a process by taking the process information in memory and saving it to a file called core on the hard disk in the current working directory?

SIGQUIT

​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

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:

____ are files that are typically used to create custom programs that perform administrative tasks on Linux systems.

Shell scripts

Which of the following does Click Assist do?

Simulates a right click by holding down the left mouse button

The ____ field in a cron table contains the absolute pathname to the command to be executed.

Sixth

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?

What stage of the GRUB boot loader typically resides on the MBR / GPT?

Stage 1

Which of the following is a valid Linux initialization process?

Systemd SysV

Which of the following system variables can you modify to override the default system timezone within your current shell?

TZ

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

Each SCSI device attached to a system must be assigned an ID number. What is this ID number called?

Target ID

/boot

The Filesystem Hierarchy Standard specifies what directory as containing the Linux kernel and the boot loader configuration files?

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?

Linus Torvalds

The Linux kernel was developed and released in 1991 by:

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?

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?

False

The killall command uses the PID to kill a process.

-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?

​In the process state column, what does an "R" indicate?

The process is currently running on the processor.

When viewing the output of the ps ax​ command, what does a < symbol in the STAT column indicate for a process?

The process is high priority.

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?

False

To prevent a file from being cleared by the BASH shell and append output to the existing output, you can specify three > metacharacters alongside the file descriptor.

After a process has been started, you can change its priority by using the renice command. True or False?

True

Any command that can be executed on the command line can also be placed inside any environment file. True or False

True

CUPS contains versions of the lpr, lpc, lpq, and lprm commands. True or False

True

Each process can start an unlimited number of other processes. True or False

True

If the /etc/at.allow and /etc/at.deny files do not exist, only the root user is allowed to schedule tasks using the at daemon. True or False

True

If the /etc/at.allow and /etc/at.deny files do not exist, only the root user is allowed to schedule tasks using the at daemon. True or False?

True

Logs from the cron daemon (crond) can be viewed using the command journalctl _COMM=crond True or False

True

Most daemon scripts accept the arguments start, stop, and restart. True or False

True

Much like the SysV init daemon, the Systemd init daemon is used to start daemons during system initialization as well as start and stip daemons after system initialization. True or False?

True

T/F - Aliases are shortcuts to commands stored in special variables that can be created and viewed using the alias command.

True

T/F - Any command that can be executed on the command line can also be placed inside any environment file.

True

T/F - Most daemon scripts accept the arguments start, stop, and restart.

True

T/F - The BASH shell assumes stdout in the absence of a numeric file descriptor.

True

T/F - The ENV environment variable represents the location of the BASH run-time configuration file.

True

T/F - You can choose to use a window manager only, and not use a desktop manager.

True

T/F - You can use the sed command to remove unwanted lines of text.

True

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

When you print to a printer class, the print job is send to the first available printer in the printer class. True or False

True

You can choose to use a window manager only, and not use a desktop manager. True or False

True

You can use the sed command to remove unwanted lines of text. True or False

True

Zombie processes are also known as defunct processes. True or False?

True

​Much like the SysV init daemon, the Systemd init daemon is used to start daemons during system initialization as well as start and stop daemons after system initialization. True or False

True

Segmentation faults can sometimes be fixed by performing what two tasks?

Turning off CPU cache memory and increasing the number of memory wait states in BIOS

/var

Under the root directory in Linux, which directory contains system commands and utilities?

/boot

Under what directory is the Linux kernel stored?

Which of the following is responsible for starting tasks and services during boot, stopping them during shutdown, and supervising them while the system is running?

Upstart

[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?

parent process ID

What can be used on a Linux system to trace the lineage of each child process?

#!

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?

&

What character, when appended to a command, causes the command to be run in the background?

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?

pstree

What command below is used to display the lineage of a process by tracing its PPIDs until the init daemon?

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?

/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?

2; SIGINT

What kill signal and number can be used to send an interrupt signal to a process, and is the same as using the Ctrl_c combination to kill a running process?

SIGHUP

What kill signal stops a process, then restarts it with the same PID?

;

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?

127

What number indicates the lowest kernel priority (PRI) process possible?

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?

-e

What option can be used with the ps command to display an entire list of processes across all terminals and including daemons?

-e

What option, when added to the crontab command, opens the vi editor with a user's cron table?

-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?

PWD; SHELL

What two BASH environment variables represent the current working directory, and the absolute pathname of the current shell, respectively?

kill; killall

What two commands below can be used to stop a process, either by PID number or process name?

/etc/profile; /etc/bashrc

What two files below are the first two BASH environment files to be executed?

init; systemd

What two processes below will show up as PID 1, depending on whether a system uses UNIX SysV or System init processes?

-l; -f

What two ps options can be used to display a full list of information about each process, and a long list of information about each process?

@

When issuing the ls -F command, what special character indicates a linked file?

%

When killing a background job with the kill command, the background job ID must be prefixed by what character below?

+

When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with which symbol?

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?

The process is high priority.

When viewing the output of the ps ax command, what does a < symbol in the STAT column indicate for a process?

What is contained in the DISPLAY variable on a Linux system running the X window system?

Which X server the client is supposed to connect to by default.

{}

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?

SIGQUIT

Which kill signal terminates a process by taking the process information in memory and saving it to a file called core on the hard disk in the current working directory?

device calls

Which of the following is not one of the three main types of Linux commands?

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

Which of the following is a lightweight desktop environment that uses very few system resources that a system administrator might choose to install on a Linux server instead of one of the two main desktop environments?

XFCE

False

You are limited to using one pipe | metacharacter on the command line to pipe information from one command to another command.

/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

True

Zombie processes are also known as defunct processes.

Select the test statement that can be used to determine if A is numerically greater than B:

[ A -gt B ]

The test statement ____ would be used to determine if A is numerically greater than B.

[ A -gt B ]

Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?

[1-4]

Select the escape sequence that is used for a form feed:

\f

The ____ escape sequence represents a form feed.

\f

Select the escape sequence that starts a new line when used with echo:

\n

Which of the following is the common escape sequence to display a horizontal tab using the echo command?

\t

Levi wants to run 5 commands sequentially, but does not want to create a shell script. He knows that each command is going to take approximately 20 minutes to run individually. However, he would like to go to lunch 15 minutes from now. He knows that he can type all of the commands on the same line and separate them with a certain character to run them sequentially. Which character can he type after each command to have them run one after the next without requiring further input from him?

a semicolon

What two* commands will grant only the execute permission to username bob on file1, assuming bob is the file's owner?

chmod 777 file1

​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 filenam

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

Select the command that can be used to change the root filesystem to a different directory, such as when you are in a rescue environment.

chroot

what command can be used to change the root filesystem to a different directory, such as when in a rescue environment?

chroot

​Select the command that can be used to change the root filesystem to a different directory, such as when in a rescue environment. a. croot b. set_root c. change_root d. ​chroot

chroot

What character is used to delimit most Linux configuration files?

colon

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? - 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

What file in the /proc contails info about a computer's CPU?

cpuinfo

Daemon used to schedule a command to execute repeatedly in the future.

cron daemon

Which of the following commands will show the current user cron jobs that have been created for the currently logged in user?

crontab -l

You have run the top command successfully, but realize that the q key on the keyboard has suddenly stopped working. What is another way that you can exit out of the top program?

ctrl-c

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 should you run after installing a new kernel module to update the module dependency database?

depmod

Which of the following is not one of the three main types of Linux commands?​

device calls

What command provides the easiest method for monitoring free space on mounted filesystems?

df

Which command below provides the easiest method for monitoring free space on mounted filesystems? - du - df - fs - fd

df

Which of the following commands will display messages that were displayed during the boot sequence by the kernel?

dmesg

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

What command shows the size of a directory and its contents in kilobytes?

du

Which of the following commands will display the exit status of the last command used in the BASH shell?

echo $?

The default BASH shell prompt is set by an environment variable. What command can be used to view this variable?

echo $PS1

The quotas for certain users can be edited b using which command?

edquota

The quotas for certain users can be edited by using which command? - chquota - usrquota - repquota - edquota

edquota

A list of all exported environment and user-defined variables in a shell can be viewed with what command below?

env

To see a list of all exported environment and user-defined variables in the shell, you can use the ____ command.

env

What permission (when applied to a directory) allows a user to enter the directory and work with directory contents?

execute

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

What command that can be used to create partitions that will be stored in a MBR after installation?

fdisk

After a background process has been started, it can be moved to the foreground by using the ____ command.

fg

After a background process has been started, what command below can be used to move it to the foreground?

fg

You have started a job running in the background that you want to now bring to the front so that you can watch it execute. Which of the following commands can be used to display the job's output to the terminal?

fg

When writing shell scripts and using an if statement to determine whether a set of code should be executed, what is the proper syntax to end the if construct? ___________

fi

Errors on a filesystem are common on most file systems. What do these errors indicate?

filesystem corruption

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

Any command that can take standard input and transform it into standard output is called a(n) ____________________ command.

filter

​What construct is intended for use in processing a list of objects, such as files, directories, users, printers, and so on?

for

In a process referred to as ____________________, when executing compiled programs or shell scripts, the BASH shell that interprets the command you typed creates a new BASH shell.

forking

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 can be used to edit a GPT based hard disk's partitions?

gdisk and parted

​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

Which of the following commands should you use to specify that you want to use Git for version tracking on them?

git add

Which command can be used to download an updated copy of the master branch from the original Git repository?

git pull origin master

What is the default target on a system with a GUI installed?​

graphical.target

Which of the following will look at the /etc/passwd file for any lines containing the word root and display them out to the screen while simultaneously writing the results to a file?

grep root /etc/passwd | tee ~/root.txt

After modifying the /etc/default/grub file, what command should be run to rebuild the grub config files?​

grub-mkconfig

What command below can be used to re-install GRUB2 in the event that the boot loader becomes corrupted?​

grub2-install

What command can be used to configure the LILO, ELILO, GRUB, and GRUB2 bootloaders?​

grubby

The first line in a shell script, which specifies the pathname to the shell that interprets the contents of the shell script, is ____.

hashpling

Which of the following can be used to compare the hardware clock to the system clock, writing a new result to a new line every 10 seconds?

hwclock -c

Which of the following is a type of software that allows a piece of hardware to host multiple operating systems?

hypervisor

What terms describe a computer connected to a remote hard disk via iSCSI, and the remote hard disk? (Select two answers.) a. ​iSCSI initiator b. ​iSCSI host c. ​iSCSI slave d. ​iSCSI target

iSCSI initiaitor, iSCSI target

Which of the following commands can be used to convert files between different character encodings?

iconv

Which of the following constructs can be used in a shell script to determine whether two values are equal and if so run another set of commands?

if

In the /etc/lilo.conf file, what keyword should be specified in order to provide the absolute pathname to the Linux kernel?

image=

The first daemon process on a system is called the ____________________ daemon.

initialize

​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

​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? a. journald b. systemd c. ​logd d. ​messaged

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

what are two commands in fdisk's interactive mode that can be used to show known partition types and view the current partition table

l and p

​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 and manage KVM or Qemu virtual machines, a Linux system must have which of the following installed?

libvert

What command below can be used to uninstall the LILO bootloader from an active partition?​

lilo -U

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 file in the /proc directory that contains statistics on the performance of the processor: a. kcore b. loadavg c. cpuinfo d. modules

loadavg

What file in the /proc directory that contains statistics on the performance of the processor?

loadavg

Which of the following commands will show a number of environment variables that start with LC_?

locale

Which of the following commands can be used to display the current locale of a system? (Choose two.)

locale localectl

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 command utilizes a pre-made database that contains a list of all the files on a system?

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 and find

What two commands can be used to locate files on a filesystem? - locate - grep - read - find

locate, find

Which of the following commands can be used to see files that are currently being used by a specific process ID (PID)?

lsof

A government office wants to secure a few of its Linux systems so that they can only use certain USB devices. After plugging in a USB device, which of the following commands could be used to detect certain identifying information that can be used to only allow that type of USB device?

lsusb

what are the commands that can be used to extend a volume group and logical volume respectively.

lvextend and vgextend

​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

What command is used to manage a software RAID configuration after installation?

mdadm

What command is used to manage a software RAID configuration after installation?​ a. ​mdraid b. ​vgadm c. ​mdadm d. ​pgadm

mdadm

Which of the following commands can be used to create and manage a software RAID configuration after installation?

mdadm

The subdirectory newdir does not currently exist in the current directory that you are in. Which of the following commands will create a new directory named newdir and then change into that directory? (Choose two.)

mkdir newdir && cd newdir mkdir newdir; cd newdir

Select the command that can be used to check an ext2, ext3, or ext4 filesystem:​ a. mke2fs b. ext2fsck c. fdisk d. e2fsck

mke2fs

What command that can be used to check an ext2, ext3, or ext4 filesystem?

mke2fs

​Select the two commands below that can be used to prepare a swap partition and then enable it for use:

mkswap ​swapon

what are two commands that van be used to prepare a swap partition and then enable it for use?

mkswap and 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

What file under the proc directory contains information regarding what modules are currently loaded into the Linux kernel?

modules

What file under the proc directory contains information regarding what modules are currently loaded into the Linux kernel?​ a. kmods b. modinfo c. mod_info d. modules

modules

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

To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, what command can be used??

mount -a

Which of the following is the default window manager used by the GNOME version 3 desktop environment?

mutter

Which of the following commands will display the output of a file while also displaying a line number at the left side of each line for the /etc/passwd file?

nl /etc/passwd

Which of the following virsh commands will display the total amount of memory as well as the amount of free memory for a node?

nodememstats

What can be used on a Linux system to trace the lineage of each child process?​

parent process ID

Which of the following commands can be used to terminate a process by the process name?

pkill

When a user creates a file or directory, that user's name and ____________________ becomes the owner and group owner of the file, respectively.

primary group

In the output of the ps -l command, the ____ column is the most valuable to systems administrators because it indicates what the process is currently doing.

process state

In the output of the ps -l command, what column is the most valuable to systems administrators because it indicates what the process is currently doing?

process state

What command below is used to display the lineage of a process by tracing its PPIDs until the init daemon?​

pstree

What command is used to display the lineage of a process by tracing its PPIDs until the init daemon?

pstree

What command below can be used to create a new physical volume?

pvcreate

What command will 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

What keyword tells the Linux kernel to avoid printing errors to the screen during system startup?​

quiet

Which of the following characters, when pressed while the top program is running, will allow you to change the niceness of a process?

r

The ____________________ command takes user input from stdin and places it in a variable specified by an argument.

read

If a file's permissions are set to 760, what permission(s) are available to the group assigned to the file?​

read write

Which of the following can be included in a shell script to ask the user to type in a password and then store it in the variable named $password?

read -s -p "Please enter the password: " password

What permissions are required to execute a shell script in a manner similar to any other executable program on the system?

read and execute

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

To copy a directory full of files in Linux, you must tell the cp command that the copy will be ____________________ (involve files and subdirectories too) by using the -r option

recursive

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

what two commands will work recursively if specified with the -R option?

rm and cp

Processes that have encountered an error during execution and continuously uses up system resources are referred to as ____________________ processes.

rogue

In what filesystem are most of the operating system files contained?

root

If a Linux installation ends abnormally and the screen displays a fatal signal 11 error, what type of error has occurred?

segmentation fault

If a Linux installation ends abnormally and the screen displays a fatal signal 11 error, what type of error has occurred? a. page fault b. IRQ fault c. segmentation fault d. RAM failure

segmentation fault

Which of the following commands will count down from 10 to 1?

seq 10 -1 1

Which command below can be used to start, stop, or restart any daemons in the /etc/init.d directory?

service

The environment variables that are set by default and their current values can be viewed with what command?

set

To see a list of the environment variables and their current values on a system, you can use the ____ command.

set

In a cron table entry, what field specifies the absolute pathname to a command that is to be executed?

sixth

Which of the following commands will display the contents of the /etc/passwd file in alphanumerical order?

sort /etc/passwd

Which of the following is a valid method of running a script named myscript.sh? (Choose two)

source myscript.sh ./myscript.sh

The ____________ command can be used to start X Windows and the default window manager or desktop environment.​

startx

Any error messages generated by a command is ____.

stderr

The information that is processed by the command during execution is ____.

stdin

____ is the normal output of a command.

stdout

Most commands that are run by the shell are run in a separate ____________________, which is created by the current shell.

subshell

What section of a filesystem contains info about the filesystem in general?

superblock

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?

swapoff

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 create a(n) ____________________ link, you use the -s option to the ln command.

symbolic

In order to change keyboard layout if X Windows can't detect the layout, you should use what CLI command?

system-config-keyboard

​When using Systemd, what command can be used to start, stop, and configure daemons to start automatically when the system starts?

systemctl

Which of the following commands will set the default runlevel of a Linux system?

systemctl set-default runlevel5.target

Which of the following commands will display a list of Systemd units sorted by the time they took to load?

systemd-analyze blame

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

Each SCSI device attached to a system must be assigned an ID number. What is this ID number called? a. SCSI controller b. target ID c. SCSI number d. device ID

target ID

____ is a filter command that takes information from standard input and sends that information to a file, as well as to standard output.

tee

The amount of time a process has to use the CPU is called a(n) ____________________.

time slice

Which of the following commands will list the time zones available on a Linux system?

timedatectl list-timezones

Which of the following commands will show a list of process names along with their process ID (PID)? (Choose two.)

top ps

The ____ command can be used to replace characters in a file sent via Standard Input.

tr

What command can be used to replace characters in a file sent via Standard Input?

tr

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

What is the name of the concentric circles from where data is read from in a physical hard drive?

tracks

A computer connected to a remote hard disk via iSCSI is referred to as an iSCSI initiator. true or false

true

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

Which of the following commands will prompt you to answer a series of questions to help determine which time zone file you should use?

tzselect

What file system below is used by software programs that write to a CD-RW or DVD-RW drive? - udf - ntfs - hpfs - ext2

udf

An alias has previously been created named showauth. Which of the following commands can be used to get rid of that alias?

unalias showauth

How many times will the following loop execute as part of a script: #!/bin/bash COUNTER=0 while [ $COUNTER -lt 7 ] do echo "hello world" done

until ctrl-c is used to terminate it

What two commands can be used to show information about physical volumes and logical volumes respectively?

vgdisplay and lvdisplay

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 order to quickly create an empty file, what command can be used?​

vim file1

On a system using the KVM hypervisor, which of the following modules would you expect to see as part of the output of the lsmod command on a guest Linux virtual machine?

virtio

in the fdisk interactive mode, what letter can be used to save partition table and exit?

w

​In the fdisk interactive mode, what letter can be used to save changes to the partition table and exit? - w - s - q - d

w

Which of the following commands can be used to schedule very frequent recurring tasks, such as running once every minute?

watch

The ____ command counts the number of lines, words, and characters in a file.

wc

Which command can be used to count the number lines, words, and characters in a file?

wc

Which of the following commands will count the number of lines in a file named data.csv?

wc -l data.csv

FTP

what service provides a method for the efficient transfer of files over the Internet?

The ____________________ command only searches directories that are listed in a special variable called the PATH variable in the current BASH shell.

which command

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

If a file's permissions are set to 760, what permission(s) are available to the group assigned to the file?

write and read

Using the syntax below, what command will create directories named one, two, and three? ​ echo one two three | ___________ mkdir

xargs

Once X Windows is configured, what command can be used to fine tune the vertical and horizontal refresh rate?

xvidtune

In order to list all configuration parameters that can be modified for a subfilesystem, what command should be issued?​

zfs get all

In order to list all configuration parameters that can be modified for a subfilesystem, what command should be issued?​ a. zfs list​ b. zpool list c. ​zpool get all d. zfs get all

zfs get all

in order to list all configuration parameters that can be modified for a sub-filesystem, what command should be issued?

zfs get all

Which of the following states describe a process that is waiting for a parent process to release its PID?

zombie

The ​state and performance of a RAID-Z volume can be viewed using what two commands? (Select two answers.) a. zpool iostat b. ​zpool status c. zfs iostat d. zfs status

zpool iostat, zpool status

What file controls the default runlevel when using Systemd?​

​/etc/systemd/system/default.target

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

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

Segmentation faults can sometimes be fixed by performing what two tasks below?​ a. perform a full reinstall of OS b. ​turn off CPU cache memory c. increase the number of memory wait states in BIOS d. update the Linux kernel

​turn off CPU cache memory, and increase the number of memory wait states in BIOS

What number indicates the lowest priority kernel priority (PRI) of a process possible? a. -20 b. 0 c. 20 d. 127

D

: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?

In Fedora 20, where are user configured settings for Xorg stored? a. /etc/X11/xorg.conf b. /etc/X11/xorg.conf.d/ c. /etc/inittab d. /etc/X11.conf

B

In Fedora 20, where are user configured settings for Xorg stored?​ ​a. /etc/X11/xorg.conf ​b. /etc/X11/xorg.conf.d/ ​c. /etc/inittab d. ​/etc/X11.conf

B

In order to enable IP routing on Linux at boot, what setting must be configured in /etc/sysctl.conf?​ a. ​iproute.ipv4 b. ​net.ipv4.ip_forward c. ​ipv4.routing d. net.routing.enable​

B

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? a. systemctl​ ​b. chkconfig ​c. autoservice ​d. run-daemon

B

On a Fedora based system, where are the shell environment and scheduled commands for at stored? a. /var/spool/cron/atjobs b. /var/spool/at c. /var/run/at d. /var/run/cron/at

B

On a Fedora based system, where are the shell environment and scheduled commands for at stored?​ ​a. /var/spool/cron/atjobs b. ​/var/spool/at ​c. /var/run/at d. /var/run/cron/at​

B

Processes are started with what nice value by default? a. -20 b. 0 c. 1 d. 19

B

Processes are started with what nice value by default? a. -20 b. 0 c. 1 d. 19

B

Select the escape sequence that is used for a form feed: \n b. \f /f /n

B

Select the metacharacter that can be used to send the standard output of one command to another command as standard input: a. < b. | c. > d. #

B

Select the option that, when used with the gzip command, causes the compression ratio for files that have been compressed to be listed: a. -r b. -l c. -f d. -c

B

On most Linux systems, the logrotate utility is automatically scheduled to run weekly. True or False

False

Select the two commands below that will provide the number of lines in a file, and the number of characters in a file, respectively:​ Multiple Answer ​a. count -c b. ​pr -d ​c. wc -l ​d. wc -c

C and D

Select the two window managers that have been used in GNOME:​' Multiple Answer a.​kwin ​b. lxde c. ​metacity d. ​mutter

C and D

The System Log Daemon rsyslogd loads what configuration file under /etc, as well as any files within which directory under /etc?​ Multiple Answers ​a. log.conf ​b. rsyslog.conf ​c. rsyslog.d ​d. log.d

C and D

What two commands below can be used to stop a process, either by PID number or process name?​ Multiple Answers ​a. end ​b. stop c. kill​ d. ​killall

C and D

What two files contain settings for the CUPS daemon and the configuration information for each printer installed on a system, respectively?​ Multiple Answers ​a. /etc/prnt.config ​b. /etc/cupsd.conf ​c. /etc/cups/cupsd.conf ​d. /etc/cups/printers.conf

C and D

What two processes below will show up as PID 1, depending on whether a system uses UNIX SysV or Systemd init processes? Multiple Answers a. ​kthreadd ​b. syslogd ​c. init ​d. systemd

C and D

​What two ps options can be used to display a full list of information about each process, and a long list of information about each process? ​a. -e ​b. -p ​c. -f ​d. -l

C and D

Which of the following commands can be used to create a BASH variable named CREATOR with the value of Torvalds?

CREATOR="Torvalds"

Which of the following is the default desktop environment used by Linux Mint?

Cinnamon

Most configuration files on Linux systems are delimited using ____ characters.

Colon

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

A user account can be locked with the usermod command using what option? a. -U b. -u c. -l d. -L

D

Adding the -t option to what command below will provide a list of all printers on the system and their status? a. lp b. lpr c. lps d. lpstat

D

An IPv6 IP address consists of 16-bit numbers in what numbering scheme? a. decimal b. octal c. binary d. hexadecimal

D

In a cron table entry, what field specifies the absolute pathname to a command that is to be executed? a. first b. second c. fifth d. sixth

D

In a cron table entry, what field specifies the absolute pathname to a command that is to be executed? a. first b. second c. fifth d. sixth

D

In order to change keyboard layout if X Windows can't detect the layout, you should use what CLI command? a. sys-conf-kb b. system-config-kb c. sys-config-keyboard d. system-config-keyboard

D

In order to change keyboard layout if X Windows can't detect the layout, you should use what CLI command? a. sys-conf-kb b. system-config-kb c. sys-config-keyboard d. system-config-keyboard

D

In order to download DPM packages, what command should be used below?​ a. ​apt-search b. ​yum c. ​dpm-grab d. ​apt-get

D

In order to redirect a file to the standard input of a command, what metacharacter should be used? a. > b. # c. | d. <

D

Select below the configuration file that is used to configure the BIND / DNS server:​ a. ​/etc/dns.conf b. ​/etc/bind.conf c. ​/etc/resolv.conf d. ​/etc/named.conf

D

The GUI components and related software take up how much space on a typical Linux installation? a. ​1 GB ​b. 2 GB ​c. 3 GB ​d. 4 GB

D

The GUI components and related software take up how much space on a typical Linux installation? a. 1 GB b. 2 GB c. 3 GB d. 4 GB

D

The sshd daemon is configured by editing what configuration file?​ a. ​/etc/sshd.config b. ​/etc/ssh/ssh_config c. ​/etc/ssh.conf d. ​/etc/ssh/sshd_config

D

What keyword tells the Linux kernel to avoid printing errors to the screen during system startup?​ ​a. silent b. ​noerror c. ​whisper ​d. quiet

D

What log file contains information and error messages regarding network access generated by daemons such as ssd and xinetd? a. wtmp b. messages c. dmesg d. secure

D

What number indicates the lowest kernel priority (PRI) of a process possible?​ ​a. -20 ​b. 0 ​c. 20 d. ​127

D

A system process that is not associated with a terminal is called a(n) ____ process.

Daemon

____ are constructs that alter the flow of a program based on whether a command in the program completed successfully or based on a decision that the user makes given a question posed by the program.

Decision construct

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?

True

Each process can start an unlimited number of other processes.

An alternative to the vi editor that offers an equal set of functionality is the GNU _________________________.

Emacs (Editor MACroS) editor

____ are shell variables that are typically set by the system and contain information that the system and programs access regularly.

Environment variables

filesystem corruption

Errors on a filesystem are common on most filesystems. What do these errors indicate?

____________________ defines a standard set of directories for use by all Linux and UNIX systems, as well as the file and subdirectory contents of each directory.

FHS

Each device attached to a system can be represented by multiple device files.

False

Fedora 20 makes use of the XFree86 implementation of X Windows. True or False?

False

Fedora 20 makes use of the XFree86 ​implementation of X Windows. True or False

False

Given the syntax command && command, the command on the left of the && construct is executed only if the command on the right of the && construct completed successfully. True or False

False

In Linux, you are restricted to using only one type of filesystem on a system.

False

Which command can be used to create a new command that will monitor the contents of auth.log as they get added to the file?

alias showauth='tail -f /var/log/auth.log'

A system administrator wants to schedule a task to run at 11 pm, but knows that she will not be in the office at that time. Which of the following commands can she use to schedule this task to run that night while she is at home?

at

Which of the following command can be used to remove a job from the list of pending jobs? (Choose all that apply.)

at -d at -r atrm

Which of the following commands will display a list of the pending jobs to be run? (Choose all that apply.)

atq at -l at -q

In the process called ____________________, a user's user name and password are checked against a system database that contains all user account information.

authentication

The ____ command can be used to extract, manipulate, and format text using pattern-action statements.

awk

The ability to extract, manipulate, and format text using pattern action statements belongs to which command below?

awk

In a file's mode, a permission that is unavailable is represented by what character? - ? - * - "b -" - +

b -

Which two problems below are typically seen on large systems that write large amounts of data to a non-ZFS filesystem?​ a. ​snapshotting b. ​bit rot c. ​misdirected writes d. segment faults

bit rot, misdirected

On a CUPS printing system, to remove a print job that is in the print queue, you can use the ____________________ command followed by the print job IDs of the jobs to remove.

cancel

Which of the following results would be created by the command sequence: echo 'apple banana carrot dog elephant' | while read a b c; do echo result: $c $b $a; done

carrot dog elephant banana apple

Which of the following commands will send the output of the cat command to the grep command to be filtered?

cat /etc/passwd | grep jsmith

Which of the following commands will display the current CPU(s) detected by a Linux system?

cat /proc/cpuinfo

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

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?

chkconfig


Ensembles d'études connexes

Chapter 16: Sustainable Marketing

View Set

hbio301 ch6 bones and skeletal tissue

View Set

The structure of Cells & labeling a plant and animal cell and a mitochondria and a chloroplast

View Set

BUSN - 104 Chapter 10. Management of Human Resources

View Set

Lecture 8 beyond 2 sex/ 2 gender

View Set

Case 5: Twitter, Inc. in 2019: Are the Growth and Profit Sustainable By: David L. Turnipseed,

View Set

Lord of the Flies chpts 11-12 review

View Set

**2024**NCLEX Prep: Foundations (Infection control, safety, communication, spirituality, sleep/rest, fluids/electrolytes, population, perioperative care, acid/bases, lab tests)

View Set

College Board U 1-6 Progress Check MCQ: Missed

View Set