CompTIA PenTest+ (PT0-002) — Question 4

A security engineer identified a new server on the network and wants to scan the host to determine if it is running an approved version of Linux and a patched version of Apache. Which of the following commands will accomplish this task?

Answer options

Correct answer: C

Explanation

The correct answer is C because the '-A' option enables OS detection and version detection, which is essential for confirming the Linux version and Apache patch status. Option A only provides service version information, while B lists hosts without scanning, and D enables OS detection but does not provide version detection in detail.