Blog

MCQs

Disclaimer:

Educational Use Only:

The website links provided are to be used strictly for educational and knowledge-gaining purposes only.

No Misuse:

Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.

Respect for Websites and Businesses:

Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.

Acknowledge Value of Knowledge:

Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.

No Endorsement:

The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.

User Responsibility:

By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.


  1. What does Nmap stand for in networking?
    a. Network Mapping
    b. Network Mapper
    c. Neat Map
    d. Node Mapping
    Answer: b. Network Mappersanfoundry+2
  2. Who is the original creator of Nmap?
    a. Kevin Mitnick
    b. Fyodor (Gordon Lyon)
    c. Bruce Schneier
    d. Linus Torvalds
    Answer: b. Fyodor (Gordon Lyon)virtualcyberlabs
  3. What is the primary use of Nmap?
    a. Creating backups
    b. Virus removal
    c. Discovering hosts and services on a computer network
    d. Wireless signal boosting
    Answer: c. Discovering hosts and services on a computer networkstudocu+2
  4. Which scan is the default and most popular scan option in Nmap for scanning ports quickly and unobtrusively?
    a. TCP Connect
    b. SYN scan
    c. UDP scan
    d. FIN scan
    Answer: b. SYN scanstationx+2
  5. Which of the following does Nmap NOT check?
    a. Services different hosts are offering
    b. On what OS they are running
    c. What kind of firewall is in use
    d. What type of antivirus is in use
    Answer: d. What type of antivirus is in usesecurityscorecard+2
  6. Which of these commands is used for a TCP Connect scan in Nmap?
    a. nmap -sS
    b. nmap -sT
    c. nmap -sU
    d. nmap -sF
    Answer: b. nmap -sTwiz+1
  7. What is host discovery in the context of Nmap?
    a. Identifying open file systems
    b. Determining live hosts on a network
    c. Detecting viruses
    d. Mapping website directories
    Answer: b. Determining live hosts on a networkvirtualcyberlabs+1
  8. What does the Nmap command ‘nmap -sU’ perform?
    a. TCP Connect scan
    b. SYN scan
    c. UDP scan
    d. IP protocol scan
    Answer: c. UDP scanstationx+1
  9. What does OS fingerprinting in Nmap refer to?
    a. Scanning open files
    b. Identifying remote operating system type and version
    c. Mapping wireless networks
    d. Checking WiFi passwords
    Answer: b. Identifying remote operating system type and versionwiz+2
  10. Which feature of Nmap allows automation and custom vulnerability detection?
    a. NSE (Nmap Scripting Engine)
    b. Firewall analyzer
    c. OS updater
    d. Network sniffer
    Answer: a. NSE (Nmap Scripting Engine)securityscorecard+2
  11. What does the command ‘nmap -sV’ do?
    a. Ignores the firewall
    b. Detects service versions
    c. Finds routers
    d. Encrypts data
    Answer: b. Detects service versionsstationx+2
  12. Which of the following best describes a “FIN scan” in Nmap?
    a. Sends a SYN packet
    b. Sends a FIN packet to a target port
    c. Scans MAC addresses
    d. Encrypts the scan
    Answer: b. Sends a FIN packet to a target portwiz+1
  13. What is the function of the ‘nmap -O’ option?
    a. Output to a file
    b. OS detection
    c. Open all ports
    d. Only scan UDP
    Answer: b. OS detectionstationx+1
  14. Which graphical Nmap frontend is recommended for visualization?
    a. GNS3
    b. Zenmap
    c. Nping
    d. Wireshark
    Answer: b. Zenmapvirtualcyberlabs+1
  15. Which of the following techniques is used by Nmap for host discovery?
    a. ICMP echo request
    b. SYN/ACK scanning
    c. UDP “ping”
    d. All of the above
    Answer: d. All of the abovewiz
  16. What is the purpose of ‘nmap -p 80,443’?
    a. Scans all ports
    b. Scans only ports 80 and 443
    c. Disables port scanning
    d. Updates service versions
    Answer: b. Scans only ports 80 and 443stationx+1
  17. What scan type would you use with ‘nmap -sX’?
    a. Xmas scan
    b. Version scan
    c. OS scan
    d. Connect scan
    Answer: a. Xmas scanyeahhub+1
  18. Which Nmap option only shows open ports during a scan?
    a. -oG
    b. –top-ports
    c. –open
    d. -sP
    Answer: c. –openwiz+1
  19. Which command enables aggressive scanning, including OS and version detection, script scanning, and traceroute?
    a. nmap -A
    b. nmap -O
    c. nmap -sS
    d. nmap -sA
    Answer: a. nmap -Ainterviewbit+2
  20. How does Nmap detect the operating system of a remote host?
    a. Fingerprinting TCP/IP stack responses
    b. Username enumeration
    c. Firewall bypassing
    d. ARP poisoning
    Answer: a. Fingerprinting TCP/IP stack responsessecurityscorecard+2
  21. What is the default timing template in Nmap?
    a. -T0
    b. -T3
    c. -T5
    d. -T1
    Answer: b. -T3stationx
  22. Which of the following is NOT a Nmap scan type?
    a. XMAS scan
    b. SYN scan
    c. ARP scan
    d. Ping storm
    Answer: d. Ping stormvirtualcyberlabs+1
  23. What does the ‘nmap –script’ option allow?
    a. Script execution using NSE
    b. Port forwarding
    c. IP address spoofing
    d. Encrypting packets
    Answer: a. Script execution using NSEsecurityscorecard+1
  24. Why would an administrator use a stealth scan?
    a. To alert intrusion detection systems
    b. To scan without completing TCP handshakes
    c. To encrypt scan results
    d. To increase scan noise
    Answer: b. To scan without completing TCP handshakesvirtualcyberlabs+2
  25. What does the -Pn option do in Nmap?
    a. Enables ping
    b. Disables host discovery (“no ping”)
    c. Runs a NULL scan
    d. Starts NSE engine
    Answer: b. Disables host discovery (“no ping”)wiz+1
  26. Which protocol can Nmap scan, besides TCP?
    a. UDP
    b. SMTP
    c. FTP
    d. ARP
    Answer: a. UDPstationx+1
  27. What does the ‘-oN’ option specify?
    a. Output in normal format
    b. Only scan new hosts
    c. Output as network graph
    d. None of the above
    Answer: a. Output in normal formatwiz+1
  28. What is Nmap’s role in vulnerability management?
    a. Detecting vulnerabilities using scripts
    b. Listing all users
    c. Resetting passwords
    d. Encrypting payloads
    Answer: a. Detecting vulnerabilities using scriptssecurityscorecard+1
  29. What does ‘nmap -6’ command do?
    a. IPv4 scanning
    b. Scans using IPv6
    c. Six simultaneous scans
    d. Ignores ports 6
    Answer: b. Scans using IPv6stationx+1
  30. Which output format does ‘-oX’ provide?
    a. HTML
    b. XML
    c. CSV
    d. TXT
    Answer: b. XMLwiz+1
  31. What does the -v option do in Nmap?
    a. Increases verbosity
    b. Views only open ports
    c. Updates Nmap
    d. Views only vulnerabilities
    Answer: a. Increases verbositystationx+1
  32. What is a Null scan?
    a. All flags set
    b. No flags set
    c. FIN flag only
    d. Only SYN flag set
    Answer: b. No flags setvirtualcyberlabs+1
  33. What is the purpose of the Nmap Scripting Engine (NSE)?
    a. Automate tasks like vulnerability detection
    b. Enhance graphics
    c. Increase scan speed only
    d. Bypass firewalls
    Answer: a. Automate tasks like vulnerability detectionsecurityscorecard+2
  34. What does the ‘nmap -F’ command perform?
    a. Fast scan on fewer ports
    b. Full scan
    c. Firewall scan
    d. Fragmented scan
    Answer: a. Fast scan on fewer portsstationx
  35. Which is a valid reason for using port scanning in networking?
    a. Identifying open services for management
    b. Encrypting the network
    c. Download speeds measuring
    d. Patch deployment
    Answer: a. Identifying open services for managementsecurityscorecard+1
  36. Which scan can help avoid Intrusion Detection Systems (IDS)?
    a. NULL, FIN, and XMAS scans
    b. Connect scan
    c. Version scan
    d. Aggressive scan
    Answer: a. NULL, FIN, and XMAS scansvirtualcyberlabs+2
  37. Which command would you use for a ping scan only?
    a. nmap -sP
    b. nmap -sT
    c. nmap -sU
    d. nmap -sV
    Answer: a. nmap -sPstationx
  38. What option is used in Nmap for outputting results in grepable format?
    a. -oA
    b. -oG
    c. -oX
    d. -oN
    Answer: b. -oGwiz+1
  39. Which of the following Nmap command scans for the top 100 most common ports?
    a. nmap –top-ports 100
    b. nmap -F
    c. nmap -A
    d. nmap -sT
    Answer: a. nmap –top-ports 100wiz+1
  40. Which Nmap scan is useful for discovering firewall rules?
    a. ACK scan
    b. UDP scan
    c. Null scan
    d. Connect scan
    Answer: a. ACK scanstationx
  41. What does Nmap use to identify running services?
    a. Signature matching
    b. Port enumeration
    c. Time analysis
    d. OS fingerprinting
    Answer: a. Signature matchingsecurityscorecard+1
  42. Which version of Nmap introduced NSE (Nmap Scripting Engine)?
    a. 1.0
    b. 2.5
    c. 4.0
    d. 5.0
    Answer: c. 4.0securityscorecard+1
  43. Which of the following best describes a decoy scan?
    a. Uses fake source addresses
    b. Only scans UDP
    c. Password brute-force
    d. Disables reporting
    Answer: a. Uses fake source addresseswiz+1
  44. What does ‘nmap -A -T4’ command do?
    a. Aggressive scan with high speed
    b. Only fast scan
    c. Output in XML
    d. Top 4 ports scan
    Answer: a. Aggressive scan with high speedwiz+1
  45. Which flag does a SYN scan send to start the connection?
    a. SYN
    b. FIN
    c. ACK
    d. RST
    Answer: a. SYNyeahhub+1
  46. Which output format is best for parsing by other applications?
    a. -oX (XML)
    b. -oN (Normal)
    c. -oG (Grepable)
    d. -oA (All formats)
    Answer: a. -oX (XML)stationx+1
  47. Which scan technique attempts a complete three-way handshake with the target?
    a. SYN scan
    b. Connect scan
    c. FIN scan
    d. UDP scan
    Answer: b. Connect scanwiz+1
  48. Which of the following commands can show the Nmap version installed?
    a. nmap -V
    b. nmap -v
    c. nmap –add
    d. nmap –version
    Answer: d. nmap –versionstationx
  49. Which option sets a custom source port in Nmap?
    a. –source-port
    b. -sP
    c. -pS
    d. -sp
    Answer: a. –source-portstationx
  50. What is the main security concern when using aggressive scan settings?
    a. Scans can be easily detected
    b. Slower network performance
    c. Port enumeration errors
    d. Output only in XML
    Answer: a. Scans can be easily detectedvirtualcyberlabs+2

 

  1. https://www.sanfoundry.com/cyber-security-questions-answers-mcqs/
  2. https://virtualcyberlabs.com/exploring-nmap-the-ultimate-network-scanning/
  3. https://securityscorecard.com/blog/what-is-nmap-and-how-can-it-help-identify-network-vulnerabilities/
  4. https://www.studocu.com/in/quiz/lab-2-nmap-tool-nmap-tool/6383988
  5. https://www.stationx.net/nmap-cheat-sheet/
  6. https://www.wiz.io/academy/nmap-overview
  7. https://www.yeahhub.com/certified-ethical-hacker-v10-multiple-choice-questions-answers-part-3/
  8. https://www.interviewbit.com/nmap-cheat-sheet/
  9. https://www.flexmind.co/network-security-tool-nmap-quiz/
  10. https://www.janbasktraining.com/interview-questions/introduction-to-nmap/
  11. https://www.sanfoundry.com/computer-network-questions-answers/
  12. https://www.tutorialsfreak.com/nmap-tutorial/interview-questions
  13. https://labex.io/tutorials/nmap-nmap-interview-questions-and-answers-593694
  14. https://wayground.com/admin/quiz/6598f8c0a3798b4d4de2c0d5/nmap-scan-quiz
  15. https://reck.ac.in/wp-content/uploads/2023/04/DCN_MCQ-Ashwini-.pdf
  16. https://nmap.org
  17. https://www.brainscape.com/subjects/nmap
  18. https://www.uninets.com/blog/computer-networks-mcq
  19. https://www.geeksforgeeks.org/computer-networks/nmap-scans-for-cyber-security-and-penetration-testing/
  20. https://www.comolho.com/post/mastering-nmap-comprehensive-guide-to-network-scanning-commands-in-2025

Leave a Reply

Your email address will not be published. Required fields are marked *