XK0-006 Troubleshooting Practice Question
A user cannot access a website, but other websites work. The administrator wants to see the HTTP response headers from the web server. Which command is most appropriate?
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
✓
curl -I https://example.com
curl -I fetches the HTTP headers only, which is useful for debugging web server responses.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
wget --spider https://example.com
Why it's wrong here
wget --spider checks existence but does not show headers.
- ✓
curl -I https://example.com
Why this is correct
Correct: -I fetches only headers.
- ✗
curl -v https://example.com
Why it's wrong here
-v shows verbose output including headers, but -I is more focused.
- ✗
telnet example.com 80
Why it's wrong here
telnet is outdated and not as straightforward.
Go deeper
Related to this question
About these practice questions
One of 979 original XK0-006 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.