A desk port should accept traffic from only a limited number of devices. Which Layer 2 control directly limits the number of source MAC addresses the port accepts?
2 Layer 2 Security Online Quiz Questions
Use this free practice quiz with 20 questions to review 2 Layer 2 Security, test your knowledge, and prepare for your next test or exam.
You are hardening a trunk between switches. Which configuration best reduces unnecessary VLAN exposure while following the recommended native-VLAN practice?
- A
Allow every VLAN and use the user VLAN with the most traffic as the native VLAN.
- B
Allow only user VLANs, but leave the native VLAN selection to trunk negotiation.
- C
Explicitly permit only required VLANs and select a native VLAN that carries no user traffic.
- D
Configure the trunk as an access port in the management VLAN.
A switch uses DHCP snooping to block rogue DHCP offers. Which interface should be marked trusted?
- A
Trust only the interface leading to the authorized DHCP server or trusted network path.
- B
Trust every client-facing access port so clients can send DHCP requests.
- C
Trust all ports in VLANs where DHCP snooping is enabled.
- D
Trust only ports that have port security disabled.
A switch interface has no connected device and is not expected to be used. Which action best follows the recommended unused-port policy?
- A
Leave the interface active in the default VLAN so it can be used quickly.
- B
Configure it as a trusted DHCP and DAI infrastructure interface.
- C
Enable trunk negotiation so the interface can discover its intended role.
- D
Place it in an unused VLAN and administratively shut it down.
A team is preparing to rely on Dynamic ARP Inspection for clients that receive addresses through DHCP. What should it verify first to reduce the risk of dropping legitimate ARP traffic?
- A
Enable DAI on every VLAN immediately; it does not rely on bindings.
- B
Confirm the DHCP binding table is populated and legitimate clients obtain addresses.
- C
Mark every access port trusted so DAI will not drop client ARP traffic.
- D
Disable DHCP snooping because DAI creates all bindings independently.
Which statements correctly describe DHCP snooping? Select all that apply.
- A
It filters DHCP messages and can help block rogue DHCP offers.
- B
It validates ARP messages by itself against manually learned switch-port roles.
- C
It builds bindings associating leased IP addresses with MAC addresses, VLANs, and interfaces.
- D
It prevents Layer 2 loops by selecting the spanning-tree root.
Which statements correctly describe the roles of Root Guard and Loop Guard? Select all that apply.
- A
Root Guard is the recommended control for disabling a workstation port when it sends any BPDU.
- B
Root Guard prevents a designated port from accepting superior BPDUs that could move the root role.
- C
Loop Guard is a substitute for BPDU Guard on endpoint ports.
- D
Loop Guard helps prevent a non-designated port from mistakenly forwarding when expected BPDUs stop arriving.
Dynamic ARP Inspection can use bindings learned through DHCP snooping to check ARP messages on untrusted ports, and static-address devices may require suitable ARP ACLs or bindings. Is this statement true or false?
- A
True
- B
False
Root Guard is the recommended safeguard for a workstation edge port because it disables the port if the workstation sends a BPDU. Is this statement true or false?
- A
True
- B
False
For a statically addressed device without a DHCP-learned binding, name one supported configuration mechanism that can provide DAI with appropriate ARP validation information.
What switch feature checks ARP messages arriving on untrusted ports against valid IP-to-MAC bindings to help prevent ARP spoofing?
DHCP snooping builds a associating leased IP addresses with MAC addresses, VLANs, and interfaces.
Loop Guard helps prevent a non-designated port from mistakenly when expected BPDUs stop arriving.
A port is intended for a workstation, but it unexpectedly receives an STP BPDU. Which STP safeguards should be configured for this port, what should happen when the BPDU arrives, and what should an administrator do before restoring service?
A switch has several physical interfaces that are not assigned to any endpoint. Which policy best reduces the risk that someone will use one of these interfaces for unauthorized access?
- A
Leave the interfaces enabled in the user VLAN so they can be used without delay.
- B
Place the interfaces in an unused VLAN and administratively shut them down.
- C
Configure the interfaces as trusted DHCP snooping ports.
- D
Enable PortFast and BPDU Guard while leaving the interfaces enabled.
A switch interface connects directly to a workstation that belongs in a single user VLAN. Which configuration choice best limits VLAN exposure on this interface?
- A
Configure it as a trunk that permits every VLAN.
- B
Leave trunk negotiation enabled so the workstation can select its VLAN.
- C
Configure it as an access port in the intended user VLAN.
- D
Mark it as a trusted interface for DHCP snooping and DAI.
Which switch feature limits the source MAC addresses accepted on a port and can enforce a maximum number of addresses?
A switch interface trusted for Dynamic ARP Inspection has its ARP packets checked against the DHCP snooping binding table just like packets arriving on an untrusted interface.
- A
True
- B
False
You are enabling DHCP snooping on a user VLAN. One switch interface connects to a workstation, and another leads toward the authorized DHCP server. How should you set the trust boundary?
- A
Trust every interface in the VLAN so DHCP replies are not delayed.
- B
Keep the client port untrusted and trust only the interface toward the authorized DHCP server or trusted network path.
- C
Disable DHCP snooping on the VLAN and trust the client port for DAI.
- D
Trust the client port for DHCP snooping but leave the uplink untrusted.
What port-security method learns device MAC addresses and adds them to the switch configuration?