By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
The OSI (Open Systems Interconnection) model and TCP/IP (Transmission Control Protocol/Internet Protocol) stack are frameworks that standardize how data moves across networks. You use them to design, troubleshoot, and secure networks—whether you're setting up a home lab, debugging a cloud service, or building an IoT device.
00:1A:2B:3C:4D:5E
192.168.1.1
80
443
7. Application | User interfaces (e.g., Chrome, email clients) 6. Presentation | Data translation (e.g., encryption, JPEG encoding) 5. Session | Manages connections (e.g., login sessions) 4. Transport | End-to-end delivery (e.g., TCP/UDP) 3. Network | Routing (e.g., IP, routers) 2. Data Link | Local delivery (e.g., Ethernet switches) 1. Physical | Raw bits (e.g., cables, Wi-Fi signals)
4. Application | HTTP, DNS, SSH (combines OSI Layers 5–7) 3. Transport | TCP/UDP (same as OSI Layer 4) 2. Internet | IP, ICMP (same as OSI Layer 3) 1. Network Access| Ethernet, Wi-Fi (combines OSI Layers 1–2)
25
203.0.113.45
ping
traceroute
http://example.com
http
Expected outcome: - You’ll see HTTP requests (Layer 7), TCP handshakes (Layer 4), and IP packets (Layer 3).- Example Wireshark output: No. Time Source Destination Protocol Info 1 0.000000 192.168.1.100 93.184.216.34 HTTP GET / HTTP/1.1
No. Time Source Destination Protocol Info 1 0.000000 192.168.1.100 93.184.216.34 HTTP GET / HTTP/1.1
tcp.port == 80
Why this matters: If the handshake fails, your connection won’t establish (e.g., due to firewalls or misconfigured ports).
Run traceroute (Linux/macOS) or tracert (Windows) to see how data hops across networks:
tracert
traceroute example.com
Expected outcome: - You’ll see each router (Layer 3 device) the packet passes through.- Example output: 1 192.168.1.1 (192.168.1.1) 1.234 ms 2 10.0.0.1 (10.0.0.1) 5.678 ms 3 203.0.113.45 (203.0.113.45) 12.345 ms
1 192.168.1.1 (192.168.1.1) 1.234 ms 2 10.0.0.1 (10.0.0.1) 5.678 ms 3 203.0.113.45 (203.0.113.45) 12.345 ms
telnet
ping -f -l 1472 <IP>
ping -M do -s 1472 <IP>
192.168.1.0/24
VLAN 10
VLAN 20
10.0.0.5
2001:db8::1
A router fails to forward packets between two subnets. Which layer is most likely the issue? A) Layer 2 (Data Link) B) Layer 3 (Network) C) Layer 4 (Transport) D) Layer 7 (Application)
Correct Answer: B) Layer 3 (Network)Explanation: Routers operate at Layer 3 (IP). If they fail to forward packets, the issue is likely with IP addressing, routing tables, or ICMP.Why the Distractors Are Tempting: - A) Layer 2 handles local delivery (e.g., switches), not routing between subnets.- C) Layer 4 manages end-to-end connections (e.g., TCP/UDP), not routing.- D) Layer 7 deals with applications (e.g., HTTP), not packet forwarding.
You’re designing a video streaming service. Which transport protocol should you use for the best performance? A) TCP B) UDP C) ICMP D) HTTP
Correct Answer: B) UDPExplanation: UDP is faster than TCP because it lacks connection overhead and retransmission of lost packets. Video streaming tolerates minor packet loss.Why the Distractors Are Tempting: - A) TCP is reliable but adds latency (bad for real-time streaming).- C) ICMP is for diagnostics (e.g., ping), not data transfer.- D) HTTP is an application-layer protocol (runs on top of TCP/UDP).
A user can ping a server but can’t access a web page on it. Where should you start troubleshooting? A) Layer 1 (Physical) B) Layer 3 (Network) C) Layer 4 (Transport) D) Layer 7 (Application)
Correct Answer: C) Layer 4 (Transport)Explanation: ping uses ICMP (Layer 3), so the network is working. The issue is likely a blocked port (e.g., TCP 80/443) or a firewall rule at Layer 4.Why the Distractors Are Tempting: - A) If Layer 1 were broken, ping wouldn’t work.- B) Layer 3 is working (since ping succeeds).- D) Layer 7 could be the issue (e.g., web server down), but you should check Layer 4 first.
netstat
ipconfig/ifconfig
scapy
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.