Quick Kit: 38 MCQs with answers

All 38 multiple-choice questions from this kit, free and with no sign-up.

Warm-up · 19 questions

Q1. Which layer of the OSI model is responsible for logical addressing and routing?

Beginner
A Network B Session C Data Link D Transport
Show answer & explanation

Network

Layer 3 (Network) handles IP addresses and routing. Routers operate at this layer.

Q2. Which layer uses MAC addresses to deliver frames across a single link?

Beginner
A Network B Physical C Transport D Data Link
Show answer & explanation

Data Link

Layer 2 (Data Link) uses MAC addresses and frames. Switches and bridges work here.

Q3. What is the Protocol Data Unit (PDU) at the Transport layer when using TCP?

Beginner
A Frame B Datagram C Packet D Segment
Show answer & explanation

Segment

TCP uses segments at Layer 4. UDP uses datagrams.

Q4. Which layer of the OSI model handles encryption and data compression?

Beginner
A Application B Transport C Session D Presentation
Show answer & explanation

Presentation

Layer 6 (Presentation) translates data formats, handles encryption, compression, and character encoding.

Q5. During data encapsulation, what happens as data moves from Layer 7 to Layer 1 on the sender?

Beginner
A Data is compressed at each layer B Headers are removed at each layer C Headers are added at each layer D Data is encrypted at each layer
Show answer & explanation

Headers are added at each layer

Encapsulation adds headers (and sometimes trailers) as data moves down the layers. Decapsulation removes them on the receiver side.

Q6. A network engineer is troubleshooting a connectivity issue. The cable is plugged in, but the device cannot reach a remote server. Which layer should the engineer check next after confirming Layer 1 is working?

Beginner
A Layer 7 (Application) B Layer 4 (Transport) C Layer 3 (Network) D Layer 2 (Data Link)
Show answer & explanation

Layer 3 (Network)

After verifying physical connectivity (Layer 1), the next step is to check logical addressing and routing at Layer 3 (Network).

Q7. Which of the following best describes the relationship between the OSI model and the TCP/IP model?

Beginner
A The OSI model is a 7-layer reference model, while TCP/IP is a 4-layer protocol suite used on the internet B They are identical in structure and function C The OSI model is a practical implementation, while TCP/IP is a conceptual framework D TCP/IP has more layers than the OSI model
Show answer & explanation

The OSI model is a 7-layer reference model, while TCP/IP is a 4-layer protocol suite used on the internet

The OSI model is a conceptual 7-layer framework. TCP/IP is a practical 4-layer protocol suite that powers the internet. They are not competitors; OSI helps think abstractly, TCP/IP is what is actually used.

Q8. A switch operates at which layer of the OSI model?

Beginner
A Layer 4 (Transport) B Layer 2 (Data Link) C Layer 3 (Network) D Layer 1 (Physical)
Show answer & explanation

Layer 2 (Data Link)

Switches operate at Layer 2 (Data Link), using MAC addresses to forward frames.

Q9. Which layer of the OSI model manages the setup, maintenance, and teardown of sessions between applications?

Beginner
A Transport B Session C Application D Presentation
Show answer & explanation

Session

Layer 5 (Session) manages dialogues between applications, including session control (setup, maintenance, teardown).

Q10. The OSI model was developed by the ISO in 1984.

Beginner
A True B False
Show answer & explanation

True

The International Organization for Standardization (ISO) developed the OSI model in 1984.

Q11. In the OSI model, each layer communicates directly with its peer layer on the receiving system without going through adjacent layers.

Beginner
A True B False
Show answer & explanation

False

Each layer communicates logically with its peer layer, but physically data flows through adjacent layers (down on sender, up on receiver).

Q12. The process of adding headers as data moves down the OSI layers on the sender side is called ___.

Beginner
Show answer & explanation

—

Encapsulation adds headers/trailers at each layer. Decapsulation removes them on the receiver side.

Q13. At Layer 2, data is organized into units called ___.

Beginner
Show answer & explanation

—

The Data Link layer uses frames as its PDU, which include MAC addresses.

Q14. List the seven layers of the OSI model in order from top to bottom.

Beginner
Show answer & explanation

—

Full marks require the correct order starting from Layer 7 down to Layer 1.

Q15. What is the primary function of the Physical layer (Layer 1)?

Beginner
Show answer & explanation

—

Focus on raw bit transmission and physical hardware.

Q16. What is the primary function of the Data Link layer (Layer 2)?

Beginner
Show answer & explanation

—

Mention MAC addresses, frames, and error detection.

Q17. What is the primary function of the Network layer (Layer 3)?

Beginner
Show answer & explanation

—

Include IP addressing, routing, and routers.

Q18. What is the function of the Application layer (Layer 7)?

Beginner
Show answer & explanation

—

Give examples like HTTP and SMTP.

Q19. Name two devices that operate at Layer 2 and Layer 3 respectively.

Beginner
Show answer & explanation

—

Switch for Layer 2, router for Layer 3.

Building up · 11 questions

Q20. What is the difference between TCP and UDP at the Transport layer?

Intermediate
Show answer & explanation

—

Contrast reliability, connection orientation, and error recovery.

Q21. What is the role of the Session layer (Layer 5)?

Intermediate
Show answer & explanation

—

Focus on session management and control.

Q22. What does the Presentation layer (Layer 6) do?

Intermediate
Show answer & explanation

—

Mention translation, encryption, compression, and encoding.

Q23. Explain the process of data encapsulation in the OSI model.

Intermediate
Show answer & explanation

—

Describe the downward movement and header addition.

Q24. Explain the process of data decapsulation in the OSI model.

Intermediate
Show answer & explanation

—

Describe the upward movement and header removal.

Q25. What is a Protocol Data Unit (PDU) and give examples for Layers 2, 3, and 4.

Intermediate
Show answer & explanation

—

Define PDU and list the correct terms for each layer.

Q26. A network engineer is troubleshooting a scenario where two devices on the same Ethernet switch can communicate, but neither can reach a server on a different subnet. After verifying that Layer 1 and Layer 2 are functioning correctly, which layer should the engineer investigate next, and what specific function at that layer is most likely the issue?

Intermediate
A Layer 5 (Session layer), because the session between the devices and the server may not have been established. B Layer 6 (Presentation layer), because encryption or character encoding differences could prevent communication. C Layer 3 (Network layer), because logical addressing and routing determine the path to a different subnet. D Layer 4 (Transport layer), because TCP or UDP port numbers might be blocked by a firewall.
Show answer & explanation

Layer 3 (Network layer), because logical addressing and routing determine the path to a different subnet.

Since the devices are on the same subnet (they communicate via the switch at Layer 2), but cannot reach a server on a different subnet, the problem lies in inter-network communication. Layer 3 (Network layer) is responsible for logical addressing (IP addresses) and routing, which are required to forward packets across…

Q27. During data encapsulation, a web browser sends an HTTP request to a server. As the data moves from Layer 7 down to Layer 1 on the sender, which of the following best describes the transformation of the Protocol Data Unit (PDU) at Layer 4 and Layer 2?

Intermediate
A At Layer 4, the PDU is a frame; at Layer 2, the PDU is a bit stream. B At Layer 4, the PDU is a datagram (only for UDP); at Layer 2, the PDU is a packet. C At Layer 4, the PDU is a segment (with TCP or UDP header); at Layer 2, the PDU is a frame (with MAC addresses and a trailer). D At Layer 4, the PDU is a packet; at Layer 2, the PDU is a segment.
Show answer & explanation

At Layer 4, the PDU is a segment (with TCP or UDP header); at Layer 2, the PDU is a frame (with MAC addresses and a trailer).

In the OSI model, the Transport layer (Layer 4) encapsulates data into segments (for TCP) or datagrams (for UDP), adding a header with port numbers. The Data Link layer (Layer 2) encapsulates the packet from Layer 3 into a frame, adding MAC addresses and a trailer for error detection. The other options incorrectly mix…

Q28. A company deploys a network device that inspects packet headers and makes forwarding decisions based on IP addresses. It also has the ability to rewrite MAC addresses when forwarding between different network segments. At which OSI layers does this device primarily operate?

Intermediate
A Layer 2 (Data Link) only, because it uses MAC addresses. B Both Layer 2 and Layer 3, because it uses IP addresses for routing and MAC addresses for frame delivery. C Layer 3 (Network) only, because it uses IP addresses. D Layer 4 (Transport) and Layer 3, because it inspects port numbers and IP addresses.
Show answer & explanation

Both Layer 2 and Layer 3, because it uses IP addresses for routing and MAC addresses for frame delivery.

The device makes forwarding decisions based on IP addresses (Layer 3 function) and rewrites MAC addresses when forwarding between segments (Layer 2 function). This describes a router or a Layer 3 switch, which operates at both the Network layer (routing) and the Data Link layer (frame handling). The device does not ins…

Q29. Two applications on different hosts need to exchange data with guaranteed delivery and in the correct order. The network path includes a mix of copper and fiber optic cables. Which OSI layers are directly responsible for ensuring reliable data transfer and for handling the physical medium differences?

Intermediate
A Layer 5 (Session) ensures reliable delivery; Layer 2 (Data Link) handles the physical medium. B Layer 4 (Transport) ensures reliable delivery; Layer 2 (Data Link) handles the physical medium. C Layer 4 (Transport) ensures reliable delivery; Layer 1 (Physical) handles the physical medium. D Layer 3 (Network) ensures reliable delivery; Layer 1 (Physical) handles the physical medium.
Show answer & explanation

Layer 4 (Transport) ensures reliable delivery; Layer 1 (Physical) handles the physical medium.

The Transport layer (Layer 4) provides reliable delivery through protocols like TCP, which manages sequencing, acknowledgments, and retransmissions. The Physical layer (Layer 1) is responsible for transmitting raw bits over the physical medium, whether copper or fiber. The Data Link layer (Layer 2) handles framing and…

Q30. A network administrator notices that data sent from a client to a server arrives with corrupted characters due to a mismatch in character encoding (e.g., the client uses ASCII while the server expects EBCDIC). At which OSI layer should the administrator configure a translation service to resolve this issue?

Intermediate
A Layer 7 (Application), because the application must handle all data formatting. B Layer 6 (Presentation), because it is responsible for translating between different data formats and character encodings. C Layer 5 (Session), because it manages the dialogue and can negotiate encoding during session setup. D Layer 4 (Transport), because it ensures data integrity through error checking.
Show answer & explanation

Layer 6 (Presentation), because it is responsible for translating between different data formats and character encodings.

The Presentation layer (Layer 6) handles data translation, including character encoding conversion (e.g., ASCII to EBCDIC), encryption, and compression. The Application layer (Layer 7) provides network services to user applications but does not typically perform encoding translation. The Session layer manages connectio…

Topper level · 8 questions

Q31. How is the OSI model used as a troubleshooting tool?

Advanced
Show answer & explanation

—

Describe the bottom-up approach and give an example.

Q32. Why is the OSI model considered a conceptual framework rather than a protocol implementation?

Advanced
Show answer & explanation

—

Emphasize the 'what' vs. 'how' distinction and the common vocabulary.

Q33. What is the difference between logical addressing (Layer 3) and physical addressing (Layer 2)?

Advanced
Show answer & explanation

—

Contrast IP (logical, hierarchical) with MAC (physical, flat).

Q34. A network engineer observes that data transmitted from Host A to Host B arrives with occasional bit errors, but the receiving application never requests retransmission. The physical medium is a mix of copper and fiber, and the network path includes a switch and a router. At which OSI layers should the engineer look to explain why bit errors are not being corrected?

Advanced
A Layer 5 (Session) and Layer 6 (Presentation) — because these layers handle data formatting and session recovery, which would correct bit errors. B Layer 4 (Transport) only — because TCP's acknowledgment mechanism ensures retransmission of corrupted segments, so if no retransmission occurs, the issue is at Layer 4. C Layer 1 (Physical) and Layer 2 (Data Link) — because bit errors originate at Layer 1, and Layer 2's error detection (e.g., CRC) may be disabled or not configured to trigger retransmission. D Layer 3 (Network) and Layer 4 (Transport) — because IP routing and TCP checksums are responsible for detecting and correcting bit errors.
Show answer & explanation

Layer 1 (Physical) and Layer 2 (Data Link) — because bit errors originate at Layer 1, and Layer 2's error detection (e.g., CRC) may be disabled or not configured to trigger retransmission.

Bit errors originate at Layer 1 (Physical) due to signal degradation. Layer 2 (Data Link) typically uses a frame check sequence (e.g., CRC) to detect errors, but it does not inherently request retransmission; that is often left to higher layers (e.g., Layer 4 TCP). If the application never requests retransmission, it m…

Q35. A company deploys a network appliance that performs the following functions: (1) inspects the destination IP address of incoming packets and forwards them to the correct subnet, (2) rewrites the source MAC address to its own MAC address when forwarding between VLANs, and (3) applies encryption to the payload before transmission across a WAN link. At which OSI layers does this appliance primarily operate?

