🎓 BookMCQ
← Back to 23. Introduction to Transport Layer

📝 Transport Layer Services Overview (46 MCQs)

Core Services Between Application Processes and IP

The transport layer offers process-to-process communication across networked hosts and provides an interface through which applications send and receive data. Its common services include port addressing, multiplexing, demultiplexing, and segmentation or reassembly where required. Particular protocols may add connection establishment, ordered delivery, error recovery, flow control, and congestion control; these advanced functions are not guaranteed by every transport protocol.

Why Applications Require Different Delivery Characteristics

Applications differ in their tolerance for loss, delay, duplication, and reordering. A file transfer needs complete data in the correct order, whereas a live voice stream may prefer a recent sample over retransmission of an obsolete one. IP alone does not provide these application-facing choices, so transport protocols expose different service models and allow software designers to select an appropriate trade-off.

How Multiplexing and Demultiplexing Organize Traffic

At the sender, transport accepts data from several application sockets, associates each item with endpoint information, and adds the relevant header. IP carries the encapsulated unit toward the destination host. At reception, the transport protocol uses header fields and socket state to select the correct application endpoint, then applies the protocol's delivery rules before passing data upward.

Following Two Applications Using One Network Interface

Assume a computer runs a browser and a DNS resolver simultaneously. The browser sends TCP data from port 53000 to server port 443, while the resolver sends a UDP query from port 53001 to port 53. Both use the same host network interface, but transport headers allow incoming traffic to be directed to the appropriate socket.

Reliability, Flow Regulation and Network Resource Effects

Multiplexing lets many applications share a host connection, while demultiplexing keeps their data separated. TCP reliability requires acknowledgments, buffers, and retransmissions, which consume resources and can add delay. UDP has less transport state but leaves loss handling to the application. Flow control limits pressure on a receiver; congestion control adapts traffic to conditions within the network path.

Distinguishing Transport Services That Are Often Confused

'All transport services guarantee reliable delivery' is wrong: UDP does not retransmit lost datagrams. 'A port number identifies a computer' is wrong: an IP address identifies a host, while a port identifies a transport endpoint. 'Flow control and congestion control mean the same thing' is wrong: flow control protects receiver capacity, whereas congestion control responds to network capacity and competing traffic.

Exam Focus: Mapping Each Service to Its Protocol

Classify transport functions as addressing, multiplexing, sequencing, retransmission, flow control, or congestion control. Trace how IP addresses and transport ports identify a destination socket, then compare TCP byte-stream delivery with UDP message delivery. In written answers, state whether a feature belongs to a particular protocol or is a general service category rather than assuming every transport protocol implements it.

Key Terms for Transport Service Functions

  • Process-to-process - communication between application endpoints.
  • Multiplexing - combines outgoing application traffic.
  • Demultiplexing - selects the receiving socket.
  • Flow control - limits sending to receiver capacity.
  • Congestion control - adapts traffic to network load.
  • Reassembly - reconstructs data from received pieces.
12
Easy
21
Medium
13
Hard

📝 All Transport Layer Services Overview MCQs

Q1. Which layer directly receives services from the transport layer in the TCP/IP model?

A.Application layer ✅
B.Network layer
C.Data link layer
D.Physical layer
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: The transport layer hands data to the layer directly above it, which is the application layer. This layer hosts end‑user programs and uses the transport services to exchange messages. Hence, the application layer is the immediate recipient of transport‑layer services, making option A correct.

Q2. What protocol provides reliable, connection‑oriented service at the transport layer?

A.User Datagram Protocol (UDP)
B.Internet Control Message Protocol (ICMP)
C.Transmission Control Protocol (TCP) ✅
D.Simple Mail Transfer Protocol (SMTP)
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: TCP establishes a virtual circuit, ensures ordered delivery, retransmits lost segments, and provides flow control, fulfilling the definition of a reliable, connection‑oriented transport service. UDP is unreliable, ICMP is for diagnostics, and SMTP operates at the application layer, so TCP (option C) is correct.

Q3. Identify the primary purpose of port numbers in transport‑layer communication.

