OSI Model & TCP/IP Flashcards
Q1: What does the Physical Layer (Layer 1) of the OSI model do?
A: It is responsible for the transmission of raw bits over a physical medium (e.g., cables, Wi-Fi). This layer includes hardware like hubs, cables, and repeaters.
Q2: Name three devices that operate at the Data Link Layer (Layer 2).
A: Switches, bridges, and network interface cards (NICs). They handle MAC addressing and frame transmission.
Q3: What protocol is primarily used at the Network Layer (Layer 3)?
A: IP (Internet Protocol). It is responsible for routing packets between devices across different networks.
Q4: What are the responsibilities of the Transport Layer (Layer 4)?
A: It ensures reliable data transfer, error detection, and flow control. Key protocols include TCP (connection-oriented) and UDP (connectionless).
Q5: How does the Session Layer (Layer 5) differ from the Transport Layer (Layer 4)?
A: The Session Layer manages sessions between applications, such as starting, maintaining, and terminating communication, while the Transport Layer ensures reliable delivery of data.
Q6: HTTP is an example of what Layer protocol?
A: Application Layer (Layer 7) protocol
Q7: What is the purpose of Layer 6 (Presentation Layer)?
A: It translates data between the application and the network, ensuring data formats like encryption, compression, and encoding are handled.
Q8: What layer would you troubleshoot if a file download is failing due to corrupted data?
A: Layer 4 (Transport Layer) because it is responsible for error detection and data reliability.
Q9: What is encapsulation in the OSI model?
A: It is the process of adding headers and sometimes footers to data as it moves through the layers.
Q10: Which layer of the OSI model is responsible for MAC addresses?
A: Data Link Layer (Layer 2).
Q11: Which layer of the OSI model is responsible for routing packets between networks?
A: Network Layer (Layer 3). Routers operate at this layer.
Q12: How does the Presentation Layer (Layer 6) support encryption?
A: It handles encryption and decryption to ensure secure communication between devices.
Q13: What devices operate at the Physical Layer (Layer 1)?
A: Hubs, cables, and network interface cards (NICs).
Q14: Why is the Application Layer (Layer 7) crucial for user interaction?
A: It provides network services directly to user applications, enabling communication such as email and web browsing.
Q15: What is the primary purpose of Layer 2 switching?
A: Forwarding frames based on MAC addresses within a local network.
Q16: How does the OSI model assist in troubleshooting?
A: By isolating issues to specific layers, such as checking physical connectivity at Layer 1 or routing at Layer 3.
Q17: What does segmentation mean in the Transport Layer (Layer 4)?
A: It involves dividing data into smaller packets for transmission and reassembling them at the destination.
Q18: How does the Network Layer (Layer 3) handle routing?
A: It uses routing protocols (e.g., OSPF, BGP) to determine the best path for packets between networks.
Q19: What is the difference between broadcast and unicast at Layer 2?
A: Broadcast sends data to all devices in a network, while unicast sends data to a specific device.
Q20: What type of address is used at Layer 2?
A: MAC addresses are used to identify devices within the same network segment.