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.
Overall MCQs for Reference
- Which protocol helps to control which devices can connect to a switch port?
a. IP routing
b. Port Security
c. NAT
d. SNMP
Answer: bnwkings+1 - What is the default violation mode for switch port security?
a. Restrict
b. Protect
c. Shutdown
d. Alert
Answer: citexamanswers - Which port security command allows for the automatic addition of learned MAC addresses to the configuration?
a. mac-address dynamic
b. port-security protect
c. mac-address sticky
d. port-security aging
Answer: citexamanswers - What happens when a port security violation occurs with the default mode?
a. Interface is placed in err-disable state
b. All traffic is allowed
c. An SNMP trap is generated only
d. The interface remains up but discards frames
Answer: aitexamanswers - Port security can be configured on which type of ports?
a. Dynamic access ports only
b. Static access and trunk ports
c. EtherChannel ports
d. SPAN destination ports
Answer: bitexamanswers - Which switch command displays current port security status on a given interface?
a. show interfaces
b. show port-security interface
c. show config
d. show vlan
Answer: bitexamanswers - To restrict access to only one device on a switch port, which value should be configured?
a. Maximum 3
b. Unlimited
c. Maximum 1
d. Maximum 10
Answer: citexamanswers - Port security restricts unauthorized access by filtering based on which identifier?
a. IP Address
b. Subnet Mask
c. MAC Address
d. Hostname
Answer: cpynetlabs+1 - Which of the below is not a port security violation mode?
a. Shutdown
b. Protect
c. Drop
d. Restrict
Answer: citexamanswers - Which action must be performed before enabling port security?
a. Set port to trunk mode only
b. Set port to access mode
c. Enable spanning tree
d. Configure SNMP
Answer: bitexamanswers - What does the “sticky” keyword in port security do?
a. Enables SNMP alerts on violation
b. Dynamically learns and retains MAC addresses in the running config
c. Sets a static MAC address
d. Disables port security aging
Answer: bitexamanswers - Which command sets the maximum MAC addresses allowed on a port to 2?
a. switchport port-security mac-address 2
b. switchport maximum mac-address 2
c. switchport port-security maximum 2
d. switchport port-security ip max 2
Answer: citexamanswers - What describes static port security configuration?
a. Allows the switch to learn addresses automatically
b. Only predefined MAC addresses are permitted
c. Allows unlimited devices per port
d. All traffic is allowed except broadcast
Answer: bpynetlabs - Which scenario will NOT trigger port security on a switch port?
a. MAC address limit is exceeded
b. A prohibited MAC address is detected
c. ARP table is full
d. An unknown MAC connects
Answer: cnwkings+1 - Which interface status may result from a port security violation?
a. Up
b. Down/Err-Disabled
c. Loopback
d. Admin-Down
Answer: bitexamanswers - Which port type does NOT support port security?
a. Static access
b. Trunk
c. SPAN destination
d. 802.1Q tunnel ports
Answer: citexamanswers - In port security, what is a “violation”?
a. Frame with an unknown MAC arrives on a secure port
b. SNMP trap sent when port goes down
c. A port receives a broadcast frame
d. Interface joins a VLAN
Answer: anwkings+1 - What is the recommended way to permit a single workstation on a port?
a. Enable trunk mode
b. Switchport port-security maximum 1
c. Disable port security
d. Assign multiple MAC addresses
Answer: bitexamanswers - When using port security, what does “protect” mode do?
a. Shuts down the port on violation
b. Silently drops violating traffic
c. Sends violation log messages only
d. Triggers spanning tree recalculation
Answer: bitexamanswers - Which mode will notify network administrators of a violation but not shut down the port?
a. Shutdown
b. Restrict
c. Access
d. Trunk
Answer: bitexamanswers - What is the action of “show port-security address”?
a. Displays secure VLANs
b. Lists learned secure MAC addresses
c. Shows port speed
d. Resets port security statistics
Answer: bitexamanswers - What is a typical reason to use static secure MAC addresses?
a. Wireless clients only
b. Fixed devices like servers or printers
c. Dynamic networks
d. To allow guest devices easy access
Answer: bpynetlabs+1 - By default, how many secure addresses are allowed per port?
a. 10
b. 2
c. 1
d. 8
Answer: citexamanswers - Which command will enable port security on a switch port?
a. switchport enable security
b. switchport port-security
c. port-security access enable
d. enable port-protection
Answer: bitexamanswers - What is MAC address spoofing in context of port security?
a. Increasing the port speed
b. Changing a device’s MAC address to match an authorized device
c. Using VLAN trunking
d. Assigning static IPs
Answer: bcrowdsec - In “restrict” mode, what happens on a violation?
a. Port is disabled immediately
b. Traffic is dropped, log message generated; port remains up
c. All port configurations reset
d. Port security disables spanning tree
Answer: bitexamanswers - Which protocol can be used with port security for authentication?
a. HTTP
b. RADIUS
c. Telnet
d. FTP
Answer: bnwkings - Which statement is FALSE regarding port security?
a. Can restrict by MAC address
b. Cannot limit number of connected devices
c. Can shut down port on violation
d. Enhances network security
Answer: bnwkings - What is port security’s response when the maximum allowed MACs is exceeded?
a. Apply QOS
b. Treat as a violation depending on configured mode
c. Ignore the additional MACs
d. Reset the switch
Answer: bnwkings+1 - Which of the following is a non-technical method for physical port security?
a. Disabling unused ports in software
b. Using port locks or cable blockers
c. Implementing MAC filtering
d. Configuring VLANs
Answer: bcrowdsec - What can administrators use to verify if a port security violation occurred?
a. show interfaces status
b. show port-security status
c. show port-security interface <port>
d. show vlan details
Answer: citexamanswers - Sticky MAC addresses are stored in which configuration by default?
a. Running-configuration
b. Startup-configuration
c. VLAN database
d. SNMP server
Answer: aitexamanswers - Which of the following is NOT a benefit of port security?
a. Reduces risk of unauthorized devices
b. Maintains integrity and privacy
c. Allows more devices traffic
d. Helps with traffic monitoring
Answer: cnwkings - In which scenario is port security most effective?
a. Large wireless networks
b. Wired access for employee workstations
c. Backbone router interfaces
d. Internet-facing firewalls
Answer: bcrowdsec+1 - What is the first step to implement port security?
a. Configure SNMP traps
b. Identify devices that should access the network
c. Enable spanning tree
d. Set up DHCP servers
Answer: bnwkings - An administrator notices a port in err-disabled state. What could be a reason?
a. Port is too fast
b. Port security violation occurred
c. Device cable unplugged
d. VTP mismatch
Answer: bitexamanswers - What is the function of Access Control Lists (ACLs) in context of port security?
a. Limit connected IP addresses
b. Restrict devices based on MAC addresses
c. Switch traffic between ports
d. Enable port forwarding
Answer: bnwkings - Which logging option increases visibility in case of port security violations?
a. Enable SNMP traps
b. Enable HTTP server
c. Increase port speed
d. Set up DHCP logging
Answer: anwkings - What does “aging” refer to in port security settings?
a. Automatic removal of inactive MAC addresses
b. Increase in port bandwidth over time
c. Auto-renewal of VLAN configuration
d. Re-enabling err-disabled port
Answer: aitexamanswers - MAC address spoofing could defeat port security if which is not properly enforced?
a. DHCP
b. Static MAC assignments
c. Software updates
d. IP subnets
Answer: bcrowdsec - What should an admin do if they suspect a port security violation?
a. Investigate logs and check for unauthorized devices
b. Reset all VLANs
c. Ignore the alert
d. Double the port speed
Answer: acrowdsec+1 - A port with which violation mode will never shut down but silently discard disallowed traffic?
a. Restrict
b. Protect
c. Shutdown
d. Static
Answer: bitexamanswers - Which command removes all port security configuration from an interface?
a. no switchport port-security
b. reset port-security all
c. switchport no-security
d. delete port-security
Answer: aitexamanswers - Where can port security be especially critical?
a. Backbone trunks
b. Switch access ports connecting to end devices
c. WAN router interfaces
d. Firewall uplinks
Answer: bpynetlabs+1 - Which best describes “dynamic” port security?
a. Predefined MACs needed
b. Learns MAC addresses as devices connect up to a specified maximum
c. Accepts broadcasts only
d. Allows unlimited connections
Answer: bpynetlabs - What function does “errdisable recovery cause” provide?
a. Automatically recovers ports put in err-disabled by security violation
b. Switches port to trunk mode
c. Enables DHCP relay
d. Recovers lost configuration
Answer: aitexamanswers - Which is a recommended best practice after configuring port security?
a. Save the configuration
b. Reboot the switch
c. Power cycle all connected devices
d. Change all switch passwords
Answer: anwkings - What would happen if the port-security maximum is set too low for required devices?
a. No effect
b. Security violations when legitimate devices connect beyond the limit
c. Switch will allow unlimited access
d. DHCP stops functioning
Answer: bitexamanswers - What is the most granular way port security limits network access?
a. By subnet mask
b. By user login
c. By device MAC address
d. By OS version
Answer: cpynetlabs - Port security can be used in combination with which security tools?
a. Firewalls and IDS/IPS
b. Only ACLs
c. Only with switches
d. None; port security is standalone
Answer: acrowdsec+1
- https://www.nwkings.com/port-security-in-networking
- https://www.pynetlabs.com/port-security-in-computer-network/
- https://itexamanswers.net/ccna-200-125-exam-port-security-questions-with-answers.html
- https://www.crowdsec.net/glossary/port-security
- https://www.sanfoundry.com/cyber-security-questions-answers-ports-types-1/
- https://www.sanfoundry.com/tough-network-security-questions-answers/
- https://www.uninets.com/blog/computer-networks-mcq
- https://testbook.com/objective-questions/mcq-on-data-network-security–64f9c10d513684ddf3ab2b0b
- https://www.scribd.com/document/515731318/Network-Security-Multiple-Choice-Questions-and-Answers-with-MCQ
- https://learn.microsoft.com/en-us/azure/security/fundamentals/network-best-practices
- https://ipcisco.com/quiz/switch-port-security-ccnp/
- https://www.geeksforgeeks.org/computer-networks/port-security-in-computer-network/
- https://cowbell.insure/blog/port-security-2/
- https://www.yeahhub.com/top-20-frequently-asked-network-security-mcqs-with-answers/
- https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/service-overview-and-network-port-requirements
- https://www.checkpoint.com/cyber-hub/network-security/what-is-firewall/8-firewall-best-practices-for-securing-the-network/
- https://www.studocu.com/in/document/heritage-institute-of-technology/aeie-b-tech/network-security-mcq-questions/70712702
- https://www.cloudflare.com/learning/network-layer/what-is-a-computer-port/
- https://abusix.com/blog/protect-your-network-with-these-14-network-security-best-practices/
- https://www.interviewbit.com/computer-network-mcq/