exam questions

Exam SK0-005 All Questions

View all questions & answers for the SK0-005 exam

Exam SK0-005 topic 1 question 211 discussion

Actual exam question from CompTIA's SK0-005
Question #: 211
Topic #: 1
[All SK0-005 Questions]

A senior administrator instructs a technician to run the following script on a Linux server:

for i in {1..65536}; do echo $i; telnet localhost $i; done

The script mostly returns the following message: Connection refused. However, there are several entries in the console display that look like this:

80

Connected to localhost -

443

Connected to localhost -

Which of the following actions should the technician perform NEXT?

  • A. Look for an unauthorized HTTP service on this server.
  • B. Look for a virus infection on this server.
  • C. Look for an unauthorized Telnet service on this server.
  • D. Look for an unauthorized port scanning service on this server.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ronn_Burgandy
7 months, 1 week ago
Selected Answer: A
Don’t overthink this question. Ports 80 and 443 are for HTTP and HTTPS. Checking for an http service would be the obvious FIRST choice. Even though it is a telnet connection the ports are the default for http. Telnet can also connect to any port if there is any service running does not have to be a specific Telnet service.
upvoted 4 times
...
SecNoob27639
7 months, 2 weeks ago
Selected Answer: C
Per a couple of LLM's/AI's it's C. Their reasoning makes sense as well. This is a telnet script. Ports 80 and 443 are HTTP and HTTPS, respectively. Because there was a telnet response on both, that indicates potential for issues. When asked to "defend their answer" so to speak, both LLM's returned similar answers, best summarized as: "While unauthorized HTTP services should certainly be investigated if suspected, the immediate concern in this context is to check for the presence of an unauthorized Telnet service given the nature of the script and the connections made."
upvoted 1 times
SecNoob27639
6 months, 3 weeks ago
I'm wrong, because the LLM's are wrong. And also stupid. Don't blindly trust them. Just because it was a telnet script doesn't mean anything. The responses were on HTTP and HTTPS ports. Go with Mr. Burgandy up there, and stay classy.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago