OSI Model — Set 4
Computers · OSI मॉडल · Questions 31–40 of 70
Which layer of the OSI model is responsible for 'Hop-to-Hop' delivery of data?
Correct Answer: D. Data Link Layer
• **Data Link Layer** = the OSI layer that handles hop-to-hop delivery, transferring data frames between two directly adjacent devices only — not across the full network path. • **Hop-to-hop vs end-to-end** — every router or switch between source and destination is one 'hop'; Data Link Layer manages exactly one hop at a time using MAC addresses, while Transport Layer manages the full source-to-destination journey. • Devices such as switches and bridges operate at the Data Link Layer, reading MAC addresses to decide where to forward each frame. • 💡 Option A (Physical Layer) is wrong because it only transmits raw bits over a medium and has no concept of frames or addresses; Option B (Transport Layer) is wrong because it provides end-to-end delivery between applications across the entire path; Option C (Network Layer) is wrong because it routes packets across multiple hops using IP addresses, not single-hop framing.
At which layer of the OSI model is data converted into signals such as light or radio waves?
Correct Answer: A. Layer 1
• **Layer 1 (Physical Layer)** = the OSI layer that converts digital bits into physical signals, because the actual transmission medium can only carry electrical pulses, light, or radio waves — not abstract binary values. • **Signal types** — copper wire uses electrical voltage changes, fiber optic cable uses laser or LED light pulses, and Wi-Fi uses radio waves; Physical Layer standards define all these encoding methods. • Physical Layer also specifies connector shapes, pin assignments, cable lengths, and permissible data rates. • 💡 Option B (Layer 2 / Data Link) is wrong because it deals with frames and MAC addressing between adjacent nodes, not signal generation; Option C (Layer 3 / Network) is wrong because it handles IP addressing and packet routing; Option D (Layer 4 / Transport) is wrong because it manages segmentation and end-to-end delivery.
Which layer manages the 'Checkpoints' for long file transfers to prevent starting over after a crash?
Correct Answer: A. Session Layer
• **Session Layer** = the OSI layer that inserts synchronization checkpoints into a data stream so a failed long-file transfer can be resumed from the last saved point rather than restarting from zero. • **How checkpoints work** — the Session Layer places markers at agreed intervals during the transfer; if the connection breaks, both sides roll back to the most recent checkpoint and continue from there, saving time and bandwidth. • This mechanism is especially critical for large database replication jobs or multi-gigabyte file downloads. • 💡 Option B (Transport Layer) is wrong because it segments data and ensures delivery order but does not insert resumption checkpoints; Option C (Presentation Layer) is wrong because it handles data formatting, encryption, and compression; Option D (Network Layer) is wrong because it routes packets between networks and has no session-level recovery mechanism.
Encryption and decryption are key services provided by which layer?
Correct Answer: C. Presentation Layer
• **Presentation Layer** = the OSI layer responsible for encryption and decryption, sitting between the Application Layer and the network to convert data into a secure format before transmission and restore it upon receipt. • **Transparent to applications** — the application simply hands over plaintext; the Presentation Layer encrypts it silently without the application needing built-in cryptographic logic, then decrypts incoming data before passing it up. • The Presentation Layer also handles data compression and character-set translation (e.g., converting ASCII to EBCDIC) alongside encryption. • 💡 Option A (Application Layer) is wrong because it provides the user interface and network service protocols like HTTP, not cryptographic transformation; Option B (Session Layer) is wrong because it manages session establishment, token control, and checkpoints; Option D (Transport Layer) is wrong because it segments data and controls end-to-end flow, not data format conversion.
Which of the following describes the sequence of layers in the OSI model from top to bottom?
Correct Answer: A. A-P-S-T-N-D-P
• **A-P-S-T-N-D-P** = the correct top-to-bottom order: Application (7), Presentation (6), Session (5), Transport (4), Network (3), Data Link (2), Physical (1) — captured by the mnemonic 'All People Seem To Need Data Processing'. • **Why the order matters** — each layer only uses services from the layer directly below it; during sending, data is encapsulated layer by layer downward, and during receiving it is de-encapsulated layer by layer upward. • The reverse bottom-to-top mnemonic is 'Please Do Not Throw Sausage Pizza Away', useful when troubleshooting from the physical connection upward. • 💡 Option B (P-D-N-T-S-P-A) is wrong because it is the bottom-to-top order, the opposite of what was asked; Option C (A-S-P-T-N-D-P) is wrong because it swaps Session and Presentation, placing Session above Presentation; Option D (P-N-D-T-S-P-A) is wrong because it places Network above Data Link and is not a valid layer sequence.
Which layer is responsible for 'Segmentation' of the data stream into smaller units?
Correct Answer: D. Transport Layer
• **Transport Layer** = the OSI layer responsible for segmentation, breaking the large data block received from the Session Layer into smaller chunks called segments so that the network can transmit them efficiently. • **Sequence numbers** — each segment carries a sequence number in its TCP header, enabling the receiving Transport Layer to detect missing segments and reassemble all of them in the correct order even if they arrive out of sequence. • Segmentation also allows different segments to take different network paths simultaneously, increasing throughput. • 💡 Option A (Network Layer) is wrong because it routes packets between networks but does not perform the initial segmentation of application data; Option B (Physical Layer) is wrong because it transmits raw bits and has no concept of dividing data streams; Option C (Data Link Layer) is wrong because it encapsulates packets into frames for hop-level delivery, not for segmenting application-layer messages.
At which layer of the OSI model does the Internet Protocol (IP) work?
Correct Answer: A. Layer 3
• **Layer 3 (Network Layer)** = the OSI layer where the Internet Protocol (IP) operates, because IP provides logical addressing (IP addresses) and routing rules that guide packets across multiple networks from source to destination. • **Routing vs switching** — Network Layer routers read IP headers to forward packets toward the correct destination network, whereas Data Link Layer switches read MAC addresses to deliver frames within a single local segment. • Other Network Layer protocols include ICMP (error messages), OSPF and BGP (routing protocols that build and maintain routing tables). • 💡 Option B (Layer 2) is wrong because Layer 2 is the Data Link Layer, which uses MAC addresses for local delivery; Option C (Layer 4) is wrong because it is the Transport Layer, hosting TCP and UDP; Option D (Layer 5) is wrong because it is the Session Layer, managing session establishment and synchronization.
Which layer provides 'End-to-End Flow Control' to ensure data is not lost due to congestion?
Correct Answer: C. Transport Layer
• **Transport Layer** = the OSI layer that provides end-to-end flow control, regulating the sending rate so a fast sender does not flood a slower receiver's buffer and cause packet loss. • **Sliding window** — TCP implements flow control with a sliding window: the receiver continuously advertises its available buffer space, and the sender must not exceed that window size, automatically slowing down when the receiver is busy. • This end-to-end flow control is distinct from the hop-by-hop flow control that the Data Link Layer performs between directly adjacent nodes. • 💡 Option A (Network Layer) is wrong because it manages routing and router-level congestion, not application-to-application flow control; Option B (Data Link Layer) is wrong because its flow control works only between two adjacent nodes on a single link; Option D (Session Layer) is wrong because it handles session establishment, token management, and synchronization checkpoints.
Which layer is responsible for determining the physical topology of the network, such as Bus or Star?
Correct Answer: D. Physical Layer
• **Physical Layer** = the OSI layer that determines the physical topology of a network — Bus, Star, Ring, Mesh — because it specifies how devices are actually wired together through cables, hubs, and other physical hardware. • **Physical vs logical topology** — physical topology is the actual cable layout; logical topology is how data flows, which can differ (e.g., a Star topology using a hub behaves like a logical Bus because the hub broadcasts to all ports). • Physical Layer standards cover connector types, cable specifications, maximum segment lengths, and electrical signal characteristics. • 💡 Option A (Data Link Layer) is wrong because it manages frame delivery and MAC addressing, not the physical wiring layout; Option B (Session Layer) is wrong because it handles session management and synchronization; Option C (Network Layer) is wrong because it handles logical (IP) addressing and packet routing, not physical cable arrangement.
Which layer handles the 'Log-in and Log-off' procedures for a network session?
Correct Answer: A. Session Layer
• **Session Layer** = the OSI layer that manages log-in and log-off procedures, establishing a communication session only after verifying the user's identity and gracefully releasing all resources at log-off. • **Session lifecycle** — the Session Layer opens a session (authentication/log-in), maintains it with periodic synchronization and token management during the exchange, then terminates it cleanly (log-off) to free network resources. • Application-layer protocols such as NFS, SQL session management, and RPC depend on Session Layer services to establish and close their connections. • 💡 Option B (Application Layer) is wrong because it provides the user-facing interface and protocols like HTTP or FTP, not the underlying session control; Option C (Presentation Layer) is wrong because it handles data formatting and encryption; Option D (Transport Layer) is wrong because it provides segmentation and end-to-end reliable delivery, not authentication or session management.