Quiz: Network Security Fundamentals
A 26-question self-check covering the OSI/TCP-IP stack, ports and the handshake, segmentation, and the spoofing/MITM/DoS attack families. Questions tagged [Sec+] (CompTIA Security+) and [CISSP] ((ISC)² CISSP) map to certification domains. Answers and one-line explanations are at the end; try the whole quiz before checking.
Section 1 — Multiple choice (1 pt each)
1. [Sec+] The fundamental unit of data routed at the Network layer (Layer 3), carrying source and destination IP addresses, is a: A. frame B. packet C. segment D. socket
2. [Sec+] A socket is best defined as: A. a port number alone B. an IP address alone C. an IP address combined with a port D. a MAC address
3. The correct order of the TCP three-way handshake is: A. ACK → SYN → SYN-ACK B. SYN → ACK → SYN-ACK C. SYN → SYN-ACK → ACK D. SYN-ACK → SYN → ACK
4. [Sec+] A log shows one source sending lone SYN packets to ports 22, 23, 80, and 445 in one second, none completing a handshake. This is most likely a: A. SYN flood B. port scan C. man-in-the-middle D. ARP spoof
5. ARP spoofing operates at which OSI layer, and what makes it possible? A. Layer 3; IP has no checksum B. Layer 2; ARP has no authentication C. Layer 4; TCP is stateless D. Layer 7; HTTP is plaintext
6. [CISSP] A network zone that sits between the untrusted internet and the trusted internal network, hosting internet-facing systems so their compromise is contained, is called a: A. VLAN B. subnet C. DMZ D. NAT pool
7. Traffic moving laterally between systems inside a network is called: A. north-south B. east-west C. ingress D. egress
8. [Sec+] NAT (network address translation) primarily exists to: A. encrypt traffic B. authenticate users C. conserve public IPv4 addresses D. detect intrusions
9. A SYN flood is a denial-of-service attack that works by: A. encrypting the server's disk B. sending many SYNs and never completing the handshakes, exhausting the half-open connection table C. forging ARP replies D. guessing passwords
10. [CISSP] A man-in-the-middle attack against properly validated TLS-encrypted traffic allows the attacker to: A. read and alter the plaintext B. relay the encrypted bytes and see metadata, but not read or alter the contents C. decrypt everything instantly D. nothing at all, including relaying
11. Which is the most effective way to limit lateral (east-west) movement after an attacker gains a foothold? A. a stronger perimeter firewall B. NAT C. internal segmentation with default-deny between zones D. a longer password policy
12. [Sec+] A volumetric DDoS using spoofed source IPs should be mitigated: A. at your own edge firewall B. upstream, at the ISP or a scrubbing provider C. by blocking each source IP D. by rebooting the server
13. A VLAN provides isolation at: A. Layer 1 B. Layer 2 C. Layer 3 D. Layer 7
14. [CISSP] Encapsulation means that a control reading one layer's header: A. can read all deeper payloads B. is blind to the layers it does not inspect C. encrypts the data D. is unnecessary if a perimeter firewall exists
Section 2 — True / False with justification (1 pt each)
For each, mark T or F and give a one-sentence reason.
15. [Sec+] "Because internal hosts sit behind NAT, the internal network does not need segmentation or encryption."
16. "A perimeter firewall inspects east-west traffic between internal servers."
17. "Encrypting traffic with TLS protects it against a Layer 2 ARP-spoofing man-in-the-middle reading the contents."
18. "A SYN-ACK returned for every SYN proves a server is healthy and not under attack."
19. [CISSP] "Segmenting the cardholder data environment can reduce the systems that are in scope for PCI-DSS."
Section 3 — Fill in the blank (1 pt each)
20. A connection is uniquely identified by a four-value tuple: source IP, source _, destination IP, and destination _.
21. The principle of denying all traffic unless it is explicitly permitted is called __.
22. [Sec+] Forging the source IP address of a packet to impersonate another system is called IP __.
23. Traffic crossing the boundary between the internal network and the internet is called __ traffic.
Section 4 — Short answer (2 pts each)
24. [CISSP] Explain why "the perimeter is dead," using the north-south / east-west distinction and the "assume breach" principle. Reference what a perimeter firewall can and cannot see.
25. A defender must stop a man-in-the-middle attack on a branch network. Name one Layer 2 control and one Layer 5–7 control, and explain why using both (rather than either alone) is the stronger design and which recurring theme this illustrates.
26. [Sec+] Given the firewall log line action=DENY src=203.0.113.66 dst=192.0.2.10 dport=22 proto=tcp,
state what was attempted, what the firewall did, and why a series of such denials to many different ports
from one source would interest a SOC analyst.