Transport Layer Flashcards

1
Q
A
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 in the OSI model?

A

To provide end-to-end communication services for applications.

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

True or False: The transport layer is responsible for routing packets across the network.

A

False

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

What are the two main transport layer protocols?

A

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

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

Fill in the blank: TCP is a __________ protocol, while UDP is a __________ protocol.

A

connection-oriented; connectionless

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

What does TCP stand for?

A

Transmission Control Protocol

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

True or False: UDP guarantees the delivery of packets.

A

False

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

What feature does TCP provide to ensure reliable communication?

A

Error checking and retransmission of lost packets.

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

Which transport layer protocol is commonly used for streaming audio and video?

A

UDP (User Datagram Protocol)

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

What is the maximum segment size (MSS) in TCP?

A

The largest segment of data that the TCP layer is willing to receive.

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

Multiple Choice: Which of the following is a characteristic of UDP? A) Connection-oriented B) Low latency C) Guaranteed delivery

A

B) Low latency

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

What does the TCP three-way handshake consist of?

A

SYN, SYN-ACK, ACK

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

Fill in the blank: The transport layer is responsible for __________ management.

A

flow and congestion

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

True or False: TCP uses sequence numbers to order segments.

A

True

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

What is the purpose of port numbers in transport layer protocols?

A

To identify specific applications or services on a host.

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

Which protocol is more suitable for real-time applications: TCP or UDP?

17
Q

What is the role of a checksum in TCP and UDP?

A

To detect errors in transmitted segments.

18
Q

Multiple Choice: What type of connection does TCP establish? A) One-to-many B) Many-to-many C) One-to-one

A

C) One-to-one

19
Q

Fill in the blank: __________ is a method used by TCP to control congestion.

A

Congestion control algorithms

20
Q

What is the default port number for HTTP?

21
Q

True or False: UDP is suitable for applications that require high reliability.

22
Q

What is the function of the ‘FIN’ flag in TCP?

A

To indicate that the sender has finished sending data.

23
Q

What does the term ‘throughput’ refer to in the context of the transport layer?

A

The rate at which data is successfully transmitted over a network.

24
Q

Multiple Choice: Which of the following is NOT a feature of TCP? A) Flow control B) Packet ordering C) Connectionless communication

A

C) Connectionless communication

25
Q

What is the purpose of the ‘SYN’ flag in TCP?

A

To initiate a connection.

26
Q

Fill in the blank: The __________ layer is responsible for segmenting and reassembling data.

27
Q

True or False: Both TCP and UDP use ports to facilitate communication.

28
Q

What happens during the TCP connection termination process?

A

A four-way handshake occurs to close the connection.