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.
- 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 - Which command is commonly used on Windows to check open ports?
a. ifconfig
b. netstat -ano
c. ls -l
d. ping
Answer: bdev - On a Linux server, which utility helps identify processes using specific ports?
a. cat
b. lsof
c. nano
d. ifconfig
Answer: bdev - 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 - 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 - Which device is primarily responsible for blocking unneeded ports at the network perimeter?
a. Switch
b. Firewall
c. Hub
d. Router
Answer: bcoalitioninc - 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 - 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 - Which protocol uses port 22 by default?
a. HTTP
b. FTP
c. SSH
d. SMTP
Answer: csanfoundry - Which port should be closed to prevent unauthorized remote desktop access on Windows?
a. 23
b. 80
c. 3389
d. 21
Answer: csanfoundry+1 - 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 - 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 - Which scanning tool can identify open ports on a server?
a. Nmap
b. Excel
c. WordPad
d. Acrobat
Answer: ayeahhub+2 - What risk arises from unmonitored open ports?
a. Automatic patching
b. Exploitation of vulnerabilities
c. Data compression
d. File fragmentation
Answer: bnetwrix+1 - 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 - 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 - 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 - What port does HTTP traffic typically use?
a. 23
b. 443
c. 80
d. 21
Answer: csanfoundry - 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 - 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 - 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 - 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 - What is the default port for FTP control session?
a. 21
b. 80
c. 8080
d. 25
Answer: asanfoundry - 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 - What is the port number used by SMTP?
a. 443
b. 22
c. 80
d. 25
Answer: dsanfoundry - 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 - 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 - 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 - 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 - 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 - 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 - 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 - Which port should be closed to block Telnet access?
a. 22
b. 23
c. 80
d. 443
Answer: bsanfoundry - 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 - 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 - 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 - 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 - 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 - 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 - 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 - Which port state means it is not listening for connections?
a. Open
b. Closed
c. Filtered
d. Active
Answer: bstudocu+2 - 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 - What command can check active network connections on Linux?
a. grep port
b. netstat -tuln
c. clear -p
d. readdir /ports
Answer: bdev - 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 - 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 - 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 - 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 - 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 - 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 - 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
- https://www.liquidweb.com/blog/mastering-vps-port-management/
- https://help.coalitioninc.com/hc/en-us/articles/7770311581083-Closing-Unused-Network-Ports
- https://www.reddit.com/r/AskNetsec/comments/2ws8jf/why_is_it_important_to_keep_all_unnecessary_ports/
- https://dev.to/sylwiavargas/how-to-properly-close-a-port-2p36
- https://blog.netwrix.com/open-ports-vulnerability-list
- https://www.sanfoundry.com/cyber-security-questions-answers-experienced/
- https://www.yeahhub.com/40-cyber-security-mcq-answers-explanations/
- https://allinonemcq.blogspot.com/p/types-of-hacking-co6.html
- https://www.vinsys.com/blog/top-30-mcqs-ceh-exam-preparation
- https://www.studocu.com/in/document/rashtrasant-tukadoji-maharaj-nagpur-university/cyber-security/mcq-questions-on-cyber-security/4098601
- https://www.sanfoundry.com/1000-cyber-security-questions-answers/
- https://www.theknowledgeacademy.com/blog/cyber-security-mcq-and-answers/
- https://itexamanswers.net/11-6-4-module-quiz-switch-security-configuration-answers.html
- https://stackoverflow.com/questions/14001825/how-to-check-if-a-certain-port-is-open-and-unused
- https://www.scribd.com/document/703140655/Information-Assurance-Security-MCQ-Worksheet-for-Exit-Exam-2015
- https://www.all-about-security.de/identifying-secure-and-unsecured-ports-and-how-to-secure-them/
- https://www.yeahhub.com/certified-ethical-hacker-v10-multiple-choice-questions-answers-part-3/
- https://www.ionos.com/digitalguide/server/security/checking-open-ports/
- https://cowbell.insure/blog/port-security-2/
- https://stackoverflow.com/questions/767292/how-do-i-close-a-port-in-a-case-of-program-termination