← Back to OSI Overview

OSI Model Practice Quiz

20 multiple-choice questions drawn from all seven layers — PDUs, addressing, ports, subnetting, protocol placement and layer-by-layer troubleshooting. Pick an answer and the explanation appears straight away, so a wrong guess is still worth something.

Nothing is submitted anywhere. Your score stays in this browser, and the home page remembers which layers you have worked through.

All seven layers

  1. Which mnemonic gives the OSI layers from Layer 1 up to Layer 7?

  2. Put these PDUs in order from Layer 1 to Layer 4.

  3. A switch forwards traffic based on what?

  4. Which layer adds the source and destination IP addresses?

  5. A cable is plugged into the wrong port and the link light is off. Which layer would you troubleshoot first?

  6. Which protocol resolves an IPv4 address into a MAC address?

  7. How many usable host addresses are in a /28 subnet?

  8. What is the correct sequence of the TCP three-way handshake?

  9. Which of these uses UDP rather than TCP?

  10. What does TTL in an IPv4 header prevent?

  11. Which layer is responsible for encryption in the OSI model as it is usually taught?

  12. What is the standard MTU of an Ethernet link?

  13. Which device separates broadcast domains?

  14. What is the difference between a well-known port and an ephemeral port?

  15. HTTP, SMTP and DNS all live at which layer?

  16. What does the Frame Check Sequence at the end of an Ethernet frame do?

  17. In the four-layer TCP/IP model, which OSI layers map onto the Application layer?

  18. Which routing protocol is used between Autonomous Systems on the public internet?

  19. You can ping a server by IP address but not by name. Which layer is most likely at fault?

  20. Which statement about UDP is true?