L1. Why do we need protocol layering? Flashcards

1
Q

What is protocol layering?

A

The organization of network communication protocols into a hierarchical structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does a layer do?

A

Each layer is responsible for specific tasks related to data transmission

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do different layers interact?

A

Adjacent layers interact with eachother through standardized interfaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the benefits of protocol layering?

A

Protocol layering allows for abstraction, modularization, and easier maintenance of networking systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does abstraction mean?

A

Abstraction involves hiding complex implementation details behind simpler interfaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does abstraction mean in the context of protocol layering?

A

Each layer in the protocol stack performs specific tasks without requiring any information about the implementation of protocols at other layers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the benefits of abstraction in the context of protocol layering?

A

Abstraction facilitates design, implementation, and troubleshooting of network protocols by allowing developers to focus on one layer at a time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Do changes to one network layer affect other layers?

A

Since each layer operates independently, changes or updates to one layer does not affect other layers so long as the interfaces between layers remain consistent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What model of the network stack have we looked at in this course?

A

The five-layer TCP/IP model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Name the layers of the protocol stack

A

Application Layer, Transport Layer, Network Layer, Link Layer, Physical Layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the application layer do?

A

The application layer defines protocols and standards for application-level services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are some application-level services?

A

Web browsing, email, file transfer, remote access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Name some application layer protocols and what they are used for

A

HTTP for web browsing, SMTP, IMAP, and POP3 for email, FTP for file transfer, DNS for resolving domain names to IP addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How do the application layer and transport layer communicate?

A

The application layer provides data to the transport layer, along with information on how the data should be transmitted, such as specifications for which transport protocol to be used. The transport layer takes outgoing data provided by the application layer and segments it, and makes sure incoming data is delivered to the correct process on the host

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does the transport layer do?

A

The transport layer is responsible for creating end-to-end connections between hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Name some transport layer protocols

A

The two main transport layer protocols are TCP and UDP. TCP is a connection-oriented protocol that ensures reliable, ordered delivery of data packets with mechanisms for error detection , retransmission, and flow control. UDP is connectionless and does not provide any of the reliability of TCP, but has lower latency. There is also the QUIC protocol which is based on UDP and offers similar low latency but has added features for reliability and security

17
Q

What does the network layer do?

A

The network layer is responsible for addressing, routing, and forwarding data between networks. It determines the best path for data transmission accross interconnected networks.

18
Q

Name some network layer protocols

A

The primary protocol used in the network layer is the Internet Protocol (IP), which includes version IPv4 and IPv6

19
Q

What does the link layer do?

A

The link layer is responsible for the transmission of data between adjacent nodes in a network. It divides data into frames, adding headers and trailers for error detection and correction. It provides MAC addresses to network interfaces. It performs access control to avoid collisions in shared media networks. It detects and corrects errors that occur during transmission using techniques like CRC

20
Q

Name some link layer protocols

A

Link layer protocols include Ethernet, for local area networks, and Wi-Fi for wireless local area networks

21
Q

What does the physical layer do?

A

The physical layer is responsible for transmitting raw data bits over physical media, such as copper wire, fibre optics, or wireless transmission. It defines the electrical, optical, or radiosignalling characteristics used for the physical transmission of data

22
Q

Name some physical layer protocols

A

The physical layer doesn’t have protocols as such, but it has standards and specifications. Link layer protocols Ethernet and Wi-Fi also encompass specifications used at the physical layer