layer 4 flash cards

(16 cards)

1
Q

Q: What OSI layer is responsible for segmentation and reassembly?

A

A: Layer 4 – The Transport Layer

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

Q: What two protocols operate at the Transport Layer?

A

A: TCP and UDP

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

Q: What is multiplexing in the transport layer?

A

A: Using port numbers to manage multiple conversations on one device.

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

Q: Is TCP connection-oriented or connectionless?

A

A: Connection-oriented

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

Q: What does TCP use to ensure reliability?

A

A: Acknowledgments and retransmissions

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

Q: What is the 3-way handshake in TCP?

A

A: SYN → SYN-ACK → ACK

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

Q: Does TCP guarantee packet order?

A

A: Yes

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

Q: What are TCP flags used for?

A

A: To control connection (e.g., SYN, ACK, FIN, RST)

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

Q: What field in TCP tells the receiver how many bytes it can accept?

A

A: Window Size

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

Q: Is UDP connection-oriented or connectionless?

A

A: Connectionless

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

Q: Does UDP guarantee delivery?

A

A: No

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

Q: Why is UDP faster than TCP?

A

A: It has less overhead and no connection setup.

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

Q: What are typical applications of UDP?

A

A: DNS, DHCP, VoIP, video streaming, TFTP

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

Q: What is common in both TCP and UDP headers?

A

A: Source Port, Destination Port, Checksum

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

Q: Which protocol includes Sequence and Acknowledgment numbers?

A

A: TCP

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

Q: What field defines segment size in UDP?