A.To identify the physical interface on a host
B.To specify the routing path across networks
C.To distinguish multiple processes on the same host ✅
D.To encrypt data packets
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: Port numbers act as endpoints for processes, allowing a single host to run many applications concurrently. By assigning a unique port to each process, the transport layer can direct incoming segments to the correct application. Therefore, option C correctly describes their purpose.

Q4. Which statement best characterizes the end‑to‑end principle as it applies to the transport layer?

A.Reliability is guaranteed by intermediate routers
B.Error detection is performed only at the data link layer
C.The transport layer ensures reliability irrespective of the underlying network ✅
D.Security is enforced by the network layer alone
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: The end‑to‑end principle holds that functions like reliability, ordering, and flow control are implemented at the transport layer endpoints, not by intermediate devices. This ensures that the communication behaves correctly regardless of the underlying network, making option C the accurate description.

Q5. If a TCP segment is lost, which logical reasoning explains the effect on the sender’s congestion window?

A.It will increase exponentially to utilize bandwidth
B.It will remain unchanged because loss is unrelated to congestion control
C.It will be reduced, prompting the sender to send fewer segments ✅
D.It will reset to zero, causing a complete retransmission of all data
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: When a segment loss is detected, TCP assumes network congestion and halves its congestion window (or reduces it according to the algorithm). This reduction limits the number of outstanding segments, preventing further overload. Hence, the sender’s window shrinks, matching option C.

Q6. A network engineer observes that two hosts exchange data using UDP, yet the application experiences occasional packet loss. Which inference best explains this behavior?

A.UDP guarantees delivery, so loss must be due to hardware failure
B.The transport layer adds error‑correction codes that sometimes fail
C.UDP provides no reliability, so lost packets are expected under congestion ✅
D.The network layer automatically retransmits lost UDP packets
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: UDP is a connection‑less, unreliable protocol; it does not retransmit lost packets. Therefore, under congestion or noisy conditions, some packets may be dropped, which aligns with option C. Hardware failure or network‑layer retransmission are not inherent to UDP’s design.

Q7. Consider a scenario where a client opens 5 simultaneous TCP connections to a server. Which analytical comparison best describes the impact on the server’s resource utilization versus a single connection?

A.Multiple connections consume less memory because they share buffers
B.Multiple connections increase CPU overhead due to separate state maintenance ✅
C.Multiple connections reduce network latency by parallelism without any cost
D.Multiple connections have no effect on resource usage
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Each TCP connection maintains its own control block, sequence numbers, and buffers, requiring additional memory and processing. Managing five concurrent state machines raises CPU usage compared with a single connection, making option B the accurate analytical comparison.

Q8. When implementing a transport‑layer protocol that must support both reliable and unreliable delivery modes, which design choice best satisfies this requirement?

A.Create two separate protocols, one for each mode
B.Include a flag in the segment header to indicate the desired reliability ✅
C.Use only UDP and add application‑level acknowledgments
D.Rely on the network layer to provide reliability when needed
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Embedding a reliability flag allows the same protocol to switch between reliable (e.g., acknowledgment, retransmission) and unreliable (no acknowledgment) behaviors on a per‑segment basis. This approach avoids duplicating protocols and keeps implementation unified, making option B the most suitable design.

Q9. A developer claims that the transport layer can reorder packets without any assistance from the application. Which logical deduction is correct?

A.The transport layer always preserves order, regardless of network behavior
B.Reordering is possible only if the transport protocol implements sequencing mechanisms ✅
C.Applications must always perform reordering because the transport layer never does
D.Reordering depends solely on the physical layer’s timing
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Only transport protocols that incorporate sequence numbers (like TCP) can detect out‑of‑order delivery and reorder segments before delivering them to the application. Protocols without such mechanisms (e.g., UDP) cannot guarantee ordering, so the correct deduction is that reordering requires explicit sequencing, option B.

Q10. In a network where the maximum segment size (MSS) is 1460 bytes, what is the effect on the throughput if the sender incorrectly assumes an MSS of 1500 bytes and sends larger segments?

