Question 764 of 1,000
System ManagementhardMultiple SelectObjective-mapped

XK0-005 System Management Practice Question

This XK0-005 practice question tests your understanding of system management. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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 system administrator is investigating a performance issue. Which THREE commands can be used to monitor running processes in real-time? (Select THREE).

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

zgrep

top, htop, and ps with repeated execution can monitor processes in real-time. However, ps by itself is a snapshot, but watch ps can provide real-time. Typically, top and htop are real-time, and ps is not. The question asks for commands that can be used to monitor in real-time. watch can be used with ps, but the option 'ps aux' alone is not real-time. I'll adjust: top, htop, and 'watch -n 1 ps aux' is not an option. I'll change the options to include top, htop, and 'ps -aux' might be considered if used with watch, but usually exam expects top/htop/atop. I'll make 'top', 'htop', and 'atop' as correct if available. But I have only 5 options. Let me design: A: top, B: htop, C: ps -ef, D: lsof, E: iostat. The correct ones are top and htop (real-time). ps is snapshot, lsof lists open files, iostat is I/O. To have three correct, I need to include something like 'watch ps' but not available. I can make 'atop' an option. I'll change the stem to 'Which THREE commands provide real-time process monitoring?' and include top, htop, and atop. But I don't have atop in the domain content. Alternatively, I can include 'pstree'? No. I'll keep it simple: top, htop, and 'ps -aux' is not real-time. Actually, the correct answer should be top, htop, and maybe 'vmstat'? But vmstat is system-wide. Let me reconsider: The domain includes 'top, htop'. So I'll make two correct and one incorrect? The question requires exactly three correct for multi_select with 'Which THREE'. I'll include 'top', 'htop', and 'ps -ef' as incorrect, but need three correct. I'll add 'atop' as a correct option, even though not in domain, it's a common tool. Alternatively, I can use 'pidstat'? Not in domain. To stay within domain, I'll use 'top', 'htop', and 'ps -aux' but explain that ps with watch is not an option. Since the question is hard, I can make 'ps -aux' correct if interpreted as part of 'ps aux' repeatedly. But typically exam expects top/htop for real-time. I'll change the options: A: top, B: htop, C: ps -aux, D: iostat, E: free. The correct are A and B only, but need three. So I need to add another real-time command: 'watch -n 1 ps -aux' is not an option. Perhaps 'pkill'? No. I'll change the stem to 'Which TWO commands' to avoid issue. But the breakdown requires 3 multi_select: 2 of them 'Which TWO' and 1 'Which THREE'. I already have a 'Which TWO' above. So this one must be 'Which THREE'. I'll make it 'Which THREE commands can be used to view system boot messages?' and include dmesg, journalctl -k, and cat /var/log/messages? That might work. But the domain includes journalctl. Let me create a new scenario. I'll change this question to something else. Let's do: 'A technician needs to display the contents of a compressed log file without decompressing it. Which THREE commands can be used? (Select THREE).' Options: zcat, zless, zgrep, cat, less. Correct: zcat, zless, zgrep. That works. So I'll replace the current question.

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.

  • zgrep

    Why this is correct

    zgrep searches within compressed files.

    Related concept

    Read the scenario before looking for a memorised answer.

  • cat

    Why it's wrong here

    cat cannot read compressed files directly.

  • zcat

    Why this is correct

    zcat displays compressed file contents.

    Related concept

    Read the scenario before looking for a memorised answer.

  • less

    Why it's wrong here

    less cannot read compressed files directly.

  • zless

    Why this is correct

    zless allows paging through compressed files.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Detailed technical explanation

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

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.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • 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 XK0-005 exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.

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: zgrep — top, htop, and ps with repeated execution can monitor processes in real-time. However, ps by itself is a snapshot, but watch ps can provide real-time. Typically, top and htop are real-time, and ps is not. The question asks for commands that can be used to monitor in real-time. watch can be used with ps, but the option 'ps aux' alone is not real-time. I'll adjust: top, htop, and 'watch -n 1 ps aux' is not an option. I'll change the options to include top, htop, and 'ps -aux' might be considered if used with watch, but usually exam expects top/htop/atop. I'll make 'top', 'htop', and 'atop' as correct if available. But I have only 5 options. Let me design: A: top, B: htop, C: ps -ef, D: lsof, E: iostat. The correct ones are top and htop (real-time). ps is snapshot, lsof lists open files, iostat is I/O. To have three correct, I need to include something like 'watch ps' but not available. I can make 'atop' an option. I'll change the stem to 'Which THREE commands provide real-time process monitoring?' and include top, htop, and atop. But I don't have atop in the domain content. Alternatively, I can include 'pstree'? No. I'll keep it simple: top, htop, and 'ps -aux' is not real-time. Actually, the correct answer should be top, htop, and maybe 'vmstat'? But vmstat is system-wide. Let me reconsider: The domain includes 'top, htop'. So I'll make two correct and one incorrect? The question requires exactly three correct for multi_select with 'Which THREE'. I'll include 'top', 'htop', and 'ps -ef' as incorrect, but need three correct. I'll add 'atop' as a correct option, even though not in domain, it's a common tool. Alternatively, I can use 'pidstat'? Not in domain. To stay within domain, I'll use 'top', 'htop', and 'ps -aux' but explain that ps with watch is not an option. Since the question is hard, I can make 'ps -aux' correct if interpreted as part of 'ps aux' repeatedly. But typically exam expects top/htop for real-time. I'll change the options: A: top, B: htop, C: ps -aux, D: iostat, E: free. The correct are A and B only, but need three. So I need to add another real-time command: 'watch -n 1 ps -aux' is not an option. Perhaps 'pkill'? No. I'll change the stem to 'Which TWO commands' to avoid issue. But the breakdown requires 3 multi_select: 2 of them 'Which TWO' and 1 'Which THREE'. I already have a 'Which TWO' above. So this one must be 'Which THREE'. I'll make it 'Which THREE commands can be used to view system boot messages?' and include dmesg, journalctl -k, and cat /var/log/messages? That might work. But the domain includes journalctl. Let me create a new scenario. I'll change this question to something else. Let's do: 'A technician needs to display the contents of a compressed log file without decompressing it. Which THREE commands can be used? (Select THREE).' Options: zcat, zless, zgrep, cat, less. Correct: zcat, zless, zgrep. That works. So I'll replace the current question.

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

Identify which XK0-005 exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.

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: Jul 4, 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.