Courseiva
Linux Fundamentals →easyMultiple Choice

GSEC Linux Fundamentals Practice Question

A Linux administrator needs to identify which processes are currently consuming the most CPU resources. Which command provides an interactive, real-time view of system performance and process activity?

⚠ Common exam trap

Candidates often confuse 'top' with static text-viewing commands like 'cat' or process-listing commands like 'ps', forgetting that 'top' provides the continuous, interactive real-time updates required by the question prompt.

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 (or its modern alternative 'htop') is the primary utility for real-time monitoring of system resources, including CPU, memory, and running tasks. Understanding how to interpret and interact with these utilities is vital for identifying rogue processes or system bottlenecks that could indicate a malware infection or a resource-exhaustion attack, allowing administrators to terminate suspicious processes immediately using built-in command signals.

Answer analysis

Option-by-option breakdown

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

  • ✗

    ps aux

    Why it's wrong here

    The ps command provides a static snapshot of processes running at the exact moment the command is issued. It does not update automatically, so it is ineffective for identifying dynamic resource usage trends or watching a process's behavior over time during a security investigation.

  • ✓

    top

    Why this is correct

    The top command provides an interactive, live dashboard of system activity. It updates at regular intervals, showing the most resource-intensive processes. This allows administrators to sort by CPU usage, identify abnormal spikes, and manage processes, which is essential for diagnosing performance issues or detecting malicious background tasks.

  • ✗

    ls -l /proc

    Why it's wrong here

    The /proc directory contains virtual files representing system process information, but manually listing them with ls does not provide a usable summary or real-time performance metrics. This approach requires complex parsing to gather meaningful data and does not offer the interactive management features required for effective process monitoring.

  • ✗

    df -h

    Why it's wrong here

    The df command is used to report disk space usage on filesystems. While disk space is a critical resource, it is unrelated to CPU consumption or process management. Using this tool will not reveal information about active running tasks or resource-heavy processes causing system instability.

About these practice questions

Courseiva writes every GSEC question from scratch — 351 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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official GIAC exam blueprint

This GSEC practice question is part of Courseiva's free GIAC 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 GSEC exam.