Advanced
A Layer 3 (Network) for IP forwarding, Layer 4 (Transport) for encryption (since encryption often occurs at the transport layer in VPNs), and Layer 2 (Data Link) for MAC rewriting. B Layer 3 (Network) only — because IP forwarding is the primary function; MAC rewriting is a Layer 2 function but is incidental, and encryption is a Layer 6 function but not part of the appliance's core operation. C Layer 2 (Data Link) for MAC rewriting and Layer 3 (Network) for IP forwarding; encryption is handled by Layer 4 (Transport) because it uses TLS. D Layer 3 (Network) for IP forwarding, Layer 2 (Data Link) for MAC rewriting, and Layer 6 (Presentation) for encryption.
Show answer & explanation

Layer 3 (Network) for IP forwarding, Layer 2 (Data Link) for MAC rewriting, and Layer 6 (Presentation) for encryption.

The appliance makes forwarding decisions based on IP addresses, which is a Layer 3 function. Rewriting MAC addresses when forwarding between VLANs is a Layer 2 function (since MAC addresses are used at the Data Link layer). Encryption of payload is a Layer 6 (Presentation) function, as it involves transforming data for…

Q36. Two applications on different hosts need to exchange data with guaranteed delivery and in the correct order. The network path includes a mix of copper and fiber optic cables. Which OSI layers are directly responsible for ensuring reliable data transfer and for handling the physical medium differences?

Advanced
A Layer 3 (Network) ensures reliable data transfer through IP sequencing; Layer 1 (Physical) handles physical medium differences. B Layer 4 (Transport) ensures reliable data transfer; Layer 2 (Data Link) handles physical medium differences by using different frame formats for copper vs. fiber. C Layer 5 (Session) ensures reliable data transfer by managing session checkpoints; Layer 1 (Physical) handles physical medium differences. D Layer 4 (Transport) ensures reliable data transfer via TCP; Layer 1 (Physical) handles the physical medium differences by defining electrical/optical signals and connectors.
Show answer & explanation

Layer 4 (Transport) ensures reliable data transfer via TCP; Layer 1 (Physical) handles the physical medium differences by defining electrical/optical signals and connectors.

Reliable data transfer with guaranteed delivery and ordering is a function of Layer 4 (Transport), specifically using TCP which provides acknowledgments, retransmissions, and sequencing. Physical medium differences (copper vs. fiber) are handled at Layer 1 (Physical), which defines the electrical/optical characteristic…

Q37. A network administrator notices that data sent from a client to a server arrives with corrupted characters due to a mismatch in character encoding (e.g., the client uses ASCII while the server expects EBCDIC). At which OSI layer should the administrator configure a translation service to resolve this issue?

Advanced
A Layer 7 (Application) — because the application itself should handle character encoding differences. B Layer 6 (Presentation) — because this layer is responsible for translating between different data formats, including character encoding. C Layer 5 (Session) — because session management includes data format negotiation. D Layer 4 (Transport) — because TCP can be configured to convert character encodings using options.
Show answer & explanation

Layer 6 (Presentation) — because this layer is responsible for translating between different data formats, including character encoding.

The Presentation layer (Layer 6) is explicitly responsible for data translation, including character encoding conversion (e.g., ASCII to EBCDIC), encryption, and compression. The Application layer (Layer 7) provides network services to applications but does not typically handle low-level encoding translation; that is t…

Q38. A network engineer is troubleshooting a scenario where two devices on the same Ethernet switch can communicate, but neither can reach a server on a different subnet. After verifying that Layer 1 and Layer 2 are functioning correctly, which layer should the engineer investigate next, and what specific function at that layer is most likely the issue?

Advanced
A Layer 5 (Session) — the most likely issue is a session setup failure between the devices and the server. B Layer 4 (Transport) — the most likely issue is a firewall blocking TCP/UDP ports required to reach the server. C Layer 3 (Network) — the most likely issue is incorrect IP routing configuration, such as a missing default gateway or incorrect routing table entries. D Layer 6 (Presentation) — the most likely issue is a character encoding mismatch between the devices and the server.
Show answer & explanation

Layer 3 (Network) — the most likely issue is incorrect IP routing configuration, such as a missing default gateway or incorrect routing table entries.

Since the devices can communicate within the same subnet (Layer 2 works), but cannot reach a server on a different subnet, the problem is likely at Layer 3 (Network), which handles logical addressing and routing. The devices need to forward packets to a router (default gateway) to reach the other subnet. A missing or m…

Make your own

Your notes can be a kit like these

Every kit here was made from real study material. Point Veda at a chapter, a PDF, a photo or a link and get notes, flashcards, practice MCQs, games and a scored test — free, in 42 languages.

  • Chapter notes
  • Flashcards
  • Practice MCQs
  • Scored tests
  • Exam prep

Get Veda free See what students get

Free to start · No ads · Works in 42 languages