IST 191 EXAM 2 (CH 5-8) QUESTIONS AND VERIFIED
ANSWERS
Regular unprivileged users are allowed to set____nice levels on their existing
processes. - Answers - raise
You have started multiple sha1sum commands. Instead of piping the output to grep you
use the _____command with the ps command to return the process information for all
sha1sum commands. - Answers - pgrep
the ps command can display nice levels for processes by specifying the __ keywork -
Answers - nice
The scheduling policy used for most processes running on a regular system is called
______. - Answers - SCHED_OTHER
Once you are done observing the process information for the multiple sha1sum
commands you can stop them all with the _____ command. - Answers - pkill
The priority is calterm-8led the nice value of a process, and there are exactly _____
different levels of niceness a process can have. - Answers - 40
The root user is the only user allowed to ser negative nice levels and lower the nice
level on existing processes. - Answers - true
The top command can be used to interactively view (and manage) processes. -
Answers - true
To start a process with a different nice level, both users and system administrators can
run their commands using the nice tool. Which of the following will start the command
myscript with a nice level of 5. - Answers - nice -n 5 myscript
Raising a nice level gives a user process a ________Priority. - Answers - lower
The top command can also be used to (interactively) change the nice level on a
process. From within top, press r, followed by the PID to be changed and the new nice
level. - Answers - true
A regular user can run renice -5 myscript to ser the nice value to -5. - Answers - False
The top command can also be used to - Answers -
, whenever a process is started, it will normally inherit the nice level from its parent. -
Answers - true
The range of nice levels is form________. - Answers - -20 to 19
Regular users can renice processes belonging to other users. - Answers - False
A _______ is a name that is used by the SELinux policy to determine whether a process
can access a file, directory, or port. - Answers - context
The standard user/group/other permission security model is known as ______. -
Answers - discretionary access control
The _____SELinux policy which is the default policy enabled in red hat Enterprise Linux
bases its rules on the third context the type context. - Answers - targeted
SELinux is a set of security rules that determine which process can access which files
directories and ports. Every file, process, directory and port has a special security label
called a - Answers - SELinux context
which command that changes SELinux context requires the -t option and the context as
an arguement. - Answers - chcon
SELinux has three modes in enforcing mode SELinux - Answers - True
Which SELinux mode - Answers - disable
SELinux provides an additional layer of security that - Answers - Mandatory Access
Control
When troubleshooting SELinux issues where anonymous ftp users cannot upload a file
would change ethe clause of the ftpd_anon_write boolean to allow anonymous ftp
uploads - Answers - True
Which package when installed - Answers - policycoreutils-python
A system reboot is re - Answers - True
The most common SELinux issue is an incorrect file context. - Answers - True
The ________ command is used to display SELinux booleans and their current value.
the -a option causes this command to list all of the booleans. - Answers - getsbool
Type SELinux - Answers - t
ANSWERS
Regular unprivileged users are allowed to set____nice levels on their existing
processes. - Answers - raise
You have started multiple sha1sum commands. Instead of piping the output to grep you
use the _____command with the ps command to return the process information for all
sha1sum commands. - Answers - pgrep
the ps command can display nice levels for processes by specifying the __ keywork -
Answers - nice
The scheduling policy used for most processes running on a regular system is called
______. - Answers - SCHED_OTHER
Once you are done observing the process information for the multiple sha1sum
commands you can stop them all with the _____ command. - Answers - pkill
The priority is calterm-8led the nice value of a process, and there are exactly _____
different levels of niceness a process can have. - Answers - 40
The root user is the only user allowed to ser negative nice levels and lower the nice
level on existing processes. - Answers - true
The top command can be used to interactively view (and manage) processes. -
Answers - true
To start a process with a different nice level, both users and system administrators can
run their commands using the nice tool. Which of the following will start the command
myscript with a nice level of 5. - Answers - nice -n 5 myscript
Raising a nice level gives a user process a ________Priority. - Answers - lower
The top command can also be used to (interactively) change the nice level on a
process. From within top, press r, followed by the PID to be changed and the new nice
level. - Answers - true
A regular user can run renice -5 myscript to ser the nice value to -5. - Answers - False
The top command can also be used to - Answers -
, whenever a process is started, it will normally inherit the nice level from its parent. -
Answers - true
The range of nice levels is form________. - Answers - -20 to 19
Regular users can renice processes belonging to other users. - Answers - False
A _______ is a name that is used by the SELinux policy to determine whether a process
can access a file, directory, or port. - Answers - context
The standard user/group/other permission security model is known as ______. -
Answers - discretionary access control
The _____SELinux policy which is the default policy enabled in red hat Enterprise Linux
bases its rules on the third context the type context. - Answers - targeted
SELinux is a set of security rules that determine which process can access which files
directories and ports. Every file, process, directory and port has a special security label
called a - Answers - SELinux context
which command that changes SELinux context requires the -t option and the context as
an arguement. - Answers - chcon
SELinux has three modes in enforcing mode SELinux - Answers - True
Which SELinux mode - Answers - disable
SELinux provides an additional layer of security that - Answers - Mandatory Access
Control
When troubleshooting SELinux issues where anonymous ftp users cannot upload a file
would change ethe clause of the ftpd_anon_write boolean to allow anonymous ftp
uploads - Answers - True
Which package when installed - Answers - policycoreutils-python
A system reboot is re - Answers - True
The most common SELinux issue is an incorrect file context. - Answers - True
The ________ command is used to display SELinux booleans and their current value.
the -a option causes this command to list all of the booleans. - Answers - getsbool
Type SELinux - Answers - t