Browse all practice questions for the Nmap/ZenMap Switches Practice Test. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

Master Nmap/ZenMap Switches 2026 – Supercharge Your Network Ninja Skills! course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • Which option enables OS detection, version detection, script scanning, and traceroute in a single scan?
  • What is required to scan both UDP and TCP ports?
  • Which scan type scans UDP ports?
  • In the given material, which tool is described as a passive fingerprinting utility outside of Nmap?
  • What is a typical use case for Nmap XML output in security workflows?
  • Which option sets the source IP address used for outgoing packets in Nmap?
  • How does the -v option affect output, and what does -vv add?
  • How would you run a scan that outputs to multiple formats and to a file on disk using -oA with a specific base name?
  • Which utility sends ICMP packets to a host?
  • How do you invoke NSE scripts from the command line and run a category like http-*?
  • In the context of idle scans, which statement best describes how it achieves stealth?
  • Define the standard port-state terms open, closed, filtered, unfiltered, and open|filtered as reported by Nmap.
  • Which statement describes a risk associated with using -f fragmentation?
  • What is one risk or consideration of idle scans?
  • What is the purpose of -oG and how can you parse its output to extract open ports?
  • Which of the following correctly pairs an NSE script category with a typical use?
  • Which statement about idle (s0) scan is true?
  • Which port state indicates the port is being blocked or not reachable due to packet filtering, and probes do not reach the port?
  • What is the purpose of the -sA option and what does an ACK scan reveal about firewall behavior?
  • What does the version intensity option control in Nmap?
  • What are the scan types -sN, -sF, and -sX, and when might you use each?
  • Which option increases verbosity of the scan output?
  • What is the effect of the -n option in Nmap, and when would you disable DNS resolution?
  • In older versions of Nmap, which flag was used to disable host discovery?
  • How would you parse an Nmap XML output programmatically, and what is a typical use case?
  • Why is traceroute information useful in scan results?
  • Idle scan relies on which side-channel to infer port states?
  • In addition to network load, what is another reason to adjust --min-rate and --max-rate?
  • If you want to run only discovery NSE scripts, which flag would you use?
  • Which statement describes the effect of the -Pn option on Nmap scans?
  • DNS Scan aka List Scan: Which scan is used to list IPs for all listed subnets on the command line?
  • Which statement best describes the relationship between -A and OS detection (-O)?
  • Which statement best describes an intrusive NSE script?
  • What does the -O option do in Nmap?
  • Why is it important to obtain permission and verify policy compliance before running vulnerability scans?
  • The --open option shows which port states?
  • When would you use -Pn (no ping) and what is the trade-off?
  • How does -f fragmentation affect detection, and what risks does it carry?
  • Compare the scanning techniques -sN, -sF, and -sX in terms of the TCP flags they send and the typical OS behavior they exploit.
  • Which option would you use to perform a UDP scan?
  • How does a UDP scan (-sU) operate and why are UDP results often incomplete compared to TCP scans?
  • Which scan type performs a TCP three-way handshake?
  • Which scan type is referred to as Windows Scan?
  • Which timing template is labeled Insane (5) speed in Nmap?
  • Which elements does Nmap use for OS fingerprinting, and what data is typically reported?
  • How is -A different from explicitly enabling -O, -sV, and NSE, and what are the risks of using -A?
  • Which option enables UDP port scanning in Nmap, and what is a common drawback compared to TCP scanning?
  • Which flag controls output to XML, normal, etc?
  • Which flags are generally required to spoof a scan so the targets believe someone else is scanning?
  • Which option makes scans originate from spoofed IP addresses?
  • Which Nmap option disables port scanning while still performing host discovery and prints only hosts that responded?
  • What is the initial action of a UDP port scan?
  • If you want to scan only ports 22 and 3389, which -p syntax would you use?
  • The --traceroute feature provides information about what aspect of the network?
  • What does the -oA option do in an Nmap command?
  • If an NSE script times out, what happens to the script and the scan?
  • When would you use -sC versus -sV and -A, and what does the -A option enable?
  • What does the -f option do, and why would you fragment packets?
  • Which combination helps reproduce results across environments?
  • Which Nmap scan type checks which IP protocols are supported on the target by sending raw IP packets?
  • Which option performs a UDP Ping to ports 100 and 90?
  • What is the difference between -S (spoof source IP) and --source-port, and when would you use each?
  • What is a potential risk of OS detection requiring root privileges?
  • Which NSE script category would you specify to perform a broad vulnerability check?
  • When is it generally inadvisable to use the most aggressive timing template?
  • What does the -oA option do?
  • In UDP port scanning, what is the Filtered Response?
  • Which statement best describes UDP scanning relative to TCP scanning?
  • How does --version-intensity affect version detection (and when would you adjust it)?
  • Which timing template corresponds to the Sneaky (1) IDS evasion level?
  • Which option speeds up version scanning by using a lighter mode?
  • What is the purpose of the -e option and the -S/--source-address options, and when would you use them?
  • Idle Scan: Which scan uses a zombie host and relies on IPID behavior?
  • Which Nmap timing template corresponds to aggressive speed suitable for fast networks?
  • Which option allows you to adjust the version detection intensity with a specific parameter?
  • Which statement about running an aggressive scan with -A on a sensitive network is true?
  • How can you limit a scan's total time per host using --host-timeout, and why is this useful for large networks?
  • Null Scan: Which scan sends a packet with no flags set?
  • Which option excludes specific IPs or ranges from the scan?
  • How does the --script-timeout option influence NSE script execution, and what happens if a script times out?
  • Which scan type establishes a full three-way handshake (TCP Connect Scan)?
  • As of the described installation, how many NSE scripts are available?
  • How can you pass arguments to NSE scripts via --script-args, with an example?
  • Which syntax scans ports that are in the nmap-services list below a threshold?
  • Which flag is used to run Nmap Scripting Engine (NSE) scripts?
  • What is --data-length used for, and when would you apply it?
  • Which is the correct syntax to scan ports in a range from 1 to 20?
  • What does the -A option enable in Nmap?
  • Which syntax scans ports by protocol name such as http and ftp?
  • What is the effect of the -R option and when would you want to use it?
  • Which timing template corresponds to the Polite (2) setting that slows the scan to use less bandwidth and resources?
  • Which option slash scanning times by avoiding DNS resolution?
  • In Zenmap, what is a Profile and how does it relate to repeatable scans?
  • Which statement about the -sC option is true?
  • Which option writes scan results in XML Output format?
  • How does a SYN stealth scan (-sS) differ from a TCP connect scan (-sT) in terms of connection behavior and detectability?
  • Which statement best describes Idle scan (-sI) and its prerequisites/risks?
  • What is the purpose of the --script-args option when running NSE scripts?
  • Which flag would you use to perform operating system detection via TCP/IP fingerprinting?
  • What does the -A option do in Nmap and what are the risks of using it on sensitive networks?
  • Which option selects a lighter version scanning mode via an alias for a specific intensity?
  • Distinguish between safe and intrusive NSE scripts and give an example usage scenario for each.
  • Which option initiates a UDP scan?
  • How can you disable DNS resolution and why would you do this on large networks?
  • Which option disables host discovery, performing a port scan only?
  • Which statement about -oA is incorrect?
  • How would you invoke NSE scripts for a specific category, and how would you run the default safe scripts only?
  • What does the --ttl option influence in Nmap scanning?
  • Which option specifies a TCP Ping to ports 100 and 90?
  • How would you validate a vulnerability found by an NSE script in a controlled environment, and what precautions should you take?
  • What is an idle (s0) scan and how does -sI <zombie> work?
  • How can you increase NSE's depth of version detection for more aggressive probing, and what is the corresponding option?
  • Why might OS detection (-O) require elevated privileges, and what are the implications?
  • The -iL option expects what kind of input?
  • What does the -n option do in Nmap?
  • Which combination is commonly used to enable traceroute alongside broader discovery features?
  • How do you scan a specific port range in Nmap, for example ports 80, 443, and 1024-1050?
  • Can you combine -sS and -sU in a single Nmap command, and why would you do so?
  • Which timing template corresponds to Sneaky (1) IDS evasion?
  • Idle Scan uses which initial TCP flag?
  • Which of the following is a typical drawback of OS detection with -O?
  • Which timing template represents a parallel, normal-speed scan?
  • What does the -O switch do and what are its typical limitations?
  • What is the effect of --min-rate and --max-rate on scan throughput, and why would you adjust them?
  • How does IPv6 scanning interact with the -6 option and what should you be aware of when scanning IPv6 networks?
  • Which timing template corresponds to Paranoid (0) IDS evasion?
  • What is the purpose of the -D decoy option, and what are potential caveats?
  • Which option filters results to show only ports that are open (or possibly open)?
  • What is the purpose of the --badsum option and when would you use it?
  • Which timing template corresponds to the Paranoid (0) IDS evasion level?
  • What is the purpose of the -sV switch in Nmap, and what kind of data does it attempt to extract from open ports?
  • Which scan uses FIN, PSH, and URG flags for probing and is known as a Fin scan?
  • How are NSE script arguments passed and what is the general syntax for --script-args?
  • Which option allows you to specify NSE scripts by name or category on the Nmap command line?
  • Which option performs a TCP connect scan?
  • What is the meaning of a half-open SYN scan in practice?
  • Which scan type is used to determine whether a host is protected by some kind of filtering system and uses ACK packets?
  • How does the -D option implement decoy scans and what effect does that have on the target's logs?
  • Which option outputs results in the normal (default) format?
  • In UDP port scanning, what is the Open Response?
  • What is the primary difference between a SYN scan (-sS) and a TCP connect scan (-sT), and when would you choose one over the other?
  • Which port state is used only for the IP ID idle scan where Nmap can't determine if closed or filtered?
  • How do you feed Nmap with a list of targets using -iL, and what advantages does it provide?
  • TCP Xmas Tree Scan: Which scan sends the FIN, PSH, and URG flags to resemble a Christmas tree?
  • Which option makes requested scans use tiny fragmented IP packets, helping evasion?
  • Which option instructs Nmap version detection to consider all ports during detection?
  • What is the purpose of the -O option, and how does it complement -sV?
  • Which option would you use to perform service version detection on a target?
  • Which option yields a rapid scan of roughly the 100 most common ports, and how can you disable DNS resolution for speed?
  • What is the purpose of the -oA option in Nmap?
  • What is the effect of the --open flag, and how does it influence the output?
  • How can you balance speed and stealth by combining timing templates with rate limiting?
  • In Zenmap, what is a profile and how do you use it to reproduce scans?
  • How would you use Zenmap to compare two scans and identify differences in hosts or services?
  • Which option performs an ARP Ping?
  • Which statement about the -sV option is true?
  • Which flag would you use to perform a comprehensive scan including OS detection, script scanning, version detection, and traceroute?
  • Which statement correctly describes the relationship between -sV and --version-intensity 0 vs 9?
  • What does the --max-retries option do, and how does adjusting it affect scan reliability and duration?
  • Which switch instructs Nmap to examine the 100 most commonly used ports for speed?
  • What does the --reason option do and why would you enable it?
  • If an application is actively accepting TCP connections on a port, what is the likely port state?
  • What data does Nmap typically report after OS fingerprinting?
  • Which option performs a TCP SYN Ping to ports 100 and 90?
  • Which option enables operating system detection in Nmap?
  • Compared to idle scans, standard scans are described as
  • How can you specify both TCP and UDP ports in a single -p specification, and what would an example look like?
  • Which timing template corresponds to the default 'Parallel, normal speed scan' when no speed is assigned?
  • What determines the type of scan to perform?
  • How does --version-intensity affect version detection and when would you adjust it?
  • Which option differs from -sL by printing only hosts that responded to host discovery probes (no port scanning)?
  • If Nmap reports a host's port state as open, what does that imply, and how would you interpret closed and filtered states?
  • Which option enables remote OS detection using TCP/IP stack fingerprinting?
  • Which two flags were used in previous versions to indicate no host discovery?
  • Which statement about the -oA output is correct?
  • How can you reuse a saved scan profile in Zenmap to ensure reproducibility across environments?
  • Which Nmap scan type is used for a Ping Scan?
  • Which option enables operating system detection in an Nmap scan?
  • Which command demonstrates inspecting versions only on port 80 and 443?
  • Which option controls port scanning in Nmap?
  • Which input method lets you feed Nmap a list of IPs, subnets, and hostnames one per line?
  • To scan a single specified port, which Nmap option would you use?
  • Which scan type corresponds to the RPC Scan?
  • Slower scans are less detectable?
  • What outputs do -oN, -oX, -oG, and -oA produce, and how would you save all formats with a single base filename?
  • How do you run a scan to display only open ports within a subset of ports (e.g., 80 and 443) using --open?
  • What does the -T2 (Polite) timing template do?
  • Which tool is described as a passive fingerprinting tool not used in Nmap?
  • Which statement describes why a UDP scan can show open|filtered results?
  • How can you enumerate SMB shares using an NSE script, and what is the script name?
  • Why does using the -n option speed up Nmap scans?
  • Which switch enables version detection to determine the service running on a port?
  • What is the effect of --top-ports 100 in an Nmap scan?
  • What does the -sV option do in Nmap?
  • What is the purpose of the --top-ports option and how would you scan the top 50 ports?
  • Which option implements a traceroute to target hosts?
  • How can you identify which NSE scripts require elevated privileges or may be unsafe to run in production?
  • How would you limit version detection to a subset of ports?
  • Which option enables traceroute information in scan results?
  • What precautions should you take when validating an NSE script vulnerability in a controlled environment?
  • What does the -sU option specify in Nmap?
  • Which flag allows version detection to consider all ports during scanning?
  • Which option performs an ICMP Ping?
  • Which command line fragment correctly scans the top ports across a target list and saves the output in all formats?
  • Which statement about an ACK scan (-sA) is true?
  • How can you control the rate of packets sent with --min-rate and --max-rate, and why would you adjust it?
  • Which timing template would you select if you want relatively fast but moderate detection risk?
  • What is the meaning of Nmap's fingerprinting, and which options contribute to it (OS, service/version, NSE) and how do they complement each other?
  • What is the general effect of using a higher timing template on a scan?
  • Which port state means Nmap cannot determine whether a port is open or filtered, typically for UDP, IP protocol, FIN, NULL, and Xmas scans?
  • Which option allows Nmap to read targets from a file to scan?
  • How do you interpret NSE script results in the scan output and what should you do if scripts fail due to privileges?
  • Which command initiates a UDP scan and targets UDP port 123?
  • Which option writes scan results in Normal Output format?
  • Which statement best describes idle scans in Nmap?
  • Which port state indicates the port is accessible and responds to probes, but there is no application listening on it?
  • Which switch tells Nmap to scan all possible ports from 1 to 65535?
  • How can you ensure reproducible results across repeated runs by using Nmap's and Zenmap's features?
  • In older Nmap releases, what was the equivalent flag for performing a host discovery without port scanning (-sn)?
  • Which statement accurately describes the http-* category for NSE scripts?
  • Which port state means a port is accessible, but Nmap is unable to determine whether it is open or closed?
  • What is the practical use of grepable output (-oG) from a scan?
  • How can you run Nmap to scan the most common 100 ports across a list of hosts provided in a file, and save all outputs?
  • Which flag enables IPv6 scanning, and what is a correct example of its usage?
  • What is the -oG output format primarily used for?
  • To scan both TCP and UDP ports in a single -p specification, which option is valid?
  • Which option is used to scan UDP ports?
  • Which option enables a TCP ACK Ping to ports 100 and 90?
  • How do you specify a source port with -g or --source-port, and why might it be useful?
  • How would you run a script-based vulnerability check on a target using NSE's vuln category, and what considerations apply?
  • Which scan type is described as SYN/Stealth/Half Open Scan, with an initial SYN flag?
  • Which command line includes both a TCP connect scan and operating system detection?
  • Explain the timing templates -T0 to -T5 and the trade-offs between speed, stealth, and reliability.
  • What does the --traceroute option do and what information does it provide?
  • What does the -Pn option do, and when would you use it?
  • Explain the use of --min-hostgroup and --max-hostgroup and how they affect parallel host scanning.
  • How can you specify a custom network interface to use for scanning and which option achieves this?
  • Which timing template corresponds to the Polite (2) that slows down the scan to use less bandwidth and resources?
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy