Nmap/ZenMap Switches Practice Test

Session length

1 / 20

Which Nmap option disables port scanning while still performing host discovery and prints only hosts that responded?

-sn

Disabling the port scan while still finding which hosts are alive relies on telling Nmap to perform only host discovery. The flag -sn does exactly this: it runs a host discovery phase and prints only the hosts that respond, with no port scanning attempted. Nmap uses probes like ICMP, ARP, or TCP ping to determine if a host is up, and those that reply are shown in the output.

The other options don’t fit this behavior. A list-style option would only enumerate targets without discovering live hosts. A TCP connect scan performs a port scan. An OS-detection option tries to infer the operating system and typically involves probing ports as part of the process. So the option that matches “disable port scanning but still perform host discovery and show only responding hosts” is the one for host discovery only.

-sL

-sT

-O

Next question

Find the option that is right for you!

All options are one-time payments.

$12.50

30 day premium pass

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
👑$30.00 $87.50 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $87.50 usd value for $30.00! You save $57.50!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$12.50 $18.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy