Session Review

Session ID: 130
Mode:
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: Unanswered

Back to Session

Question 1 (103.5-008 / multiple_choice)

Which command looks up a process ID by process name?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson command list defines pgrep as looking up a process ID based on name [1].

Question 2 (103.6-007 / multiple_choice)

Which command changes the nice value of an already running process?

Status: Unanswered

Your Answer:

Options:

Explanation:
The renice command is used to change the priority of a running process [1].

Question 3 (103.5-009 / multiple_choice)

Which command sends a signal to processes by name?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson explains that pkill kills a process based on its name [1].

Question 4 (103.5-019 / multiple_choice)

What does the process state Z mean in ps or top output?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson defines Z as a zombie, a terminated child process whose data structures have not yet been removed from the process table [1].

Question 5 (103.5-020 / short_answer)

Which command kills a process named sleep using its process name rather than its PID?

Status: Unanswered

Your Answer:

Accepted Answer(s):
pkill sleep

Explanation:
The lesson gives pkill sleep as the example of killing a process based on its name [1].

Question 6 (103.5-007 / multiple_choice)

Which command provides a static snapshot of current processes?

Status: Unanswered

Your Answer:

Options:

Explanation:
The summary explains that ps reveals output statically, unlike top [1].

Question 7 (103.5-010 / multiple_choice)

Which command can terminate multiple instances of the same process by name?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson states that killall can be used to kill multiple instances of the same process [1].

Question 8 (103.5-006 / multiple_choice)

Which command shows a dynamic, continuously updating view of running processes?

Status: Unanswered

Your Answer:

Options:

Explanation:
The summary states that top displays output dynamically and keeps updating constantly [1].

Question 9 (103.5-021 / short_answer)

Which command kills all running sleep processes by name?

Status: Unanswered

Your Answer:

Accepted Answer(s):
killall sleep

Explanation:
The lesson gives killall sleep as the example for killing multiple instances of a process [1].

Question 10 (103.6-006 / multiple_choice)

Which command starts a program with a modified nice value?

Status: Unanswered

Your Answer:

Options:

Explanation:
It is possible to start a process with a non-standard priority using the nice command [1].