Courseiva
System Management →mediumMultiple Choice

XK0-006 System Management Practice Question

A user reports that a specific process is consuming too much CPU. The administrator needs to change the priority of the process to a lower value (nicer). Which command sequence is appropriate?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

renice +10 -p <PID>

renice changes the priority of an already running process by PID.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    nice -n -10 <PID>

    Why it's wrong here

    nice -n -10 raises priority, since negative niceness values grant more CPU, the opposite of the requested lower priority. It is tempting because nice is the correct tool; only the sign is wrong, and positive values such as nice -n 10 would lower priority.

  • ✗

    kill -15 <PID>

    Why it's wrong here

    kill -15 sends SIGTERM, terminating the process rather than altering its scheduling priority. It is tempting as the standard graceful-shutdown signal, and would be correct when the administrator needs to stop a process cleanly rather than renice it.

  • ✗

    chrt --idle <PID>

    Why it's wrong here

    chrt --idle assigns the SCHED_IDLE scheduling policy, which is a distinct scheduling class rather than a niceness adjustment. It is tempting when a process should only run when the CPU is otherwise idle, but the question asks to lower priority via nice.

  • ✓

    renice +10 -p <PID>

    Why this is correct

    renice adjusts the nice value of an already-running process, and +10 raises it, lowering scheduling priority so the process yields CPU to others. The -p flag targets the given PID, satisfying the requirement to make the busy process nicer.

About these practice questions

Courseiva writes every XK0-006 question from scratch — 781 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.