Session Review

Session ID: 147
Mode: objective
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: Unanswered

Back to Session

Question 1 (103.6-012 / multiple_choice)

Which renice option targets a specific process by PID?

Status: Unanswered

Your Answer:

Options:

Explanation:
The option -p indicates the PID number of the target process for renice [1].

Question 2 (103.6-010 / multiple_choice)

Which user is allowed to decrease the niceness of a process below zero?

Status: Unanswered

Your Answer:

Options:

Explanation:
Only the root user can decrease the niceness of a process below zero [1].

Question 3 (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 4 (103.6-016 / multiple_choice)

In a preemptive multitasking system, what happens if a higher priority process becomes ready while a lower priority process is running?

Status: Unanswered

Your Answer:

Options:

Explanation:
The guided exercise answer states that the lower priority process pauses and the higher priority process is executed instead [1].

Question 5 (103.6-017 / multiple_choice)

Any real-time process has what relationship to a normal process in terms of scheduling priority?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson explicitly states that any real-time process has higher priority than a normal process [1].

Question 6 (103.6-024 / command_line)

Enter the command that starts tar czf home_backup.tar.gz /home with niceness 15.

Status: Unanswered

Your Answer:

Accepted Answer(s):
nice -n 15 tar czf home_backup.tar.gz /home

Explanation:
The lesson gives this exact example of starting a process with a non-standard niceness [1].

Question 7 (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].

Question 8 (103.6-011 / multiple_choice)

What is the probable cause of the error 'renice: failed to set priority ... Permission denied' when trying 'renice -10 21704'?

Status: Unanswered

Your Answer:

Options:

Explanation:
The answer to the exercise states that only root can decrease nice numbers below zero [1].

Question 9 (103.6-025 / command_line)

Enter the command that changes process 2164 to a nice value of -10.

Status: Unanswered

Your Answer:

Accepted Answer(s):
renice -10 -p 2164

Explanation:
The lesson shows the example renice -10 -p 2164 [1].

Question 10 (103.6-018 / short_answer)

What is the default nice value for a normal process?

Status: Unanswered

Your Answer:

Accepted Answer(s):
0

Explanation:
Every normal process begins with a default nice value of 0 [1].