BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA PT0-003 Exam - Topic 3 Question 27 Discussion

Posted by Carey on Aug 01, 2025 at 11:29 AM

[Information Gathering and Vulnerability Scanning]

A penetration tester observes the following output from an Nmap command while attempting to troubleshoot connectivity to a Linux server:

Starting Nmap 7.91 ( https://nmap.org ) at 2024-01-10 12:00 UTC

Nmap scan report for example.com (192.168.1.10)

Host is up (0.001s latency).

Not shown: 9999 closed ports

PORT STATE SERVICE

21/tcp open ftp

80/tcp open http

135/tcp open msrpc

139/tcp open netbios-ssn

443/tcp open https

2222/tcp open ssh

444/tcp open microsoft-ds

Nmap done: 1 IP address (1 host up) scanned in 0.23 seconds

Which of the following is the most likely reason for the connectivity issue?

Suggested Answer: A

The key detail in the Nmap scan output is that port 2222/tcp is open and running the SSH service. The standard SSH port is 22, so if the tester was attempting to connect on port 22, they would not succeed because SSH is instead listening on port 2222.

This is a common security hardening tactic---moving services to non-standard ports to reduce automated attacks.

There is no indication that the service is blocked (B), or requires certificates (C), or is inactive (D), because Nmap clearly shows the service is open and identified.

CompTIA PenTest+ Reference:

PT0-003 Objective 3.3: Analyze tool output or data related to engagement activities.

Nmap usage and interpreting scan results is emphasized in multiple sections.


Get Premium PT0-003 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
26 comments · newest first
QU
Quentin 11 months ago
Certificate authentication? That seems unlikely here.
MA
Marguerita 11 months ago
Definitely could be a firewall issue.
CE
Celestina 11 months ago
Looks like SSH is on port 2222.
SL
Slyvia 12 months ago
Wait, are you sure the service is even running?
LO
Louis 12 months ago
I think the firewall is blocking it.
SA
Samira 1 year ago
The output shows the SSH service on port 2222, so I doubt it's inactive. I lean towards the firewall being the issue here.
SH
Sharen 1 year ago
I'm a bit confused about the certificate authentication option. I don't recall if SSH typically requires that, but it could be a possibility.
WI
Willetta 1 year ago
I think the firewall might be blocking the SSH service since it's not listed in the open ports. That seems like a common issue we practiced.
WI
Willie 1 year ago
I remember that if a service is running on a different port, it could cause connectivity issues, but I'm not sure if that's the case here.
MI
Mitzie 1 year ago
Based on the information provided, the SSH service not being active seems like the most likely reason for the connectivity problem.
XO
Xochitl 1 year ago
I'm not sure about the certificate authentication requirement. I'll need to research that a bit more before deciding on the answer.
CL
Clorinda 1 year ago
The SSH service could be blocked by a firewall. That's the most likely explanation for the connectivity issue.
JA
Jani 1 year ago
The SSH port is open, but maybe it's running on a different port than the standard 22. I should check that first.
JE
Jesusita 1 year ago
Hmm, this looks like a tricky one. I'll need to carefully analyze the Nmap output to figure out what's going on with the SSH service.
JA
Jade 1 year ago
Ha, D all the way! The SSH service is not active. Typical Linux admin, forgetting to start the service. Classic!
BO
Bobbye 1 year ago
Hmm, C seems more likely. The SSH service requires certificate authentication. Gotta love those extra security layers.
CH
Chau 1 year ago
↳ replying to Bobbye
A: A) The SSH service is running on a different port.
TR
Tracey 1 year ago
I agree with Emerson, that could be the reason for the connectivity issue.
EM
Emerson 1 year ago
I think the SSH service is running on a different port.
LE
Lelia 1 year ago
I'm going with B. The SSH service is blocked by a firewall. Looks like they have some tight security measures in place.
ME
Melissa 1 year ago
The SSH service is running on a different port, that's gotta be the issue. 2222, really? Whoever set up this server has some weird preferences.
TR
Tricia 1 year ago
↳ replying to Melissa
C: It's possible that the SSH service is not active on port 22. That would definitely cause a connectivity issue.
RO
Roslyn 1 year ago
↳ replying to Melissa
B: Maybe the firewall is blocking the SSH service on the default port. That could explain the problem.
MI
Milly 1 year ago
↳ replying to Melissa
B) The SSH service is blocked by a firewall.
DE
Devora 1 year ago
↳ replying to Melissa
A) The SSH service is running on a different port.
DO
Dorothy 1 year ago
↳ replying to Melissa
A: Yeah, it's strange to have SSH running on port 2222. That could definitely be causing the connectivity issue.
0/2000 characters

Save Cancel