XK0-005 · Question #1670
XK0-005 Question #1670: Real Exam Question with Answer & Explanation
The correct answer is C: netstat. {"question_number": 6, "correct_answer": "C", "explanation": "netstat (network statistics) displays active network connections, listening ports, and associated processes. Running netstat -tlnp shows TCP ports in a listening state, allowing the administrator to confirm whether SSH
Question
A Linux administrator is troubleshooting an SSHD issue on a server. Users are receiving error messages stating the connection is refused. Which of the following commands should be used to verify whether the service is listening?
Options
- Anslookup
- Broute
- Cnetstat
- Difconfig
Explanation
{"question_number": 6, "correct_answer": "C", "explanation": "netstat (network statistics) displays active network connections, listening ports, and associated processes. Running netstat -tlnp shows TCP ports in a listening state, allowing the administrator to confirm whether SSHD is bound to port 22. If port 22 is absent from the output, the service is not listening. nslookup resolves DNS names and is unrelated to service port status. route displays the kernel routing table. ifconfig shows network interface addresses - neither checks whether a service is listening on a port.", "generated_by": "claude-sonnet", "llm_judge_score": 5}
Topics
Community Discussion
No community discussion yet for this question.