XK0-006 Troubleshooting Practice Question
A web server is not responding on port 443. Using tcpdump to capture traffic on the server, which filter would capture only HTTPS packets?
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
✓
tcpdump -i any tcp port 443
Port 443 is HTTPS. The filter 'port 443' captures traffic on that port.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
tcpdump -i any port https
Why it's wrong here
While 'https' may be resolved to 443, it's not guaranteed; using numeric port is safer.
- ✓
tcpdump -i any tcp port 443
Why this is correct
Correct filter: tcp port 443 captures TCP traffic on port 443.
- ✗
tcpdump -i any host 443
Why it's wrong here
host 443 is invalid; host uses IP addresses.
- ✗
tcpdump -i any udp port 443
Why it's wrong here
HTTPS uses TCP, not UDP.
Visual reference
Go deeper
Related to this question
About these practice questions
Courseiva writes every XK0-006 question from scratch — 979 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 →
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.