Networking Essentials easy
In the OSI Model, which protocols operate at Layer 4 (Transport Layer)?
- A IP (Internet Protocol) and ICMP, which are primarily responsible for the addressing and basic logical routing of packets across the network.
- B TCP and UDP, which provide end-to-end communication services and manage logical ports for directing traffic to specific applications.
- C HTTP, FTP, and SMTP, which define the high-level semantic rules for how various application types should format and exchange their data.
- D Ethernet and Wi-Fi (802.11), which handle the physical transmission of binary signals across cables or radio waves to nearby hardware devices.
Answer: B. TCP and UDP, which provide end-to-end communication services and manage logical ports for directing traffic to specific applications.
The OSI Model organizes networking into seven layers. Layer 4 is the Transport Layer, where TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) reside. While Layer 3 (Network) handles routing between different IP addresses, Layer 4 handles delivery between specific programs on those machines using 'Ports'. TCP adds reliability features (like retrying lost data), whereas UDP focuses on minimize overhead for speed. Application-layer protocols like HTTP (Layer 7) depend on the reliable end-to-end connection provided by the Transport layer.
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- What is the downside of enabling 'Sticky Sessions' (Session Affinity) on a Load Balancer?
- In WebRTC (P2P Mesh), why is a STUN server required?
- What is the fundamental difference between a Network Switch and a Router?
- In Cloud Networking (AWS), what is the limitation of VPC Peering compared to a Transit Gateway?
- Which protocol is ideal for real-time multiplayer gaming positions or Voice over IP (VoIP), and why?
- What is the purpose of the 'Time To Live' (TTL) field in an IP packet?