CCNA Network Infrastructure and Connectivity Practice Question
Which TWO statements correctly describe the encapsulation and de-encapsulation process at the transport layer of the OSI model?
⚠ Common exam trap
Cisco often tests the precise PDU naming convention (segment vs. packet vs. frame) and which layer performs which header removal, causing candidates to confuse the transport layer's role with the network layer's role.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
During encapsulation, the transport layer adds a header containing source and destination port numbers.
During encapsulation at the transport layer, the TCP or UDP header is added, which includes source and destination port numbers. These port numbers identify the specific application-layer processes on the sending and receiving hosts, enabling proper demultiplexing of data. Option D is correct because during de-encapsulation, the transport layer removes its own header (e.g., TCP or UDP header) and passes the remaining payload up to the session layer (or directly to the application layer in a simplified model).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
During encapsulation, the transport layer adds a header to form a packet.
Why it's wrong here
Although the transport layer does add a header during encapsulation, the resulting protocol data unit is not called a packet. A packet is the PDU at the network layer; the transport layer produces a segment (for TCP) or a datagram (for UDP). The transport header contains port information to support process-to-process communication, but calling it a packet misidentifies the layer where the encapsulation occurs.
- ✓
During encapsulation, the transport layer adds a header containing source and destination port numbers.
Why this is correct
During encapsulation, the transport layer encapsulates upper-layer data with a header that records source and destination port numbers. These ports identify the specific application processes on the sending and receiving hosts, enabling the OS to demultiplex incoming data to the correct service. In TCP, the header includes additional fields like sequence numbers and windows, but the port numbers are the essential addressing mechanism that distinguishes this layer from the network layer's IP addressing.
- ✗
During de-encapsulation, the transport layer removes the IP header to extract the segment.
Why it's wrong here
De-encapsulation at the receiving host is a layered process, and removing the IP header is the network layer's job, not the transport layer's. Once the network layer strips the IP header from the packet, it hands the remaining segment to the transport layer. The transport layer then examines its own header—for example, verifying the TCP checksum and reading destination ports—before processing the payload. Therefore, this statement incorrectly attributes the network layer's function to the transport layer.
- ✓
During de-encapsulation, the transport layer removes its header and passes the payload to the session layer.
Why this is correct
In the OSI model, after the transport layer has verified its header and performed any reliability functions, it removes that header and passes the payload upward to the session layer (Layer 5). The transport layer is the first layer that provides end-to-end communication between applications, so it hands data to the session layer after ensuring it has been properly received. Note that in the TCP/IP model the analogous handoff is to the application layer, but the question's context follows OSI terminology, making this statement correct.
- ✗
During encapsulation, the transport layer adds a trailer for error detection.
Why it's wrong here
Error-detection trailers are not a transport-layer function; the data link layer appends a frame check sequence, such as a CRC trailer, at the end of a frame. The transport layer, particularly TCP, does include a checksum field inside its header to detect bit errors in the segment, but this is not a trailer. Adding a trailer at Layer 4 would be redundant and would conflict with how PDU boundaries are maintained in layer 2 framing.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The 200-301 exam frequently reuses these exact scenarios with slightly different constraints.
✓During encapsulation, the transport layer adds a header containing source and destination port numbers.Correct answer▾
Why this is correct
During encapsulation, the transport layer encapsulates upper-layer data with a header that records source and destination port numbers. These ports identify the specific application processes on the sending and receiving hosts, enabling the OS to demultiplex incoming data to the correct service. In TCP, the header includes additional fields like sequence numbers and windows, but the port numbers are the essential addressing mechanism that distinguishes this layer from the network layer's IP addressing.
✗During encapsulation, the transport layer adds a header to form a packet.Wrong answer — click to see why▾
Why this is wrong here
This statement confuses the PDU naming: packet belongs to Layer 3, not Layer 4.
✗During de-encapsulation, the transport layer removes the IP header to extract the segment.Wrong answer — click to see why▾
Why this is wrong here
This describes a Layer 3 de-encapsulation step, not a Layer 4 step.
✗During encapsulation, the transport layer adds a trailer for error detection.Wrong answer — click to see why▾
Why this is wrong here
Trailers are a Layer 2 feature; the transport layer uses header-based checksums for integrity.
Analysis generated from the official 200-301blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Quick reference
OSI Model Reference
| Layer | Name | PDU | Key Protocols / Devices |
|---|---|---|---|
| 7 | Application | Data | HTTP, HTTPS, DNS, SMTP, FTP, SSH |
| 6 | Presentation | Data | TLS / SSL, JPEG, ASCII encoding |
| 5 | Session | Data | NetBIOS, RPC, SIP |
| 4 | Transport | Segment / Datagram | TCP, UDP |
| 3 | Network | Packet | IP, ICMP, OSPF — Routers |
| 2 | Data Link | Frame | Ethernet, Wi-Fi, PPP — Switches, Bridges |
| 1 | Physical | Bits | Cables, NICs, Hubs, Repeaters |
Go deeper
Related to this question
Learn chapter
The OSI Model
Key term
OSI model
The OSI model is a conceptual framework that standardizes the functions of a telecommunication or computing system into seven distinct layers, from physical hardware to application software.
Key term
TCP
TCP is a connection-oriented transport layer protocol that ensures reliable, ordered, and error-checked delivery of data between applications over IP networks.
About these practice questions
One of 1,389 original 200-301 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 200-301 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-301 exam.