Nmap Final Quiz
Test your foundational Nmap knowledge with 10 untimed multiple-choice questions covering discovery, ports, scan types, detection, output, and safe authorization.
Nmap Final Quiz
This final assessment contains 10 multiple-choice questions about Nmap network discovery, port scanning, service and operating system detection, output interpretation, performance, and safe scanning practices.
Instructions
- The quiz is untimed. Work at your own pace.
- Choose the best answer for each question.
- When the platform supports saved progress, you may leave and return before completing the quiz.
- Select Start quiz to begin. After submission, review your answers, see your score, and read the feedback for each question.
Start quiz: Select the platform's start action below or above this assessment.
Quick Reference
Nmap, short for Network Mapper, examines authorized targets such as hostnames, IP addresses, address ranges, and target lists. A basic command follows this pattern:
nmap TARGETExamples include:
nmap 192.0.2.10
nmap 192.0.2.0/24
nmap -p 22,80,443 192.0.2.10
nmap -sV 192.0.2.10
nmap -O 192.0.2.10
nmap --script default 192.0.2.10
nmap -oN scan-results.txt 192.0.2.10A target is the host, hostname, IP address, range, subnet, or target list supplied for scanning. An option such as -sS changes how Nmap scans; it is not itself a target.
Nmap Port States
| State | Meaning | Typical Interpretation |
|---|---|---|
| open | An application is accepting connections or packets on the scanned protocol. | A service may be listening on the port. |
| closed | The host is reachable, but no service is listening on that port. | The port responded as closed rather than being blocked. |
| filtered | Filtering prevents Nmap from determining whether the port is open. | A firewall or packet filter may be dropping or interfering with probes. |
| unfiltered | The port is reachable, but Nmap cannot determine whether it is open or closed. | The probe reached the host, but the response does not settle the state. |
| open|filtered | Nmap cannot distinguish between an open port and a filtered port. | Common when an open or filtered port gives no useful response. |
| closed|filtered | Nmap cannot distinguish between a closed port and a filtered port. | The available response is insufficient to decide between those states. |
Common Nmap Scan and Detection Options
| Option | Name or Function | Appropriate Use | Cautions |
|---|---|---|---|
-sS | TCP SYN scan | Evaluate TCP ports using SYN, SYN-ACK, and RST behavior without completing a normal connection. | Requires suitable privileges on many systems and must be authorized. |
-sT | TCP connect scan | Use the operating system's full TCP connection mechanism. | May create completed connections and can be more visible to services. |
-sU | UDP scan | Assess UDP ports and services. | Often slower and less conclusive because UDP services may not respond. |
-sV | Service and version detection | Probe discovered services for product and version information. | Results may be incomplete when banners are hidden, filtered, encrypted, or customized. |
-O | Operating system detection | Estimate the target's operating system from response characteristics. | The result is probabilistic and depends on usable response data. |
-p | Port selection | Limit scanning to explicitly approved ports, such as -p 22,80,443. | Do not assume unlisted ports were checked. |
-Pn | Disable host discovery | Scan targets even when discovery probes are blocked, when this is within scope. | It does not prove that a host is online and may generate unnecessary traffic. |
--script | Nmap Scripting Engine, or NSE | Run selected scripts for discovery, enumeration, or authorized vulnerability-related checks. | Read script documentation and select scripts carefully before use. |
-oN | Normal-format output | Save readable results for reporting and later comparison. | Protect saved reports because they may contain sensitive inventory information. |
-oX | XML output | Save structured results for tools and repeatable processing. | Validate handling and storage of the generated data. |
Quiz Questions
What is Nmap primarily used for?
- A. Editing video files
- B. Network discovery and security auditing
- C. Encrypting every file on a computer
- D. Replacing a network switch's firmware
Before scanning a company network, what should a learner do first?
- Start with the fastest timing option
- Scan all public addresses to find the real scope
- Obtain permission and confirm the defined target scope and rules of engagement
- Disable all firewalls on the network
Which command uses a valid basic target form for one authorized host?
nmap -sSnmap 192.0.2.10nmap -oNnmap -sV -O
What is the main purpose of host discovery?
- To determine whether targets appear online or reachable before port scanning
- To guarantee that every port on a host is open
- To identify the exact operating system without sending probes
- To save scan output in XML format
An Nmap result shows
22/tcp open ssh. What doesopenmost directly indicate?- The host is unreachable
- A service may be listening and accepting connections on TCP port 22
- A firewall definitely blocked the probe
- UDP is being used instead of TCP
Which statement correctly compares common scan types?
-sSis a TCP SYN scan,-sTuses a full TCP connect, and-sUassesses UDP ports-sSperforms OS detection,-sTsaves text output, and-sUscans only hostnames-sSand-sTare UDP scans, while-sUis a TCP scan- All three options perform exactly the same scan
Which command attempts to identify service products and version information?
nmap -p 22,80,443 192.0.2.10nmap -sV 192.0.2.10nmap -Pn 192.0.2.10nmap -oX results.xml 192.0.2.10
What should you conclude from the command
nmap -O 192.0.2.10if it reports an operating system guess?- The result is a guaranteed identification
- The result is a probabilistic estimate that can be affected by filtering and limited responses
- The command detected only UDP services
- The command disabled host discovery
What is the Nmap Scripting Engine used for?
- Running selected scripts that can support discovery, enumeration, and authorized vulnerability-related checks
- Changing the target's operating system
- Automatically granting permission to scan any network
- Converting every scan into a TCP connect scan
A scan shows many ports as filtered and the timing summary indicates a long scan. Which interpretation is most accurate?
- Every filtered port is definitely open, and a long scan proves the services are vulnerable
- Filtering may be interfering with probes, while packet loss, rate limiting, retries, and conservative timing can affect completeness and duration
- The target must be using UDP exclusively
- Scan timing has no effect on network load, accuracy, or detectability
Review and Feedback
Submit all 10 answers using the platform's submission action. The results page should show your score, identify correct and incorrect responses, and provide answer-review feedback. When interpreting results, remember that a host reported as up appears reachable to the discovery method used, while a host reported as down may be offline, incorrectly addressed, unreachable, or blocking discovery probes.
Filtered results are inconclusive about whether a port is open. UDP scans commonly take longer because UDP is connectionless and open or filtered ports may provide no response. Service and version detection can also be incomplete when a service hides banners, uses encryption or a proxy, or is affected by filtering.
Output and Reporting Reminder
A basic Nmap results table commonly contains a port, protocol, state, and service. The output also identifies the scanned host and usually includes a timing summary. Save results when permitted so that you can document findings and compare scans over time:
nmap -oN scan-results.txt 192.0.2.10
nmap -oX scan-results.xml 192.0.2.10Use conservative scan behavior in production environments. Scan speed, parallelism, timeouts, and retries affect network load, accuracy, and detectability. Firewalls, packet loss, rate limiting, unavailable hosts, and routing problems can make results incomplete or misleading.
Quiz Blueprint
| Question Number | Concept Assessed | Question Type | Correct-Answer Rationale |
|---|---|---|---|
| 1 | Nmap purpose | Definition | Recognize Nmap as a network discovery and security auditing tool. |
| 2 | Authorization and scope | Scenario | Permission, defined targets, and rules of engagement are required before scanning. |
| 3 | Targets and syntax | Command recognition | A hostname, IP address, CIDR range, or target list follows nmap; options are separate. |
| 4 | Host discovery | Purpose | Discovery determines whether targets appear reachable before port scanning; -Pn disables it when appropriately scoped. |
| 5 | Port states | Output interpretation | An open port indicates that an application may be accepting traffic on that protocol. |
| 6 | TCP and UDP scan types | Comparison | -sS, -sT, and -sU represent different scanning mechanisms and protocols. |
| 7 | Service and version detection | Option recognition | -sV attempts to identify services and product versions. |
| 8 | OS detection | Interpretation | -O produces a fingerprint-based estimate, not a guarantee. |
| 9 | NSE | Feature recognition | --script invokes selected Nmap scripts, which must be reviewed and authorized. |
| 10 | Output, timing, and reliability | Troubleshooting scenario | Filtering, packet loss, rate limiting, unavailable hosts, and timing choices affect duration and confidence. |
Continue Reviewing
Use this assessment alongside other foundational practice, such as the Splunk Final Quiz for security monitoring concepts or the CCENT Quiz 6 for networking fundamentals.