Free GDSA Layer 1, Layer 2, and Layer 3 Defense Practice Test 2026 — GIAC Defensible Security Architect Questions
This free GDSA Layer 1, Layer 2, and Layer 3 Defense practice test covers securing OSI layers 1-3 with switch and VLAN hardening, 802.1X/NAC, routing security, and physical-layer controls. Each question includes a detailed explanation with defensible-architecture context — perfect for GDSA exam prep.
Key Topics in GDSA Layer 1, Layer 2, and Layer 3 Defense
- Switch Security (DAI, DHCP Snooping)
- VLAN Hardening
- 802.1X / NAC
- Routing Security
- ARP/MAC Protections
- Physical Layer Controls
6 Free GDSA Layer 1, Layer 2, and Layer 3 Defense Practice Questions with Answers
Each question below includes 4 answer options, the correct answer, and a detailed explanation. These are real questions from the FlashGenius GDSA question bank for the Layer 1, Layer 2, and Layer 3 Defense domain (16% of the exam).
Sample Question 1 — Layer 1, Layer 2, and Layer 3 Defense
An access switch begins flooding unicast traffic out of every port in VLAN 20. An engineer captures this output:
```
SW1# show mac address-table count vlan 20
Mac Entries for Vlan 20:
---------------------------
Dynamic Address Count : 8187
Static Address Count : 0
Total Mac Addresses : 8187
Total Mac Address Space Available: 5
```
Nearly all dynamic entries were learned on Gi1/0/14, a single user port. Which control most directly prevents this condition?
- A. Port security limiting MAC addresses per port (Correct answer)
- B. DHCP snooping with the uplink ports set as trusted
- C. Dynamic ARP Inspection enabled on VLAN 20
- D. BPDU Guard enabled on every access port
Correct answer: A
Explanation: A is correct because limiting how many source MACs a port can learn stops one port from filling the CAM table and forcing the switch to flood unknown unicast frames. B is incorrect because DHCP snooping blocks rogue DHCP servers and builds bindings, but it does not limit source MAC learning. C is incorrect because DAI validates ARP packets against DHCP bindings and does not stop frames with random source MACs from filling the table. D is incorrect because BPDU Guard disables a port that receives spanning tree BPDUs, which a MAC flooding tool does not need to send.
Sample Question 2 — Layer 1, Layer 2, and Layer 3 Defense
An attacker on an untrusted access port runs a DHCP starvation tool. Port security allows two MACs per port and has not triggered. A capture on the port shows:
```
Frame Eth src DHCP chaddr Message
1 00:1a:2b:3c:4d:5e 6e:91:04:b2:7a:13 DISCOVER
2 00:1a:2b:3c:4d:5e a2:5f:c8:19:e0:47 DISCOVER
3 00:1a:2b:3c:4d:5e 1c:d7:3e:60:9b:f2 DISCOVER
```
Which feature detects and drops these requests?
- A. Dynamic ARP Inspection on the VLAN
- B. Port security with sticky MAC learning
- C. DHCP snooping MAC address verification (Correct answer)
- D. IP Source Guard on the access port
Correct answer: C
Explanation: C is correct because on untrusted ports, DHCP snooping can compare the frame's source MAC with the chaddr field and drop requests where they differ. A is incorrect because DAI validates ARP messages, and the starvation tool is not sending ARP. B is incorrect because port security sees only the one real source MAC in the Ethernet header, so the forged chaddr values never trigger it. D is incorrect because IP Source Guard filters IP traffic after a binding exists and does not inspect DHCPDISCOVER payloads.
Sample Question 3 — Layer 1, Layer 2, and Layer 3 Defense
An architect is standardizing routing protocol authentication across a mixed-vendor network. Which of these routing protocols has no authentication mechanism at all?
- A. RIP version 1 (Correct answer)
- B. RIP version 2
- C. EIGRP
- D. IS-IS
Correct answer: A
Explanation: A is correct because RIPv1 messages have no authentication field, so any device on the segment can inject routes; RIPv2 added authentication. B is incorrect because RIPv2 supports plaintext and MD5 authentication. C is incorrect because EIGRP supports MD5 authentication, and named mode adds HMAC-SHA-256. D is incorrect because IS-IS supports cleartext and HMAC-MD5 authentication, with HMAC-SHA defined in later RFCs.
Sample Question 4 — Layer 1, Layer 2, and Layer 3 Defense
A user reports that a laptop on a cubicle port can reach servers in several VLANs. The engineer runs this on the access switch:
```
ACC-SW3# show interfaces trunk
Port Mode Encapsulation Status Native vlan
Gi1/0/48 on 802.1q trunking 999
Gi1/0/17 auto 802.1q trunking 1
Port Vlans allowed on trunk
Gi1/0/48 10,20,30,999
Gi1/0/17 1-4094
```
Gi1/0/17 is a cubicle port that should carry VLAN 20 only. Which configuration on Gi1/0/17 prevents this condition?
- A. switchport mode access with switchport nonegotiate (Correct answer)
- B. switchport port-security maximum 1 on the interface
- C. switchport trunk native vlan 999 on the interface
- D. spanning-tree bpduguard enable on the interface
Correct answer: A
Explanation: A is correct because the port is in dynamic auto, so it formed a trunk when the laptop sent DTP desirable frames; a static access port that sends no DTP cannot be negotiated into a trunk. B is incorrect because port security limits learned source MACs and does nothing to stop DTP from negotiating a trunk. C is incorrect because changing the native VLAN still leaves the port negotiable, so the laptop keeps its trunk to every allowed VLAN. D is incorrect because BPDU Guard reacts to spanning tree BPDUs, and DTP negotiation does not require the attacker to send any BPDUs.
Sample Question 5 — Layer 1, Layer 2, and Layer 3 Defense
A sensor on the trunk from ACC-SW1 to DIST-SW1 captures this frame as it leaves ACC-SW1. The attacker's access port on ACC-SW1 is in VLAN 1, which is also the native VLAN of the ACC-SW1 uplink trunk.
```
Frame 4412: 64 bytes on wire
Ethernet II, Src: 3c:52:82:a1:9f:40, Dst: ff:ff:ff:ff:ff:ff
802.1Q Virtual LAN, PRI: 0, DEI: 0, ID: 30
Internet Protocol Version 4, Src: 10.1.1.50, Dst: 10.30.0.10
Internet Control Message Protocol: Echo (ping) request
```
The attacker transmitted the frame with two 802.1Q tags. Which attack produced this frame, and what is its main limitation?
- A. Double tagging, which delivers frames one way into VLAN 30 (Correct answer)
- B. Switch spoofing, which needs the attacker's port to be in trunk mode
- C. ARP spoofing, which redirects VLAN 30 traffic through the attacker
- D. Double tagging, which works on any trunk whatever its native VLAN
Correct answer: A
Explanation: A is correct because the first switch stripped the outer native-VLAN tag on its trunk egress and the next switch forwarded on the inner tag, but replies from VLAN 30 have no path back to the attacker. B is incorrect because switch spoofing forms a trunk through DTP and then sends singly tagged frames, while this attack relied on a second tag and the native VLAN. C is incorrect because ARP spoofing poisons caches inside one broadcast domain and does not insert 802.1Q tags to cross VLANs. D is incorrect because the attack works only when the attacker's access VLAN matches the native VLAN of the trunk, so the outer tag is removed.
Sample Question 6 — Layer 1, Layer 2, and Layer 3 Defense
A network team wants to stop double-tagging attacks on all trunks without redesigning their access VLANs, which currently include VLAN 1 on some user ports. Which global command on Catalyst IOS switches causes the native VLAN to be tagged on egress of every 802.1Q trunk?
- A. vlan dot1q tag native (Correct answer)
- B. switchport trunk allowed vlan remove 1
- C. switchport trunk native vlan tag
- D. spanning-tree vlan 1 priority 61440
Correct answer: A
Explanation: A is correct because with native VLAN tagging enabled, frames in the native VLAN leave trunks with a tag, so the outer tag of a double-tagged frame is not stripped and the inner tag is never exposed. B is incorrect because pruning VLAN 1 from a trunk changes which VLANs are carried but is not the native VLAN tagging command. C is incorrect because native VLAN tagging is enabled with the global vlan dot1q tag native command, and this is not the global form. D is incorrect because spanning tree priority changes root election and has no effect on how 802.1Q tags are added or removed.
How to Study GDSA Layer 1, Layer 2, and Layer 3 Defense
Combine these GDSA Layer 1, Layer 2, and Layer 3 Defense practice questions with hands-on lab work and the SANS SEC530 course. The GDSA exam emphasizes practical defensible-architecture decisions, so always ask which option is most defensible, most resilient, and aligned with Zero Trust principles.
About the GDSA Exam
- Questions: 75 multiple-choice
- Time: 120 minutes (2 hours)
- Passing score: 63%
- Format: Proctored, open book
- Domains: 8 (this is 16% of the exam)
- Associated training: SANS SEC530
Other GDSA Domains
Start the free GDSA Layer 1, Layer 2, and Layer 3 Defense practice test now | 10-question quick start | All GDSA domains | All Sample Tests