A.Throughput increases because larger segments carry more data
B.Segments are fragmented, leading to higher overhead and reduced throughput ✅
C.The network silently truncates the excess bytes, preserving throughput
D.TCP automatically adjusts the MSS, so there is no impact
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: When the sender exceeds the path’s MSS, IP fragmentation occurs, adding extra headers and processing delays. Fragmented packets are more likely to be dropped, and reassembly consumes resources, collectively decreasing effective throughput. Therefore, the incorrect MSS assumption harms performance, matching option B.

Q11. A protocol designer wants to ensure that a transport‑layer service can be used by both IPv4 and IPv6 without modification. Which conceptual principle should guide the design?

A.Bind the service to a specific IP version at compile time
B.Use abstract socket interfaces that hide the underlying IP version ✅
C.Require separate implementations for each IP version
D.Embed IP version numbers directly in the payload
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: By employing an abstraction layer (e.g., sockets) that presents a uniform API, the service interacts with the underlying IP stack without caring whether IPv4 or IPv6 is used. This decouples the transport logic from the network‑layer specifics, fulfilling the cross‑version requirement, thus option B is correct.

Q12. Which of the following best explains why flow control is necessary in a TCP connection?

A.To prevent the sender from overwhelming the receiver’s buffer capacity ✅
B.To guarantee that packets arrive in the order sent
C.To encrypt data during transmission
D.To select the optimal routing path
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Flow control mechanisms, such as the sliding window, inform the sender of the receiver’s available buffer space. Without this feedback, the sender might transmit faster than the receiver can store, causing packet loss and retransmissions. Hence, preventing buffer overflow is the primary purpose, matching option A.

Q13. A network simulation shows that increasing the retransmission timeout (RTO) from 200 ms to 800 ms reduces overall latency for a TCP flow under moderate loss. Which analytical reasoning best accounts for this observation?

A.Longer RTOs give the network more time to recover, decreasing unnecessary retransmissions ✅
B.Shorter RTOs always improve performance, so the observation must be erroneous
C.Increasing RTO directly speeds up packet processing at the sender
D.RTO does not influence latency, only throughput
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: When loss is sporadic, a short RTO may trigger premature retransmissions, adding extra traffic and delay. A longer timeout allows the original segment to be delivered without redundant retransmissions, thereby lowering perceived latency. This reasoning aligns with option A.

Q14. Consider two applications: one uses TCP for file transfer, the other uses UDP for live video streaming. Which conceptual contrast correctly reflects their transport‑layer choices?

A.TCP is chosen for its low latency, UDP for its reliability
B.UDP provides ordering guarantees essential for video, TCP does not
C.TCP ensures reliable delivery suitable for files, UDP favors timeliness for streaming ✅
D.Both protocols offer identical reliability and latency characteristics
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: File transfer benefits from TCP’s reliability and ordered delivery, tolerating occasional delays. Live video prioritizes timely arrival over perfect reliability, making UDP’s best‑effort delivery appropriate. Hence, the contrast described in option C accurately captures the conceptual difference.

Q15. A server receives a SYN packet with a destination port of 0. Which logical deduction about the packet is most appropriate?

A.Port 0 is reserved for privileged services, so the packet is legitimate
B.Port 0 is invalid for normal connections, indicating a malformed or scanning packet ✅
C.Port 0 signals the end of a TCP session
D.Port 0 is used for broadcast, so the packet targets all hosts
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: In TCP/IP, port numbers range from 1 to 65535 for normal services; port 0 is not used for standard connections and typically indicates an error or a probing attempt. Therefore, the packet is likely malformed or part of a scan, matching option B.

Q16. Which statement correctly compares the congestion‑avoidance phase of TCP with its slow‑start phase?

A.Both phases increase the congestion window exponentially
B.Slow start uses additive increase, while congestion avoidance uses multiplicative decrease
C.Congestion avoidance grows the window linearly after reaching a threshold ✅
D.Both phases reset the window to one segment after each loss
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: During slow start, the congestion window doubles each RTT (exponential growth) until it reaches the slow‑start threshold. Once past that point, TCP switches to congestion avoidance, where the window grows by one segment per RTT (linear increase). Hence, option C accurately contrasts the two phases.

Q17. A client application requires both low latency and guaranteed delivery for a critical command‑and‑control system. Which transport‑layer protocol best satisfies these constraints, and why?

