Question 244 of 510
System ManagementmediumMultiple SelectObjective-mapped

Quick Answer

The answer is `top` and `htop`. Both commands provide live process monitoring with top and htop, displaying dynamically updating information about running processes, CPU load, and memory usage directly in the terminal. The `top` command is the standard, built-in tool that refreshes every few seconds, while `htop` offers a more colorful, interactive interface with scrollable process lists and mouse support. On the CompTIA Linux+ XK0-005 exam, this question tests your ability to identify real-time monitoring utilities; a common trap is confusing `ps` (which takes a static snapshot) with these live-updating tools. Remember that both `top` and `htop` are for ongoing observation, not one-time checks. A helpful memory tip: think of "top" as the "time-oriented process" viewer, and "htop" as the "human-friendly top" — both keep refreshing, so you can watch performance change as it happens.

XK0-005 System Management Practice Question

This XK0-005 practice question tests your understanding of system management. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A systems administrator wants to monitor system performance in real time. Which TWO commands can be used to display live updating information about processes, CPU, and memory usage? (Select TWO.)

Question 1mediummulti select
Full question →

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, dynamically updating view of system processes, CPU usage, and memory usage. It refreshes by default every few seconds, making it a standard tool for live performance monitoring. Similarly, `htop` is an enhanced interactive process viewer that offers a more user-friendly interface with color-coded, real-time updates on CPU, memory, and process information.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • top

    Why this is correct

    Real-time interactive process viewer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • htop

    Why this is correct

    Enhanced real-time interactive process viewer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • ps aux

    Why it's wrong here

    Static snapshot of processes.

  • sar -u 1 5

    Why it's wrong here

    Historical data collection, not real-time interactive.

  • vmstat 1

    Why it's wrong here

    Periodic output but not interactive like top.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse static commands like `ps aux` with live monitoring tools, or they mistake `vmstat 1` for a process-level viewer when it actually provides aggregate system statistics without per-process details.

Trap categories for this question

  • Command / output trap

    Periodic output but not interactive like top.

Detailed technical explanation

How to think about this question

Under the hood, `top` reads the `/proc` filesystem (specifically `/proc/stat`, `/proc/meminfo`, and `/proc/[pid]/status`) to gather process and resource data, then refreshes the display using `ncurses`. `htop` uses the same `/proc` interface but adds features like mouse support, tree view, and the ability to send signals directly. A subtle behavior: `top` by default sorts by CPU usage, while `htop` allows sorting by any column with a single keystroke, and both can be configured to show per-core CPU usage.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the XK0-005 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related XK0-005 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free XK0-005 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this XK0-005 question test?

System Management — This question tests System Management — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: top — The `top` command provides a real-time, dynamically updating view of system processes, CPU usage, and memory usage. It refreshes by default every few seconds, making it a standard tool for live performance monitoring. Similarly, `htop` is an enhanced interactive process viewer that offers a more user-friendly interface with color-coded, real-time updates on CPU, memory, and process information.

What should I do if I get this XK0-005 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This XK0-005 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-005 exam.