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 is the primary reason for closing unneeded ports on a server?
    a. To increase server speed
    b. To reduce the attack surface for threats
    c. To save storage space
    d. To improve display quality
    Answer: bliquidweb+2
  2. Which command is commonly used on Windows to check open ports?
    a. ifconfig
    b. netstat -ano
    c. ls -l
    d. ping
    Answer: bdev
  3. On a Linux server, which utility helps identify processes using specific ports?
    a. cat
    b. lsof
    c. nano
    d. ifconfig
    Answer: bdev
  4. What is the recommended default firewall policy for unused ports?
    a. Permit all
    b. Deny all and allow by exception
    c. Allow all
    d. Prompt user
    Answer: bcoalitioninc+1
  5. Closing unneeded ports helps prevent which type of attack?
    a. Brute-force attacks
    b. Port scanning and unauthorized access
    c. SQL injection
    d. Cross-site scripting
    Answer: breddit+2
  6. Which device is primarily responsible for blocking unneeded ports at the network perimeter?
    a. Switch
    b. Firewall
    c. Hub
    d. Router
    Answer: bcoalitioninc
  7. What is the effect of leaving unneeded ports open?
    a. Increases bandwidth
    b. Creates additional points of vulnerability
    c. Enhances encryption
    d. Speeds up data transfer
    Answer: bnetwrix+2
  8. What is a common method to close a port used by a running service?
    a. Update driver
    b. Disable or stop the service
    c. Format server
    d. Increase memory
    Answer: bcoalitioninc
  9. Which protocol uses port 22 by default?
    a. HTTP
    b. FTP
    c. SSH
    d. SMTP
    Answer: csanfoundry
  10. Which port should be closed to prevent unauthorized remote desktop access on Windows?
    a. 23
    b. 80
    c. 3389
    d. 21
    Answer: csanfoundry+1
  11. For maximum security, how should unused ports be handled in both network and host firewalls?
    a. Opened
    b. Set to ‘stealth mode’
    c. Blocked or dropped
    d. Allowed by default
    Answer: creddit+1
  12. What is the importance of auditing open ports regularly?
    a. To monitor CPU usage
    b. To ensure only necessary ports are open
    c. To check disk space
    d. To improve GUI performance
    Answer: bliquidweb+1
  13. Which scanning tool can identify open ports on a server?
    a. Nmap
    b. Excel
    c. WordPad
    d. Acrobat
    Answer: ayeahhub+2
  14. What risk arises from unmonitored open ports?
    a. Automatic patching
    b. Exploitation of vulnerabilities
    c. Data compression
    d. File fragmentation
    Answer: bnetwrix+1
  15. Which type of port state usually indicates it should be addressed for security?
    a. Closed
    b. Open
    c. Stealth
    d. Filtered
    Answer: ballinonemcq.blogspot+1
  16. What is “Defense in Depth” in the context of port security?
    a. Using one firewall
    b. Layering network and host-based firewalls
    c. Only scanning ports once a year
    d. Disabling all protocols
    Answer: bcoalitioninc
  17. What does UPNP do that may endanger port security?
    a. Encrypts data
    b. Automatically opens network ports
    c. Closes ports after use
    d. Blocks all traffic
    Answer: bcoalitioninc
  18. What port does HTTP traffic typically use?
    a. 23
    b. 443
    c. 80
    d. 21
    Answer: csanfoundry
  19. What should be done if a server application no longer needs a port?
    a. Increase port timeout
    b. Delete the port number
    c. Close the port and disable related service
    d. Assign it to email
    Answer: cdev+1
  20. Why should unnecessary ports be closed even if no service is actively listening?
    a. To stop accidental use by unauthorized parties
    b. For faster server boot
    c. To enhance color depth
    d. For operating system updates
    Answer: areddit
  21. What happens when a port is silently dropped by a firewall?
    a. Server shuts down
    b. Incoming packets are discarded without response
    c. Port remains open for monitoring
    d. Server restarts
    Answer: breddit
  22. Closing unneeded ports is part of which larger security strategy?
    a. Data warehousing
    b. Attack surface reduction
    c. Server virtualization
    d. High availability
    Answer: bliquidweb+2
  23. What is the default port for FTP control session?
    a. 21
    b. 80
    c. 8080
    d. 25
    Answer: asanfoundry
  24. Which of the following should always be done before applying firewall changes?
    a. Test backup restore
    b. Backup firewall configuration
    c. Reboot server
    d. Upgrade storage
    Answer: bcoalitioninc
  25. What is the port number used by SMTP?
    a. 443
    b. 22
    c. 80
    d. 25
    Answer: dsanfoundry
  26. If a firewall is not available, how else can ports be closed?
    a. Update BIOS
    b. Disable associated services
    c. Increase RAM
    d. Install printer drivers
    Answer: bcoalitioninc
  27. What does the acronym “DAPE” stand for in firewall configuration?
    a. Deny-All-Permit-By-Exception
    b. Data Access Protocol Endpoint
    c. Dynamic Application Port Entry
    d. Default Administrative Port Entry
    Answer: acoalitioninc
  28. Which best describes a firewall?
    a. Blocks physical intrusions
    b. Controls network access by filtering traffic by ports and protocols
    c. Increases power supply efficiency
    d. Repairs faulty cables
    Answer: bliquidweb+1
  29. How can accidental port exposure be minimized?
    a. Use default credentials
    b. Disable automatic port opening features like UPNP
    c. Use Wi-Fi only
    d. Set ports to auto-open on reboot
    Answer: bcoalitioninc
  30. What is the effect of closing ports on compliance standards?
    a. No effect
    b. Helps meet security requirements for standards such as PCI DSS
    c. Slows compliance process
    d. Prohibits reporting
    Answer: bnetwrix+1
  31. Why is it recommended to close ports not required by any service?
    a. To save money
    b. Reduces the risk of exploitation via unused services
    c. Makes UI user-friendly
    d. Increases server temperature
    Answer: bnetwrix+2
  32. What does a port scanner do?
    a. Closes all open ports
    b. Detects open network ports and services
    c. Increases RAM size
    d. Encrypts server files
    Answer: bvinsys+2
  33. Which port should be closed to block Telnet access?
    a. 22
    b. 23
    c. 80
    d. 443
    Answer: bsanfoundry
  34. What is the result of excessive open ports on a server?
    a. Improved audio quality
    b. Increased security vulnerabilities
    c. Higher disk speed
    d. Unused RAM
    Answer: bliquidweb+1
  35. What is the outcome of the default ‘Accept All’ firewall setting?
    a. Blocks all traffic
    b. Opens all ports to traffic
    c. Decrypts traffic
    d. Runs diagnostics automatically
    Answer: breddit+1
  36. What action should be taken after disabling unnecessary services?
    a. Test to confirm ports are closed
    b. Reset BIOS
    c. Increase disk quota
    d. Format network drive
    Answer: adev+1
  37. Which main firewall mode is recommended for strongest security?
    a. Allow all
    b. Deny all, allow by rule
    c. Alert only
    d. Passive
    Answer: breddit+1
  38. What can attackers do with an unnecessarily open port?
    a. Nothing, it is safe
    b. Attempt unauthorized access or further scans
    c. Speed up server boot
    d. Increase storage capacity
    Answer: bnetwrix+2
  39. For port management, what represents the “least privilege” principle?
    a. All ports open by default
    b. Only necessary ports open, all else closed
    c. Only high ports open
    d. Randomly choose ports
    Answer: bliquidweb+2
  40. What is one example of a network port that should be closed on public-facing servers unless necessary?
    a. 3306 (MySQL)
    b. 8080 (Alternate HTTP)
    c. 23 (Telnet)
    d. All of the above
    Answer: dsanfoundry+1
  41. Which port state means it is not listening for connections?
    a. Open
    b. Closed
    c. Filtered
    d. Active
    Answer: bstudocu+2
  42. Why monitor ports even after disabling the corresponding service?
    a. To ensure the port has not been re-enabled
    b. For entertainment
    c. To improve printer support
    d. To reduce warranty cost
    Answer: adev+1
  43. What command can check active network connections on Linux?
    a. grep port
    b. netstat -tuln
    c. clear -p
    d. readdir /ports
    Answer: bdev
  44. Which is a benefit of layered (network + host) firewall implementation?
    a. Redundant filtering for enhanced security
    b. Increase server load
    c. Decrease port speed
    d. Encrypt file systems
    Answer: acoalitioninc
  45. What is “port knocking” in security?
    a. A port closing method
    b. Authentication technique using sequences of port access attempts
    c. TCP handshake failure
    d. Port hardware reset method
    Answer: bliquidweb
  46. What is the primary purpose of port 443?
    a. File Transfer Protocol (FTP)
    b. Secure web traffic (HTTPS)
    c. Simple Mail Transfer Protocol (SMTP)
    d. Telnet
    Answer: bsanfoundry
  47. Which log should be checked to determine if a port-related change caused issues?
    a. Finance log
    b. Firewall/security/event log
    c. Printer log
    d. Audio log
    Answer: bliquidweb+1
  48. Which is a non-technical, organizational reason to close unused ports?
    a. Meet regulatory or audit requirements
    b. Increase server noise
    c. Reduce employee access
    d. Enable Wi-Fi coverage
    Answer: anetwrix+1
  49. What mitigation can reduce risks if a firewall rule is misconfigured and opens a port unintentionally?
    a. Layered security (host + network firewalls)
    b. Increase application logging
    c. Use wireless networks
    d. Turn off power supply
    Answer: areddit+1
  50. When closing a port, why test all server services afterward?
    a. Confirm only unnecessary services were affected
    b. Reduce network speed
    c. Check user passwords
    d. Increase swap memory
    Answer: adev+1

 

  1. https://www.liquidweb.com/blog/mastering-vps-port-management/
  2. https://help.coalitioninc.com/hc/en-us/articles/7770311581083-Closing-Unused-Network-Ports
  3. https://www.reddit.com/r/AskNetsec/comments/2ws8jf/why_is_it_important_to_keep_all_unnecessary_ports/
  4. https://dev.to/sylwiavargas/how-to-properly-close-a-port-2p36
  5. https://blog.netwrix.com/open-ports-vulnerability-list
  6. https://www.sanfoundry.com/cyber-security-questions-answers-experienced/
  7. https://www.yeahhub.com/40-cyber-security-mcq-answers-explanations/
  8. https://allinonemcq.blogspot.com/p/types-of-hacking-co6.html
  9. https://www.vinsys.com/blog/top-30-mcqs-ceh-exam-preparation
  10. https://www.studocu.com/in/document/rashtrasant-tukadoji-maharaj-nagpur-university/cyber-security/mcq-questions-on-cyber-security/4098601
  11. https://www.sanfoundry.com/1000-cyber-security-questions-answers/
  12. https://www.theknowledgeacademy.com/blog/cyber-security-mcq-and-answers/
  13. https://itexamanswers.net/11-6-4-module-quiz-switch-security-configuration-answers.html
  14. https://stackoverflow.com/questions/14001825/how-to-check-if-a-certain-port-is-open-and-unused
  15. https://www.scribd.com/document/703140655/Information-Assurance-Security-MCQ-Worksheet-for-Exit-Exam-2015
  16. https://www.all-about-security.de/identifying-secure-and-unsecured-ports-and-how-to-secure-them/
  17. https://www.yeahhub.com/certified-ethical-hacker-v10-multiple-choice-questions-answers-part-3/
  18. https://www.ionos.com/digitalguide/server/security/checking-open-ports/
  19. https://cowbell.insure/blog/port-security-2/
  20. https://stackoverflow.com/questions/767292/how-do-i-close-a-port-in-a-case-of-program-termination

Leave a Reply

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

error: Content is protected !!