A.UDP, because it provides the fastest delivery regardless of loss
B.TCP, because it guarantees delivery even if latency increases slightly
C.SCTP, because it combines multihoming with reliable transmission ✅
D.ICMP, because it offers error reporting without data transfer
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: SCTP (Stream Control Transmission Protocol) offers reliable, ordered delivery like TCP while supporting multihoming and reduced latency through multi‑streaming. For a command‑and‑control scenario where reliability and timeliness are both essential, SCTP provides a balanced solution, making option C the most appropriate.

Q18. When a TCP sender receives three duplicate ACKs, what logical conclusion can be drawn about the network condition?

A.The network is experiencing no loss, and the duplicate ACKs are normal
B.A single packet was likely lost, prompting fast retransmission ✅
C.Multiple packets were lost, requiring a full retransmission timeout
D.The connection has been deliberately terminated by the receiver
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Three duplicate ACKs indicate that a segment was received out of order, implying that the segment immediately after the acknowledged one was lost. TCP interprets this as a sign of loss and initiates fast retransmission of the missing segment, aligning with option B.

Q19. Which analytical comparison best describes the effect of enabling Nagle’s algorithm on TCP traffic consisting of many small packets?

A.It reduces the number of packets by coalescing them, improving efficiency ✅
B.It increases latency by sending each small packet immediately
C.It has no impact on packet size or transmission timing
D.It disables flow control, causing congestion
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Nagle’s algorithm buffers small segments until enough data accumulates or an ACK arrives, thereby combining multiple small writes into larger packets. This reduces header overhead and improves network efficiency, though it may introduce slight latency. Option A captures this effect accurately.

Q20. A network administrator observes that a TCP connection’s advertised window size remains at zero for an extended period. Which conceptual explanation best accounts for this behavior?

A.The receiver’s buffer is full, so it cannot accept more data ✅
B.The sender has exhausted its congestion window and stopped sending
C.The network is congested, causing packets to be dropped
D.The connection has been idle and timed out
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: When the receiver’s receive buffer is filled, it advertises a zero window to signal the sender to pause transmission until space becomes available. This flow‑control mechanism explains the persistent zero‑window condition, making option A correct.

Q21. If a transport‑layer protocol uses a checksum that covers only the header, what logical inference can be made about its error‑detection capabilities?

A.It can detect errors in both header and payload equally well
B.It cannot detect payload corruption, only header errors ✅
C.It provides stronger protection for the payload than the header
D.Checksum coverage does not affect error detection
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: A checksum limited to the header ignores any bit errors that occur in the payload data, leaving the payload unchecked. Consequently, payload corruption may go undetected, which is described by option B.

Q22. Compare the use of port numbers in TCP and UDP. Which statement accurately reflects a key similarity?

A.Both protocols assign a unique port per host, preventing any sharing
B.Both use 16‑bit port numbers to identify application endpoints ✅
C.Both guarantee delivery of data to the correct port
D.Both require connection establishment before data transfer
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: TCP and UDP share the same 16‑bit port number space, allowing applications to bind to a specific port number for communication regardless of the underlying transport protocol. This commonality is captured in option B.

Q23. Which logical reasoning explains why TCP’s three‑way handshake is necessary before data transmission?

A.It synchronizes clocks between sender and receiver
B.It establishes initial sequence numbers and confirms bidirectional connectivity ✅
C.It encrypts the initial packets for security
D.It tests the network’s maximum transmission unit
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The three‑way handshake (SYN, SYN‑ACK, ACK) negotiates initial sequence numbers, acknowledges receipt, and ensures both ends are ready to exchange data, providing a reliable foundation for the connection. Hence, option B correctly explains its necessity.

Q24. A UDP datagram is sent from a host with IP address 192.168.1.10 to a host with IP address 10.0.0.5. Which conceptual relationship best describes the role of the transport layer in this exchange?

A.It provides end‑to‑end reliability between the two IP addresses
B.It adds routing information to direct the datagram
C.It merely multiplexes the payload to the appropriate application port ✅
D.It encrypts the payload before transmission
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: The transport layer’s primary role for UDP is to multiplex/demultiplex data based on port numbers, delivering the payload to the correct application on the destination host. It does not add reliability, routing, or encryption, making option C accurate.

