protocol behaviours and OSI layers Flashcards

(13 cards)

1
Q

What are the 7 layers of the OSI model (from top to bottom)?

A

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

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

What is the primary function of the Transport Layer?

A

Provides reliable or unreliable delivery; includes error recovery, flow control (e.g., TCP, UDP)

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

What protocol provides reliable, connection-oriented delivery at the transport layer?

A

TCP (Transmission Control Protocol)

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

What protocol provides connectionless, unreliable delivery at the transport layer?

A

UDP (User Datagram Protocol)

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

Which OSI layer is responsible for routing and logical addressing?

A

Network Layer (e.g., IP, routers)

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

Q: Which layer handles framing, MAC addressing, and error detection?

A

A: Data Link Layer (e.g., Ethernet, PPP)

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

Q: What is TCP Slow Start?

A

A: TCP starts with a small congestion window and increases it exponentially until a threshold is reached or congestion occurs.

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

Q: What is the purpose of TCP Congestion Avoidance?

A

A: To incrementally increase the congestion window linearly to prevent congestion collapse

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

Q: What does Fast Retransmit do in TCP?

A

A: Retransmits a lost packet after receiving 3 duplicate ACKs — faster than waiting for timeout

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

Q: What is the role of PPP (Point-to-Point Protocol)?

A

A: Encapsulates Layer 3 packets over point-to-point links; supports byte/bit stuffing and error detection

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

Q: What is Bit Stuffing?

A

A: A technique used to ensure that flag sequences in the data stream don’t appear as actual data (insert a 0 after 5 consecutive 1s)

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

Q: What is Byte Stuffing in PPP?

A

A: Inserts escape sequences before special bytes (e.g., 0x7E, 0x7D) to avoid confusion with control characters

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

Q: What protocol maps client MAC addresses to IP addresses?

A

A: ARP (Address Resolution Protocol)

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