Courseiva
System ManagementhardMultiple SelectObjective-mapped

XK0-006 System Management Practice Question

An administrator suspects that a malicious process is running and wants to list all processes, including those without a controlling terminal, and see their full command line. Which two commands can provide this information? (Select TWO.)

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

ps aux

ps aux shows all users, all processes, including those without tty, and includes the full command line. ps -ef also shows full listing with command line.

Answer analysis

Option-by-option breakdown

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

  • lsof

    Why it's wrong here

    Lists open files, not processes.

  • ps -eo pid,cmd

    Why it's wrong here

    Shows only specified columns, not necessarily all processes without tty.

  • ps aux

    Why this is correct

    Shows all processes with full command line.

  • ps -ef

    Why this is correct

    Shows all processes with full command line.

  • top -b -n 1

    Why it's wrong here

    Batch mode of top, but doesn't show processes without tty by default.

About these practice questions

This XK0-006 question is part of Courseiva's 979-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.