Q25. In a scenario where a TCP connection experiences high latency, which analytical approach could be used to determine whether the bottleneck lies in the transport layer or the network layer?

A.Measure round‑trip time and compare it to the advertised window size ✅
B.Inspect the checksum values in TCP headers
C.Count the number of ports used by the application
D.Check the MAC address table for the destination host
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: By measuring RTT and relating it to the sender’s advertised window, one can infer whether the delay is due to transport‑layer flow control (small window) or network‑layer issues (large RTT despite a sufficient window). This analytical method isolates the bottleneck, aligning with option A.

Q26. A server implements TCP Fast Open to reduce latency for repeat connections. Which conceptual benefit does this feature provide?

A.It eliminates the need for a three‑way handshake entirely
B.It allows data to be sent in the initial SYN, reducing round‑trip delay
C.It guarantees lossless transmission of the first segment ✅
D.It replaces the need for port numbers
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: TCP Fast Open permits the client to include data in the SYN packet after the server has cached a cookie from a previous connection. This reduces the initial round‑trip time, though it does not guarantee losslessness or remove handshaking entirely. Option C misstates the benefit; the correct benefit is described in option B, so B is the right answer.

Q27. If a transport protocol implements selective acknowledgment (SACK), which logical deduction can be made about its handling of packet loss?

A.It can only detect loss of the most recent packet
B.It can acknowledge non‑contiguous blocks of data, allowing precise retransmission ✅
C.It discards out‑of‑order packets without notifying the sender
D.It treats all lost packets identically, without distinction
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: SACK enables the receiver to inform the sender about specific ranges of data that have been received successfully, even if there are gaps. This allows the sender to retransmit only the missing segments, improving efficiency. Hence, option B correctly captures the effect.

Q28. When comparing TCP’s congestion‑control algorithms (Reno vs. Cubic), which analytical statement best reflects their performance differences under high‑bandwidth, high‑delay networks?

A.Reno achieves higher throughput due to its simplicity
B.Cubic adapts more aggressively to large BDPs, outperforming Reno ✅
C.Both algorithms behave identically regardless of network conditions
D.Reno provides better fairness among multiple flows
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: Cubic’s window growth function is designed to scale with the cube of time, allowing it to utilize large bandwidth‑delay products more effectively than Reno’s linear increase after loss. Consequently, Cubic generally outperforms Reno on high‑speed, high‑delay paths, matching option B.

Q29. A client sends a TCP segment with the URG flag set. Which conceptual implication does this have for the receiver?

A.The data must be encrypted before processing
B.The segment contains urgent data that should be delivered to the application immediately ✅
C.The segment is part of a multi‑streamed connection
D.The segment signals the end of the connection
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: The URG flag indicates that the segment carries urgent data, and the receiver should prioritize delivering this data to the application ahead of normal data, as described in option B.

Q30. Which logical reasoning explains why a transport layer might employ delayed ACKs?

A.To increase the number of acknowledgments sent per second
B.To reduce ACK traffic by acknowledging multiple segments together ✅
C.To guarantee immediate feedback for each received segment
D.To synchronize with the network layer’s routing updates
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: Delayed ACKs allow the receiver to wait briefly, potentially acknowledging two received segments with a single ACK. This reduces protocol overhead and improves efficiency, which is the rationale captured in option B.

Q31. A network engineer observes that enabling TCP keep‑alive packets reduces the frequency of connection timeouts in an idle application. Which analytical conclusion is valid?

A.Keep‑alive packets prevent any form of packet loss
B.They maintain NAT bindings and detect dead peers, decreasing timeout occurrences ✅
C.They increase throughput by sending extra data
D.They replace the need for retransmission timers
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Keep‑alive packets periodically probe the remote endpoint, ensuring that NAT entries stay active and that the peer is still reachable. This activity prevents premature timeout closures, aligning with option B.

Q32. When a transport protocol provides multiplexing, which conceptual relationship best describes its effect on host resources?

