CompTIA PenTest+ (PT0-003) Practice Questions

CompTIA PenTest+ exam preparation (exam series code PT0-003)

CompTIA PenTest+ (PT0-003) practice questions in English: 180 questions with explanations. The mock exam has 90 questions and 165 minutes.

CompTIA PenTest+ (PT0-003) free question 5 / 10 · Domain 3: Vulnerability Discovery and Analysis

A tester scans a client host from the internal network and sees TCP port 135 as open, and a scan from across the Internet at the same time shows it as filtered. How does the Nmap Reference Guide explain differences like this?

  1. Port states depend on the point from which a port is observed, and both results can be valid
  2. The Internet result is invalid and the internal result gives the true port state
  3. The host runs two different services on that port, one for each of the two networks
  4. A firewall that blocks the probes makes the port closed from the Internet side
Show the answer and explanation

Answer: A

Why this is correct
The Nmap Reference Guide section on port scanning basics says Nmap divides ports into six states: open, closed, filtered, unfiltered, open or filtered, and closed or filtered. It stresses that these states are not intrinsic properties of the port itself, but describe how Nmap sees them. Its example is the one in the scenario: a scan from the same network as the target may show port 135 over TCP as open, while a scan at the same time with the same options from across the Internet might show it as filtered. A filtered state means packet filtering is preventing the probes from reaching the port, so the two results describe two vantage points. Neither result is declared invalid.

Why the other options are wrong
"A firewall that blocks the probes makes the port closed from the Internet side" … The guide defines a closed port as accessible, responding to probes while no application listens. Filtered means packet filtering prevents the probes from reaching the port, so the firewall case is filtered and not closed.
"The host runs two different services on that port, one for each of the two networks" … The guide explains the difference by how Nmap sees the port from each network. It does not attribute the difference to a second service.
"The Internet result is invalid and the internal result gives the true port state" … The guide says the states are not intrinsic properties of the port, and its own example is a port shown as open from the same network and filtered from across the Internet. Neither view is declared invalid.

Key points
The guide says filters that simply drop probes without responding are far more common than ones that return an ICMP error, and that this forces Nmap to retry several times, which slows the scan dramatically.

Go to the CompTIA PenTest+ (PT0-003) practice app (10 free questions; purchase unlocks all questions)

See the full practice set