Section 5: OSI Layer 4 - The Transport Layer

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/33

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:55 AM on 7/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

34 Terms

1
New cards

In the TCP header, which 16-bit field occupies bits 0–15 (blanked out in the diagram)?

Source Port

2
New cards

HTTP uses port [...].

80

3
New cards

SMTP email uses port [...].

25

4
New cards

The combination of [...] and destination port numbers can be used to track sessions.

Source

5
New cards

The most common Layer 4 protocols are TCP and [...].

UDP

6
New cards

The process by which a host is able to support multiple sessions simultaneously and manage the individual traffic streams over a single link. 

Session Multiplexing

7
New cards

The process of adjusting the flow of data from the sender to ensure that the receiving host can handle all of it.

Flow Control

8
New cards

This OSI layer provides transparent transfer of data between hosts and is responsible for end-to-end error recovery and flow control.

Transport Layer

9
New cards

This transport layer protocol carries out sequencing to ensure segments are processed in the correct order and none are missing.

TCP

10
New cards

This transport layer protocol does not carry out sequencing to ensure segments are processed in the correct order and none are missing.

UDP

11
New cards

What does the acronym UDP stand for?

User Datagram Protocol

12
New cards

Which transport layer protocol does not perform flow control? TCP or UDP?

UDP

13
New cards

Which transport layer protocol is connection oriented? TCP or UDP?

TCP

14
New cards

Which transport layer protocol is not reliable, meaning the receiving host does not send acknowledgments back to the sender?

UDP

15
New cards

Which transport layer protocol is reliable where lost segments are resent? TCP or UDP?

TCP

16
New cards

Which transport layer protocol is used by Telnet?

TCP

17
New cards

Which transport layer protocol is used by TFTP?

UDP

18
New cards

Which transport layer protocol is used by Telnet?

TCP

19
New cards

Which transport layer protocol sends traffic best effort? TCP or UDP?

UDP

20
New cards

At the Transport layer, what key piece of information is included that identifies which application traffic belongs to?

The port number

21
New cards

Why does a device check the Layer 4 header (port number) after already verifying the destination IP at Layer 3?

To determine which specific application the traffic is intended for (e.g., a server running both a web service on port 80 and an email service on port 25).

22
New cards

What's the key tradeoff between using TCP vs. UDP at the Transport layer?

TCP provides reliability; UDP prioritizes speed over reliability. TCP is used when reliable delivery matters; UDP is used for traffic like voice/video where speed matters more.

23
New cards

Why does the Transport layer break large files into smaller segments?

Smaller segments are less likely to incur transmission problems than one large block of data.

24
New cards

What are the three steps of the TCP three-way handshake?

SYN (sender initiates) → SYN-ACK (receiver acknowledges and synchronizes) → ACK (sender acknowledges) — connection is then established.

25
New cards

In a typical client-to-server connection, what source port does the client use, and what determines the destination port?

The client uses a random source port above 1024; the destination port is the standard port for the service being accessed (e.g., port 80 for HTTP).

26
New cards

How does a stateful firewall use port numbers to allow return traffic while blocking unsolicited inbound traffic?

It tracks the source/destination port combination of outbound connections it allowed, and permits matching return traffic back through — but blocks traffic that wasn't initiated from the trusted side.

27
New cards

What fields are included in the TCP header that are NOT present in the UDP header? (name at least 3)

Sequence number, acknowledgment number, header length, reserved field, code bits, window, urgent pointer, options.

28
New cards

What fields make up the UDP header?

Source port, destination port, length, checksum, and data.

29
New cards

Why does UDP have significantly less overhead than TCP?

Its header is much smaller/simpler — it lacks the connection setup, sequencing, acknowledgment, and flow control fields TCP requires.

30
New cards

Why do real-time applications like voice and video typically use UDP instead of TCP?

They are highly sensitive to latency/delay, and TCP's extra overhead (handshake, acknowledgments, retransmission) would degrade real-time quality.

31
New cards

If UDP doesn't provide reliability or error recovery, how can an application using UDP still achieve reliable delivery?

Error detection and recovery must be implemented at the upper layers (application level) instead — UDP itself does not provide it.

32
New cards

What are the standard TCP port numbers for: FTP, SSH, Telnet, HTTP, HTTPS?

FTP – 21, SSH – 22, Telnet – 23, HTTP – 80, HTTPS – 443

33
New cards

What are the standard UDP port numbers for TFTP and SNMP?

TFTP – 69, SNMP – 161

34
New cards

Which well-known application protocol can use both TCP and UDP, and what port does it use?

DNS, port 53