A.It reduces the number of required IP addresses
B.It allows multiple applications to share a single network connection
C.It increases the need for separate physical NICs per application ✅
D.It eliminates the need for port numbers
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: Multiplexing enables multiple logical communication streams to coexist over a single physical connection, but it does not reduce IP address usage or NIC requirements, nor does it remove the need for ports. The concept primarily concerns logical separation, making option C the most accurate description.

Q33. If a TCP sender’s congestion window is 64 KB and the receiver’s advertised window is 32 KB, which logical inference about the effective sending rate is correct?

A.The sender can transmit up to 64 KB per RTT
B.The sender is limited to 32 KB per RTT by the receiver’s window ✅
C.Both windows are added to determine the rate
D.The sender ignores the receiver’s advertised window
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The effective window is the minimum of the congestion window and the advertised window. Since the receiver advertises only 32 KB, the sender cannot exceed this limit, making option B correct.

Q34. A protocol analyst compares two transport protocols: one offers connection‑oriented service with flow control, the other offers connectionless service without flow control. Which analytical statement best captures the trade‑off?

A.Connection‑oriented protocols always have lower latency
B.Connectionless protocols cannot be used for any reliable communication
C.Connection‑oriented service provides reliability at the cost of additional overhead ✅
D.Both protocols provide identical reliability guarantees
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Connection‑oriented protocols (e.g., TCP) implement mechanisms such as sequencing, acknowledgments, and flow control, which introduce overhead but ensure reliable delivery. Connectionless protocols (e.g., UDP) lack these features, offering lower overhead but no guarantee of delivery. Option C succinctly describes this trade‑off.

Q35. When a TCP segment arrives out of order, which conceptual process does the receiver perform before delivering data to the application?

A.It immediately discards the segment
B.It buffers the segment and waits for missing data ✅
C.It forwards the segment to the network layer for reordering
D.It sends a reset (RST) to the sender
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: The receiver stores out‑of‑order segments in a reassembly buffer, awaiting the missing earlier segment. Once the missing data arrives, the buffered data can be delivered in order to the application. This buffering behavior is described in option B.

Q36. A client uses UDP to send telemetry data to a server. The server experiences occasional packet loss during network congestion. Which conceptual strategy could improve reliability without switching protocols?

A.Enable TCP’s three‑way handshake for each packet
B.Add application‑level acknowledgments and retransmissions ✅
C.Increase the UDP payload size to include error‑correction codes
D.Disable IP fragmentation on the network
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: Implementing acknowledgments and retransmission logic at the application layer restores reliability while retaining UDP’s lightweight nature. This approach addresses loss without requiring a protocol change, aligning with option B.

Q37. If a transport layer implements a sliding‑window protocol with a window size of 4 segments, what logical effect does this have on the sender’s ability to transmit data?

A.The sender can send an unlimited number of segments without waiting for ACKs
B.The sender can transmit up to 4 unacknowledged segments before pausing ✅
C.The sender must wait for an ACK after each individual segment
D.The window size has no impact on transmission behavior
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: A sliding‑window of size 4 permits the sender to have four outstanding segments in flight. Once an acknowledgment is received, the window slides forward, allowing another segment to be sent. Thus, the sender can transmit up to four segments before needing acknowledgments, matching option B.

Q38. A network path has a round‑trip time (RTT) of 120 ms and a packet loss probability of 2 %. Which analytical method could be used to estimate the optimal TCP congestion window size?

A.Use the Bandwidth‑Delay Product without considering loss
B.Apply the Mathis equation: Window=1.22p×RTT\text{Window} = \frac{1.22}{\sqrt{p}} \times \text{RTT} ✅
C.Assume a fixed window of 10 KB regardless of conditions
D.Ignore RTT and loss, using only the sender’s buffer size
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: The Mathis equation approximates the maximum throughput of TCP as 1.22p\frac{1.22}{\sqrt{p}} times the bandwidth‑delay product, linking loss probability pp and RTT. This analytical approach provides an estimate for the congestion window, corresponding to option B.

Q39. Which logical inference can be drawn when a TCP connection’s retransmission timer repeatedly expires without successful acknowledgment?

