easyMultiple ChoiceObjective-mapped
XK0-006 Practice Question: A technician has just performed system…
A technician has just performed system maintenance and wants to verify that the server has been running continuously for the past 30 days. Which command should the technician use?
⚠ Common exam trap
The trap here is that candidates might confuse `uptime` with commands that show service status (`systemctl`) or process lists (`ps`), thinking they can infer system uptime indirectly, but only `uptime` provides the exact boot-to-present duration.
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
✓
uptime
The `uptime` command displays how long the system has been running since the last boot, including the current time, number of logged-in users, and load averages. By checking the output, the technician can verify if the server has been running continuously for the past 30 days (e.g., 'up 30 days'). This directly answers the question without querying logs or processes.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
uptime
Why this is correct
Displays the system uptime and load averages.
- ✗
systemctl status rsyslog
Why it's wrong here
Shows the logging service status, not system uptime.
- ✗
ps aux
Why it's wrong here
Lists running processes, not system uptime.
- ✗
date
Why it's wrong here
Shows the current date and time, not uptime.
Go deeper
Related to this question
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 →
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.