IST 190 GVLTEC EXAM 3 QUESTIONS AND ANSWERS
Match the definition on the left with the correct term from Chapter 7 on the right:
Question
The command to see a list of the currently running background processes.
A background job can be brought to the foreground by using the this command with its
job ID (%job number).
To start a suspended process running in the background, use this command with the
same job ID.
Any command or pipeline can be started in the background by appending this character
to the end of the command line.
This command can send signals to multiple processes and uses advanced selection
criteria. - Answers - ps
fg
bg
&
pkill
____________________ is a feature of the shell which allows a single shell instance to
run and manage multiple commands. (There are two words in this answer) - Answers -
Job control
The ____________________ command displays all processes, with columns in which
users will be interested, and includes processes without a controlling terminal. It is an
old Unix command that is still popular today. Your answer is case sensitive and must
only include the command and the option(s). - Answers - ps aux
Write the command root would use to disable the cupsd service; spelling, case, and
syntax count: - Answers - systemctl disable cupsd.service
System startup and server processes in RHEL7 are managed by ________________.
This program provides a method for activating system resources, server daemons, and
other processes, both at boot time and on a running system. - Answers - systemd
System and Service Manager
, What tcp port does ssh use by default? - Answers - 22
Match the common process state on the left with the correct definition of the process
state on the right:
Question
Running (R)
Sleeping (S)
Sleeping (D)
Stopped (T)
Zombie (Z) - Answers - TASK_RUNNING: The process is either executing on a CPU or
waiting to run
TASK_INTERRUPTIBLE: The process is waiting for some condition
TASK_UNINTERRUPTIBLE: This process is also called Sleeping
TASK_STOPPED: The process has been Stopped
EXIT_ZOMBIE: A child process signals its parent as it exits
True or False: A process includes of one or more execution threads of program code. -
Answers - True
True or False: A process has properties including ownership credentials and read-only
privileges. - Answers - False
To stop, then start, the service in a single command means to _____________ the
service - Answers - restart
A daemon uses a ____________________ to listen for connections. - Answers - socket
_________________ are processes that wait or run in the background performing
various tasks. - Answers - Daemons
Write the command root would use to enable the sshd service; spelling, case, and
syntax count: - Answers - systemctl is-enabled sshd
What is the command to generate a public/private keypair for ssh? (spelling, case, and
syntax count) - Answers - ssh-keygen
Match the definition on the left with the correct term from Chapter 7 on the right:
Question
The command to see a list of the currently running background processes.
A background job can be brought to the foreground by using the this command with its
job ID (%job number).
To start a suspended process running in the background, use this command with the
same job ID.
Any command or pipeline can be started in the background by appending this character
to the end of the command line.
This command can send signals to multiple processes and uses advanced selection
criteria. - Answers - ps
fg
bg
&
pkill
____________________ is a feature of the shell which allows a single shell instance to
run and manage multiple commands. (There are two words in this answer) - Answers -
Job control
The ____________________ command displays all processes, with columns in which
users will be interested, and includes processes without a controlling terminal. It is an
old Unix command that is still popular today. Your answer is case sensitive and must
only include the command and the option(s). - Answers - ps aux
Write the command root would use to disable the cupsd service; spelling, case, and
syntax count: - Answers - systemctl disable cupsd.service
System startup and server processes in RHEL7 are managed by ________________.
This program provides a method for activating system resources, server daemons, and
other processes, both at boot time and on a running system. - Answers - systemd
System and Service Manager
, What tcp port does ssh use by default? - Answers - 22
Match the common process state on the left with the correct definition of the process
state on the right:
Question
Running (R)
Sleeping (S)
Sleeping (D)
Stopped (T)
Zombie (Z) - Answers - TASK_RUNNING: The process is either executing on a CPU or
waiting to run
TASK_INTERRUPTIBLE: The process is waiting for some condition
TASK_UNINTERRUPTIBLE: This process is also called Sleeping
TASK_STOPPED: The process has been Stopped
EXIT_ZOMBIE: A child process signals its parent as it exits
True or False: A process includes of one or more execution threads of program code. -
Answers - True
True or False: A process has properties including ownership credentials and read-only
privileges. - Answers - False
To stop, then start, the service in a single command means to _____________ the
service - Answers - restart
A daemon uses a ____________________ to listen for connections. - Answers - socket
_________________ are processes that wait or run in the background performing
various tasks. - Answers - Daemons
Write the command root would use to enable the sshd service; spelling, case, and
syntax count: - Answers - systemctl is-enabled sshd
What is the command to generate a public/private keypair for ssh? (spelling, case, and
syntax count) - Answers - ssh-keygen