A.The network is delivering packets faster than the sender can process them
B.The path likely suffers from severe congestion or high error rates ✅
C.The receiver has disabled its TCP stack
D.The sender’s congestion window is expanding uncontrollably
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Repeated expirations indicate that sent segments are not being acknowledged, suggesting that packets are being lost or delayed, a symptom of heavy congestion or a high error environment. Therefore, option B correctly infers the condition.

Q40. A developer argues that using a larger initial congestion window (e.g., 10 segments) always improves performance. Which analytical counter‑argument best addresses this claim?

A.Larger windows guarantee zero packet loss
B.A larger initial window may cause bursty traffic, leading to congestion and packet loss ✅
C.Increasing the window has no impact on network behavior
D.The initial window size is irrelevant for short‑lived connections
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Starting with a larger window can send more data quickly, but it may overwhelm network buffers, causing congestion and packet loss, especially on paths with limited capacity. This trade‑off counters the claim, aligning with option B.

Q41. When a transport protocol includes both sequence numbers and acknowledgment numbers, which conceptual relationship does this establish?

A.It enables the protocol to operate without ports
B.It provides a mechanism for ordering and reliability ✅
C.It eliminates the need for flow control
D.It ensures encryption of all data
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: Sequence numbers identify the order of transmitted bytes, while acknowledgment numbers confirm receipt of specific bytes. Together they facilitate ordered, reliable delivery, as described in option B.

Q42. A UDP‑based application sends a 2000‑byte payload, but the underlying network’s MTU is 1500 bytes. Which logical outcome occurs?

A.The payload is automatically split into multiple UDP packets without fragmentation
B.The IP layer fragments the packet, potentially increasing loss probability ✅
C.The packet is dropped entirely because it exceeds the MTU
D.The transport layer reduces the payload size to fit the MTU
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: If a UDP datagram exceeds the path MTU, the IP layer fragments the packet into smaller fragments, each carrying a portion of the original payload. Fragmentation adds overhead and raises the chance of loss, matching option B.

Q43. Which analytical comparison best describes the impact of enabling TCP’s selective acknowledgment (SACK) versus using only cumulative ACKs in a lossy network?

A.SACK reduces the number of retransmissions by pinpointing missing data ✅
B.SACK increases latency because it requires more processing
C.Both mechanisms behave identically under loss conditions
D.Cumulative ACKs provide more precise loss information than SACK
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: SACK allows the receiver to acknowledge non‑contiguous blocks of data, informing the sender exactly which segments are missing. This precision reduces unnecessary retransmissions compared with cumulative ACKs, which only indicate the highest contiguous byte received. Option A correctly describes the advantage.

Q44. If a transport layer protocol uses a 16‑bit checksum, what logical inference can be made about its error‑detection capability?

A.It can detect all possible bit errors
B.It can detect most single‑bit errors but may miss some multi‑bit errors ✅
C.It provides stronger protection than a 32‑bit checksum
D.Checksum length does not affect detection capability
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: A 16‑bit checksum can reliably detect many single‑bit errors, but certain multi‑bit error patterns can produce the same checksum, leading to undetected corruption. Therefore, option B accurately reflects its detection limits.

Q45. A server implements TCP with the NO‑DELAY option enabled. Which conceptual effect does this have on packet transmission?

A.It forces the use of larger MSS values
B.It disables Nagle’s algorithm, allowing immediate sending of small segments
C.It encrypts each segment before transmission
D.It increases the retransmission timeout automatically ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: The TCP NO‑DELAY option disables Nagle’s algorithm, causing the stack to send out small segments immediately rather than waiting to coalesce them. This reduces latency for interactive applications, matching option B.

Q46. When a TCP connection transitions from slow start to congestion avoidance after reaching the slow‑start threshold, which logical change occurs in the growth of the congestion window?

A.It switches from exponential to linear increase per RTT ✅
B.It continues exponential growth but at a slower rate
C.The window size is reset to one segment
D.The congestion window stops growing entirely
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: During slow start, the window doubles each RTT (exponential). Upon hitting the threshold, TCP enters congestion avoidance, where the window grows by one segment per RTT (linear). This shift from exponential to linear growth is described in option A.

🔗 Related Topics (MCQs)