1. Home
  2. Explore
  3. Computer Science
  4. TCP/IP and OSI Models

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

TCP/IP and OSI Models

  • 30Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Purpose of Networking Models

Why was the OSI model developed?

30 questions

  1. 1

    Why was the OSI model developed?

    Model answer

    To standardize network protocols and interfaces, ensuring interoperability between different vendors' equipment.

    Explanation

    The OSI model was created to stop vendors from creating proprietary protocols that don't work with each other, promoting standardization and interoperability.

  2. 2

    What does ISO stand for in the context of the OSI model?

    Model answer

    International Organization for Standardization.

    Explanation

    The OSI model was created by the International Organization for Standardization (ISO).

  3. 3

    What is an RFC and what is its purpose in the TCP/IP model?

    Model answer

    An RFC (Request For Comments) is a document that specifies a protocol (e.g., TCP, OSPF) to standardize its implementation.

    Explanation

    RFCs define how protocols work, ensuring consistency across vendor devices.

  4. 4

    Give an example of a standardized physical interface that works across multiple vendors.

    Model answer

    RJ45 connector with CAT5e UTP cable can connect to switches from Cisco, UniFi, Netgear, and routers from TP-Link due to standardization.

    Explanation

    Standard interfaces like RJ45 allow cables to work with equipment from different vendors.

  5. 5

    List the seven layers of the OSI model from bottom (Layer 1) to top (Layer 7).

    Model answer

    Physical, Data Link, Network, Transport, Session, Presentation, Application.

    Explanation

    These are the standard seven layers of the OSI model.

  6. 6

    What mnemonic is given in the content to remember the OSI layers?

    Model answer

    All People Sleeping Through Networking Don't Pass.

    Explanation

    Each word's first letter corresponds to a layer: Application, Presentation, Session, Transport, Network, Data Link, Physical.

  7. 7

    At which OSI layer do hubs operate? Switches? Routers?

    Model answer

    Hubs operate at Layer 1 (Physical), switches (or bridges) at Layer 2 (Data Link), and routers at Layer 3 (Network).

    Explanation

    Devices are classified by the layer at which they process data.

  8. 8

    How many layers does the original TCP/IP model have, and what are they?

    Model answer

    Four layers: Link, Internet, Transport, Application.

    Explanation

    The original RFC 1122 TCP/IP model had four layers.

  9. 9

    How many layers does the hybrid five-layer TCP/IP model have, and what are they?

    Model answer

    Five layers: Physical, Data Link, Network, Transport, Application.

    Explanation

    The hybrid model splits the Link layer into Physical and Data Link, similar to the OSI model.

  10. 10

    Why do network engineers sometimes say 'Layer 7 problem' even though the TCP/IP model has only five layers?

    Model answer

    Because they are referring to the OSI model's Layer 7 (Application) rather than the TCP/IP Application layer.

    Explanation

    Engineers often use OSI layer numbering in casual conversation even when using the TCP/IP model.

  11. 11

    Which model is actually used in real-world networks today?

    Model answer

    The TCP/IP model.

    Explanation

    The TCP/IP model is the practical implementation; the OSI model is a reference.

  12. 12

    What happened to the OSI model's Session and Presentation layers in the TCP/IP model?

    Model answer

    They are combined into the Application layer.

    Explanation

    The TCP/IP Application layer encompasses the functions of OSI Layers 5, 6, and 7.

  13. 13

    Name two protocols at the Transport layer of the TCP/IP model.

    Model answer

    TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).

    Explanation

    These are the primary protocols at Layer 4.

  14. 14

    Name two protocols at the Network layer.

    Model answer

    IPv4 and IPv6.

    Explanation

    The Network layer uses IP (Internet Protocol) versions 4 and 6.

  15. 15

    Name two Application layer protocols mentioned in the content.

    Model answer

    HTTP and FTP (or HTTPS, Telnet, TFTP).

    Explanation

    These protocols operate at Layer 5-7.

  16. 16

    What is the most common Ethernet encapsulation at Layer 2?

    Model answer

    Ethernet II (or Ethernet 2).

    Explanation

    Ethernet II is the standard framing format for Ethernet.

  17. 17

    Name two serial link encapsulations mentioned in the content.

    Model answer

    PPP (Point-to-Point Protocol) and HDLC.

    Explanation

    These are used on serial interfaces instead of Ethernet.

  18. 18

    Match the terms bits, frames, packets, and segments to the correct layers.

    Model answer

    Bits at Layer 1, frames at Layer 2, packets at Layer 3, segments at Layer 4.

    Explanation

    The content defines these terms by layer.

  19. 19

    What does the Physical layer do?

    Model answer

    It transmits raw bitstreams as electrical, optical, or radio signals over physical media like cables or wireless.

    Explanation

    Layer 1 is concerned with the physical transmission of data.

  20. 20

    What does the Data Link layer manage?

    Model answer

    It manages physical addressing (MAC addresses), framing, and error correction between directly connected devices.

    Explanation

    Layer 2 handles communication within a single network segment.

  21. 21

    What does the Network layer provide?

    Model answer

    It provides logical addressing (IP addresses) and determines the best path through the network for end-to-end communication.

    Explanation

    Layer 3 enables routing across multiple networks.

  22. 22

    What does the Transport layer do?

    Model answer

    It supports communication between end devices across a diverse network, using TCP for connection-oriented reliable delivery or UDP for connectionless unreliable delivery.

    Explanation

    Layer 4 ensures data transfer between applications on different hosts.

  23. 23

    What is the main difference between TCP and UDP?

    Model answer

    TCP is connection-oriented and provides acknowledgment of received data (like a phone call), while UDP is connectionless and sends data without confirmation (like a letter).

    Explanation

    TCP ensures reliable delivery; UDP does not guarantee delivery.

  24. 24

    What is a MAC address and where is it normally stored?

    Model answer

    A MAC address is a hardware address burned into the network interface card (NIC) by the manufacturer.

    Explanation

    MAC addresses are used at Layer 2 for identifying devices on a local network.

  25. 25

    How can a MAC address change according to the content?

    Model answer

    Apple uses a private Wi-Fi address feature that changes the MAC address when connecting to different Wi-Fi networks for privacy.

    Explanation

    Normally MAC addresses are fixed, but modern OS can randomize them.

  26. 26

    What happens to Layer 2 information when a router forwards a packet from one interface to another?

    Model answer

    The router strips the incoming Layer 2 information and recreates it for the outgoing interface (e.g., Ethernet to PPP).

    Explanation

    Layer 2 encapsulation changes per hop; Layer 3 (IP) remains the same end-to-end.

  27. 27

    What is the three-way handshake in TCP?

    Model answer

    It is the process of establishing a TCP connection where both sides agree on parameters before data transmission, similar to saying 'hello' on a phone call.

    Explanation

    The three-way handshake ensures a reliable connection is established.

  28. 28

    Name two historical network protocols that were replaced by TCP/IP.

    Model answer

    NetBEUI and IPX/SPX (or IPX).

    Explanation

    These protocols were used in older networks but TCP/IP became dominant.

  29. 29

    What does the acronym ARPANET refer to?

    Model answer

    ARPANET was the early network that started the internet, with a three-layer model.

    Explanation

    ARPANET is the precursor to the modern Internet.

  30. 30

    Why did TCP/IP 'win' over the OSI model?

    Model answer

    TCP/IP became the practical standard used in the real world, while the OSI model remains a reference model.

    Explanation

    The content implies TCP/IP won due to widespread adoption.

1 of 30
Question 1 of 30

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent