On the Network+ · 14% of Network+ N10-009 (Domain 4)
Attack-and-defense scenarios plus ACL/segmentation PBQs testing Layer 2 LAN hardening, 802.1X/AAA, WPA3, VPNs, Zero Trust, and firewall rule ordering.
What Network Security tests
Network Security may carry the smallest domain percentage on N10-009, yet its questions are crisp, high-yield points if you pair every Layer 2/Layer 3 attack with its exact switch or firewall countermeasure. Topics span port-based 802.1X NAC (RADIUS vs TACACS+), WPA3-SAE vs WPA3-Enterprise, Zero Trust Network Access (ZTNA), LAN attack mitigation (DAI, DHCP snooping, port security), VPN protocols, screened subnets (DMZs), and ACL rule logic.
Where test-takers lose points
Turning on Dynamic ARP Inspection (DAI) without enabling DHCP Snooping first
ARP spoofing/poisoning is mitigated by Dynamic ARP Inspection, which validates ARP packets against the switch's DHCP Snooping binding table. If DHCP Snooping is not enabled (and static ARP ACLs are missing for static-IP servers), DAI has no trusted IP-to-MAC bindings and drops legitimate ARP traffic.
Misordering Access Control List (ACL) entries or forgetting the implicit deny any
Routers and firewalls evaluate ACL rules strictly top-to-bottom and stop on the first matching rule. Placing a broad 'permit ip any any' above a targeted 'deny tcp any host 10.1.2.5 eq 22' makes the deny dead code; conversely, writing only deny rules leaves the hidden implicit 'deny any any' at the bottom blocking all valid traffic.
Confusing WPA3-Personal (SAE) with WPA3-Enterprise (802.1X) and RADIUS vs TACACS+
WPA3-Personal uses Simultaneous Authentication of Equals (SAE) to protect shared passphrases against offline dictionary attacks, while WPA3-Enterprise uses 802.1X/EAP against a RADIUS server for per-user credentials and dynamic VLAN assignment. TACACS+ (TCP 49) encrypts full payloads for granular CLI device administration rather than Wi-Fi/802.1X.
How to practise Network Security
Build a four-row Layer 2 defense reflex table: Rogue DHCP server → DHCP Snooping (untrusted user ports, trusted uplink); ARP poisoning → Dynamic ARP Inspection; MAC table flooding → Port Security sticky/max MAC limits; VLAN hopping → disable DTP auto-trunking, set unused ports to a blackhole access VLAN, and never use VLAN 1 as the Native VLAN.
Common questions about Network+ Network Security
How does a VLAN hopping double-tagging attack work?
An attacker connected to an access port sitting in the same VLAN as the trunk's untagged Native VLAN sends frames with two 802.1Q tags; the first switch strips the outer native tag and forwards the inner tag onto the trunk—mitigated by moving the Native VLAN to an unused ID and tagging native traffic.
When should an organization deploy IPsec site-to-site VPN versus ZTNA or client TLS/WireGuard VPN?
Site-to-site IPsec tunnels continuously connect fixed branch routers or cloud VPCs; remote employees use client TLS or WireGuard VPNs—or modern Zero Trust Network Access (ZTNA), which grants per-application, identity- and posture-verified access without exposing the flat internal subnet.
What is a screened subnet (triple-homed or dual-firewall DMZ)?
A network zone sitting between an untrusted external network (Internet) and the trusted internal LAN that hosts public-facing web, mail, or reverse-proxy servers—allowing Internet traffic into the DMZ while blocking direct inbound connections from the Internet or DMZ to internal databases.
10 example questions with full explanations. Use the interactive practice above to work through the complete set.
Question 1medium
When an employee connects a managed laptop to an IEEE 802.1X campus switch port, the switch blocks general LAN traffic, accepts EAPOL frames from the laptop, and relays them inside RADIUS packets to a central AAA cluster. Which 802.1X architectural role does the campus switch fulfill?
- A.Authentication Server, verifying EAP-TLS credentials against the enterprise directory
- B.Authenticator✓
- C.Root Certificate Authority, signing OCSP responses for quarantined guest endpoints
- D.Supplicant, presenting the endpoint X.509 client certificate from local TPM storage
Correct answer: B
IEEE 802.1X defines three components: the Supplicant (client endpoint), the Authenticator (the network switch or wireless AP gating physical/logical port access and relaying EAPOL-to-RADIUS), and the Authentication Server (RADIUS backend) (Option B). Option D names the client role, Option A names the RADIUS server role, and Option C names PKI infrastructure.
Question 2medium
A network security engineer deploys one AAA protocol for 802.1X enterprise Wi-Fi user access (running over UDP and combining authentication with authorization) and a second AAA protocol for core router CLI administration (running over TCP port 49, encrypting the entire payload, and authorizing individual CLI commands). Which pair matches those two deployments in order?
- A.RADIUS for 802.1X access and TACACS+ for CLI administration✓
- B.SAML 2.0 assertions for 802.1X Wi-Fi and SNMPv3 over UDP 161 for CLI authorization
- C.Kerberos for 802.1X wireless access and unencrypted LDAP on port 389 for CLI control
- D.TACACS+ for 802.1X wireless access and RADIUS over TCP port 49 for router CLI
Correct answer: A
RADIUS (UDP 1812/1813, encrypting only the password attribute and bundling auth/authz) is the standard backend for 802.1X wireless/wired network access, whereas TACACS+ (TCP 49, full-payload encryption, separated authentication, per-command authorization, and accounting) excels at router/switch CLI administration (Option A). Option C, Option D, and Option B mismatch or reverse the protocols.
Question 3medium
An employee connects a home wireless router's LAN port into a training-room wall jack, handing out rogue `192.168.0.1` default gateways to nearby laptops. After enabling DHCP snooping on the campus switch for that VLAN, how must interfaces be configured so legitimate corporate DHCP leases succeed while rogue offers are dropped?
- A.Mark uplink trunks toward legitimate DHCP servers trusted; keep access ports untrusted✓
- B.Configure employee wall-jack ports as trusted and set uplink trunks to untrusted
- C.Leave every port on the switch untrusted and block UDP port 68 VLAN-wide
- D.Place training-room ports into SPAN promiscuous mode facing the rogue router
Correct answer: A
DHCP snooping classifies ports as untrusted by default (dropping inbound server messages `DHCPOFFER`, `DHCPACK`, and `DHCPNAK`) while requiring administrators to mark uplinks toward legitimate DHCP servers or relays as trusted (Option A). Option B inverts the trust model, Option C breaks legitimate DHCP replies, and Option D mirrors traffic without blocking attacks.
Question 4hard
To block on-path ARP spoofing in VLAN 30, an engineer enables Dynamic ARP Inspection (`ip arp inspection vlan 30`) on an access switch. Instantly, all DHCP workstations and two statically addressed printers in VLAN 30 lose connectivity, and switch logs show every endpoint ARP reply being dropped on untrusted ports. What prerequisite configuration was omitted?
- A.DHCP snooping on VLAN 30 plus static ARP ACLs for static hosts✓
- B.Disabling gratuitous ARP announcements inside each workstation NIC driver
- C.Enabling RSTP PortFast on VLAN 30 ports so ARP frames bypass CAM learning
- D.Increasing the Layer 3 router ARP cache timer from 4 hours up to 24 hours
Correct answer: A
Dynamic ARP Inspection validates ARP packets on untrusted ports against the switch's DHCP snooping binding database (for dynamic hosts) and static ARP ACLs (for statically addressed devices). Enabling DAI without first enabling DHCP snooping on VLAN 30 and defining ARP ACLs leaves no valid bindings, so DAI drops all client ARP traffic (Option A). Option C, Option B, and Option D do not populate DAI's validation table.
Question 5medium
External auditors need remote access solely to one internal web application (`https://audit.corp.internal:443`). Previously, a client IPsec VPN assigned auditors an IP on an internal `/22` VLAN where they could scan adjacent SMB and RDP servers laterally. How does Zero Trust Network Access (ZTNA) eliminate this exposure?
- A.Replaces TLS session encryption with static source-MAC filtering at the edge router
- B.Assigns remote auditors to an unmonitored DMZ subnet with split-tunnel routing
- C.Brokers continuous identity- and posture-verified access per app without LAN visibility✓
- D.Implicitly trusts any client originating from an RFC 1918 home subnet without MFA
Correct answer: C
Zero Trust Network Access (ZTNA) verifies user identity, MFA, and endpoint posture continuously at a policy enforcement broker and connects the user exclusively to the authorized application (`audit.corp.internal`) without placing the endpoint onto the internal LAN or exposing adjacent IPs/ports (Option C). Option B grants broad subnet access, Option D relies on implicit trust, and Option A misuses Layer 2 MAC addresses across the internet.
Question 6hard
Two branch offices establish a site-to-site IPsec VPN across the internet, with one branch gateway sitting behind a carrier NAT router. Security policy requires encrypting and authenticating both the inner private IP headers and payloads end-to-end between gateways. Which IPsec combination meets these requirements?
- A.Transport-mode Authentication Header (AH) carried inside TCP port 443
- B.Transport-mode ESP negotiated over legacy PPTP TCP control port 1723
- C.Tunnel-mode ESP encapsulated over UDP port 4500 for NAT-Traversal✓
- D.Tunnel-mode Authentication Header (AH) sent raw over IP protocol 51
Correct answer: C
Encapsulating Security Payload (ESP) provides both encryption and integrity; Tunnel mode wraps the entire original private IP packet inside a new outer gateway header; and IPsec NAT-Traversal (NAT-T) encapsulates ESP inside UDP port 4500 so stateful NAT routers can translate ports cleanly without breaking integrity checks (Option C). Option A and Option D use unencrypted, NAT-incompatible AH, and Option B uses Transport mode and PPTP.
Question 7hard
An inbound extended ACL protecting server subnet 10.10.20.0/24 contains four rules in exact sequence:
1. `deny ip 10.10.99.0/24 10.10.20.0/24`
2. `deny tcp any host 10.10.20.50 eq 22`
3. `permit tcp 10.10.99.0/24 host 10.10.20.50 eq 443`
4. `permit tcp 10.10.10.0/24 host 10.10.20.50 eq 443`
What happens when 10.10.99.15 sends HTTPS (TCP 443) to 10.10.20.50, and when 10.10.10.25 sends an ICMP echo request to 10.10.20.50?
- A.Rule 1 drops HTTPS, whereas ICMP passes because routers allow ping by default
- B.Rule 3 permits HTTPS because TCP port rules override IP rules, while ICMP drops
- C.Permits both packets because Rule 3 allows HTTPS and Rule 4 trusts 10.10.10.0/24
- D.Router drops both packets—Rule 1 blocks HTTPS and implicit deny blocks ICMP✓
Correct answer: D
ACLs process packets sequentially from top to bottom and stop on the first matching ACE. HTTPS from 10.10.99.15 matches Rule 1 (`deny ip` covers all IP protocols including TCP) and is dropped before ever reaching shadowed Rule 3; ICMP from 10.10.10.25 matches none of Rules 1-4 and hits the end-of-ACL implicit `deny ip any any`, dropping both packets (Option D). Option B, Option A, and Option C ignore top-down shadowing or implicit deny.
Question 8easy
A penetration tester on a cubicle wall jack floods thousands of Ethernet frames with random spoofed source MAC addresses per second, filling the switch's CAM table until unknown unicast traffic floods out every port in the VLAN. Which Layer 2 control directly prevents this attack?
- A.Enabling RIPv2 split horizon with poison reverse on core Layer 3 switches
- B.Reducing Ethernet MTU from 1500 bytes down to 576 bytes across campus trunks
- C.Enabling IPv4 loose source routing on the VLAN's default gateway router
- D.Port security capping learned MAC addresses per port✓
Correct answer: D
Switch port security restricts the maximum number of MAC addresses learned on an access interface (and optionally pins sticky MACs), triggering a `protect`, `restrict`, or `shutdown` (`err-disable`) violation before an attacker can overflow the CAM table (Option D). Option C, Option B, and Option A do not police per-port MAC learning.
Question 9easy
A retail clinic needs passphrase-based Wi-Fi without an enterprise RADIUS server, while defending against offline dictionary cracking of captured four-way handshakes and providing forward secrecy per session. Which key-exchange mechanism in WPA3-Personal provides this protection?
- A.Temporal Key Integrity Protocol (TKIP) with 40-bit RC4 initialization vectors
- B.EAP-TLS mutual X.509 certificate authentication backed by an external PKI
- C.Wi-Fi Protected Setup (WPS) 8-digit PIN registration enabled on the access point
- D.Dragonfly handshake (SAE)✓
Correct answer: D
WPA3-Personal replaces WPA2's Pre-Shared Key (PSK) 4-way handshake key derivation with Simultaneous Authentication of Equals (SAE, the Dragonfly zero-knowledge handshake), thwarting offline dictionary attacks on captured handshakes and providing forward secrecy (Option D). Option A is deprecated TKIP, Option C is insecure WPS PIN, and Option B is WPA3-Enterprise 802.1X.
Question 10medium
An enterprise places its public HTTPS reverse proxy in a screened subnet (DMZ) forwarding API calls to an internal application VLAN, which queries a restricted database VLAN—and security policy also forbids a compromised application VM from opening lateral SSH or SMB sessions to sibling VMs inside that same application VLAN. Which architecture enforces both controls?
- A.Consolidate proxy, application, and database VMs onto one flat /16 subnet behind NAT
- B.Extend an unfiltered 802.1Q trunk from the DMZ proxy directly into the database tier
- C.Zone firewall rules between tiers plus microsegmentation inside the app tier✓
- D.Forward public port 5432 straight to the database server while disabling host firewalls
Correct answer: C
Stateful zone-based firewalls enforce north-south / inter-tier least-privilege boundaries (Internet -> DMZ proxy -> App tier -> DB tier), while host-based or hypervisor/SDN microsegmentation inspects and blocks unauthorized east-west lateral traffic (such as SSH/SMB) between VMs sharing the same application subnet (Option C). Option A, Option D, and Option B collapse tier and lateral isolation.