Courseiva
easyMultiple ChoiceObjective-mapped

XK0-006 A server is experiencing high CPU load Practice Question

A server is experiencing high CPU load. The administrator needs to identify which process is consuming the most CPU resources in real time. Which command should be used?

⚠ Common exam trap

Many exam-takers choose `ps aux --sort=-%cpu` because it shows CPU-sorted output, but they overlook the requirement for real-time monitoring, which `top` uniquely provides through continuous updates.

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

top

The `top` command provides a real-time, dynamic view of running processes, including CPU usage, and updates continuously by default. It is the standard tool for identifying which process is currently consuming the most CPU resources on a Linux system.

Answer analysis

Option-by-option breakdown

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

  • w

    Why it's wrong here

    w shows user activity, not per-process CPU.

  • vmstat

    Why it's wrong here

    vmstat reports overall system statistics, not per-process.

  • uptime

    Why it's wrong here

    uptime shows load averages, not per-process CPU.

  • ps aux --sort=-%cpu

    Why it's wrong here

    ps aux shows a static snapshot, not real-time.

  • top

    Why this is correct

    top provides real-time process CPU usage.

About these practice questions

One of 979 original XK0-006 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.