Question 80
Before changing a Linux system, an engineer observes: An already running background process is delaying interactive work and needs a lower scheduling priority. Which check most directly isolates the relevant cause or prerequisite?
Explanation
Correct Answer
Check the PID, owner, and current NI value of the existing process. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use renice -n 10 -p PID with adequate privileges to adjust the running process.
Incorrect Answers
Check the service owner's privilege and confirm the desired new nice value is lower than 15. That would matter when a service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range. The relevant distinction in this case is: Check the PID, owner, and current NI value of the existing process.
Inspect the default nice value and confirm the process is appropriate for a reduced priority. That would matter when a CPU-heavy batch process must start with lower scheduling priority than normal interactive tasks. It does not address this case's requirement: An already running background process is delaying interactive work and needs a lower scheduling priority.
Inspect ps output fields and choose NI or nice rather than assuming lower PID means higher priority. That would matter when an administrator needs to compare two jobs' scheduling niceness without confusing it with process IDs. That separate mechanism does not verify the needed Linux administration outcome in this case.