CompTIA PenTest+ (PT0-003) — Question 202

A penetration tester needs to scan a remote infrastructure with Nmap. The tester issues the following command: nmap 10.10.1.0/24
Which of the following is the number of TCP ports that will be scanned?

Answer options

Correct answer: B

Explanation

The correct answer is B, 1,000, because Nmap by default scans the 1,000 most common TCP ports when no specific port range is provided. The other options do not represent the number of ports that Nmap scans by default, as 256 is too low, 1,024 is the total number of ports in a single octet, and 65,535 is the total number of possible TCP ports but not limited to the default scan conducted by Nmap.