CompTIA PenTest+ (PT0-001) — Question 15

A penetration tester observes that several high-numbered ports are listening on a public web server. However, the system owner says the application only uses port 443. Which of the following would be BEST to recommend?

Answer options

Correct answer: D

Explanation

The correct answer is D because disabling unneeded services reduces the attack surface and minimizes potential vulnerabilities. Options A and B do not address the security risk posed by the other listening ports, while option C, although beneficial, does not directly resolve the issue of unnecessary services running on the server.