TCP Receive and Congestion Windows
- 44Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What does the TCP receive-window value advertised in a packet tell the sender?
What does the TCP receive-window value advertised in a packet tell the sender?
44 questions
- 1
What does the TCP receive-window value advertised in a packet tell the sender?
- A
How many bytes the receiver has already acknowledged to the sender
- B
How much bandwidth the network path guarantees between the endpoints
- C
How much data the sender can transmit before receiving any acknowledgment
- D
How much data the receiver can currently accept into its receive buffer
Correct answer
DHow much data the receiver can currently accept into its receive buffer
Explanation
The advertised receive window communicates how much data the receiver can accept in its buffer. It limits how much data the sender may have outstanding on the receiver's behalf.
- A
- 2
Which statement correctly distinguishes the receive window from the congestion window?
- A
The receive window is maintained internally by the sender; the congestion window is advertised by the receiver.
- B
The receive window is advertised by the receiver; the congestion window is maintained internally by the sender.
- C
Both windows are advertised by the receiver, but only the congestion window changes during a transfer.
- D
Both windows are maintained internally by the sender, but only the receive window limits transmission.
Correct answer
BThe receive window is advertised by the receiver; the congestion window is maintained internally by the sender.
Explanation
The receive window is visible in TCP packets because the receiver advertises it. The sender's congestion window is an internal estimate and is not advertised in packet headers.
- A
- 3
A receiver advertises room for a large amount of data, but the sender's congestion window is smaller. How much data can the sender have outstanding under these two limits?
- A
No more than the congestion window allows
- B
No more than the receive window allows
- C
The larger of the congestion and receive windows
- D
The sum of the congestion and receive windows
Correct answer
ANo more than the congestion window allows
Explanation
The smaller of the congestion window and receive window governs the amount of data the sender can transmit without acknowledgment.
- A
- 4
If the sender's congestion window is large but the receiver advertises only a small receive window, what limits the sender?
- A
The sender's congestion window
- B
The amount of data already acknowledged by the receiver
- C
The receiver's advertised receive window
- D
The link speed of the sender's network interface
Correct answer
CThe receiver's advertised receive window
Explanation
The sender must respect both windows, so the smaller receive window limits transmission in this situation.
- A
- 5
Why can a receiver's TCP buffer fill even when the network connection is fast?
- A
The network may increase the advertised receive window beyond the buffer's capacity.
- B
The receiving application may not remove data from the buffer as quickly as it arrives.
- C
The sender may acknowledge incoming data before the receiver stores it.
- D
The sender's congestion window may prevent the receiver from processing data.
Correct answer
BThe receiving application may not remove data from the buffer as quickly as it arrives.
Explanation
TCP can receive data into a buffer, but the application must consume that data. If it does not remove data quickly enough, the buffer fills and the advertised receive window shrinks.
- A
- 6
What does a TCP zero window indicate?
- A
The receiver has acknowledged all data and is closing the connection.
- B
The network path has lost every packet sent during the connection.
- C
The sender has no application data available to transmit.
- D
The receiver currently has no advertised buffer space available for more data.
Correct answer
DThe receiver currently has no advertised buffer space available for more data.
Explanation
A zero window means the receiver's buffer is full and it cannot currently accept more data. The sender must stop sending ordinary data until the receiver advertises available space.
- A
- 7
What effect can TCP window scaling have on the receive-window value?
- A
It makes the receive window remain fixed for the entire TCP connection.
- B
It allows the advertised window to represent a larger receive capacity through a scaling factor.
- C
It converts the congestion window into a value that is advertised by the receiver.
- D
It reduces the maximum segment size so that packets fit into smaller buffers.
Correct answer
BIt allows the advertised window to represent a larger receive capacity through a scaling factor.
Explanation
Window scaling applies a negotiated factor to the advertised window, allowing it to represent a capacity larger than the unscaled field can express.
- A
- 8
In a capture where window scaling was not used, how should an advertised receive-window value be interpreted?
- A
As a scaled value whose multiplier must be inferred from packet lengths
- B
As the number of bytes already received but not yet acknowledged
- C
As the sender's congestion window rather than the receiver's capacity
- D
As the actual window value, without applying a scaling factor
Correct answer
DAs the actual window value, without applying a scaling factor
Explanation
Without window scaling, the value shown in the window field is the actual advertised receive window.
- A
- 9
Why is the receive window advertised by a host that is sending data to another host not the key limit on that same data flow?
- A
A host's receive window applies only to packets sent during the TCP handshake.
- B
That host's receive window is used only when the connection has packet loss.
- C
That host's receive window describes how much data it can receive, not how much it can send.
- D
A host's receive window measures the available bandwidth of the opposite endpoint.
Correct answer
CThat host's receive window describes how much data it can receive, not how much it can send.
Explanation
A host advertises its own capacity to receive data. For a data flow in the opposite direction, the receiving host's advertised window is the relevant receive-window limit.
- A
- 10
A database backup between nearby servers takes hours despite a fast local link. The capture shows the receiver's advertised window repeatedly shrinking as its buffer fills. What is the strongest initial diagnosis?
- A
The receiving side is not draining its TCP buffer quickly enough.
- B
The receiver is advertising the sender's congestion window by mistake.
- C
The sending interface cannot transmit at its configured link speed.
- D
The network path must have high latency because the servers are distant.
Correct answer
AThe receiving side is not draining its TCP buffer quickly enough.
Explanation
A receive window that repeatedly fills points to a receiver-side bottleneck. If the application does not consume buffered data quickly enough, the sender must pause even when the link itself is fast.
- A
- 11
In a trace, the receive window decreases by the amount of data carried in each arriving packet. What does this pattern indicate?
- A
Incoming data is occupying space in the receiver's buffer.
- B
The network is acknowledging more data than the sender transmitted.
- C
The sender is reducing its congestion window after packet loss.
- D
The receiver is increasing the maximum segment size for the connection.
Correct answer
AIncoming data is occupying space in the receiver's buffer.
Explanation
As data arrives and is buffered, available receive-window space decreases. The window can grow again when the receiving application removes data from the buffer.
- A
- 12
A sender has already transmitted data that is still outstanding. The receiver's remaining advertised window is smaller than one full-sized segment. Why might the sender pause rather than send another full-sized segment?
- A
TCP requires the receiver to advertise a window equal to the segment size.
- B
A full-sized segment would exceed the receiver's currently advertised capacity.
- C
The sender cannot transmit again until the application closes its socket.
- D
The sender must wait until its congestion window becomes zero.
Correct answer
BA full-sized segment would exceed the receiver's currently advertised capacity.
Explanation
The sender must not exceed the receiver's available window. If the remaining space is smaller than a full-sized segment, the sender may wait until the receiver frees buffer space.
- A
- 13
A receiver's window rises sharply after the application reads buffered data. What does that change tell the sender?
- A
The receiver now has more buffer space available for incoming data.
- B
The receiver has stopped acknowledging data from the current connection.
- C
The sender's congestion window has been reset to its initial value.
- D
The network has confirmed that it can carry a larger maximum segment.
Correct answer
AThe receiver now has more buffer space available for incoming data.
Explanation
When the application removes data from the receive buffer, the receiver has more available space and can advertise a larger receive window.
- A
- 14
Why would increasing a receiver's buffer capacity potentially delay pauses without fixing the underlying problem?
- A
A larger buffer forces the sender to reduce its congestion window immediately.
- B
A larger buffer makes the network path retransmit every full-sized segment.
- C
A larger buffer takes longer to fill, but a slow application may still fail to drain it.
- D
A larger buffer prevents the receiving application from accessing TCP data.
Correct answer
CA larger buffer takes longer to fill, but a slow application may still fail to drain it.
Explanation
A bigger receive buffer can provide more temporary room, but if the application still consumes data too slowly, that larger buffer can also fill.
- A
- 15
A TCP time-sequence graph shows data progressing in steps, with pauses whenever the data reaches the receiver-window boundary. What best explains the pattern?
- A
The connection is changing its maximum segment size at every pause.
- B
The receiver is acknowledging data before any packets reach its network interface.
- C
The receiver's available window is being exhausted before it frees more buffer space.
- D
The sender is continuously increasing its congestion window without receiving acknowledgments.
Correct answer
CThe receiver's available window is being exhausted before it frees more buffer space.
Explanation
When the data reaches the receive-window boundary, the receiver has no remaining advertised space. Transmission resumes after the receiver frees buffer space and its window opens.
- A
- 16
On a TCP time-sequence graph, what does a flat portion of the data-progress line generally indicate?
- A
Data progress paused while one endpoint or the path delayed further transmission.
- B
The receiver has acknowledged all data and permanently closed its window.
- C
The connection has negotiated a larger receive-window scaling factor.
- D
The sender is transmitting data at a constant maximum rate.
Correct answer
AData progress paused while one endpoint or the path delayed further transmission.
Explanation
A flat section indicates that sequence-number progress stopped for a period. The trace must be examined to determine what caused the pause, such as a full receive window.
- A
- 17
On the described TCP graph, what does the line representing acknowledgments show?
- A
How much unused bandwidth remains on the network path
- B
The sender's current, unadvertised congestion-window value
- C
How far the receiver has acknowledged the transmitted data
- D
The receiver's application processing rate in bytes per second
Correct answer
CHow far the receiver has acknowledged the transmitted data
Explanation
The acknowledgment line represents how much transmitted data the receiver has acknowledged. Comparing it with the sequence-number progress helps show whether acknowledgments are keeping up.
- A
- 18
Why would upgrading a link from one gigabit to ten gigabits fail to resolve pauses caused by a full receive window?
- A
A faster link always increases network latency enough to fill the receive buffer.
- B
The receiver's buffer and application-drain rate, rather than link capacity, are limiting the flow.
- C
TCP receive windows cannot be used on links faster than one gigabit.
- D
The sender automatically disables acknowledgments on faster links.
Correct answer
BThe receiver's buffer and application-drain rate, rather than link capacity, are limiting the flow.
Explanation
If the receiving application cannot clear data from its buffer quickly enough, more link bandwidth does not address the bottleneck. The sender remains limited by the receive window.
- A
- 19
What does the TCP congestion window represent?
- A
The amount of unused buffer space the receiver advertises in each packet
- B
The maximum size of an individual TCP segment on the connection
- C
The amount of unacknowledged data the sender is willing to place on the network
- D
The amount of data the receiver has already delivered to its application
Correct answer
CThe amount of unacknowledged data the sender is willing to place on the network
Explanation
The congestion window is a sender-side limit on how much data can be transmitted before acknowledgments arrive.
- A
- 20
Why can an analyst not directly read the congestion-window value from a TCP packet header?
- A
It is included only when the TCP receive window is zero.
- B
The sender maintains it internally rather than advertising it in packets.
- C
The receiver encrypts it before sending acknowledgments.
- D
It is stored only in the IP header as the time-to-live value.
Correct answer
BThe sender maintains it internally rather than advertising it in packets.
Explanation
Unlike the receive window, the congestion window is not advertised. An analyst infers its behavior from the sender's transmission pattern and the trace.
- A
- 21
Why does a TCP sender generally avoid immediately transmitting at the full speed of its network interface?
- A
The sender's interface speed determines the receiver's advertised window.
- B
The path may have less capacity than the sender's interface, so an initial burst could cause congestion.
- C
The receiver is prohibited from acknowledging data sent at interface speed.
- D
The sender must wait until the application has transmitted the entire file.
Correct answer
BThe path may have less capacity than the sender's interface, so an initial burst could cause congestion.
Explanation
The sender cannot assume that every link along the path has the capacity of its own interface. Sending too aggressively can overwhelm the path and cause congestion or packet loss.
- A
- 22
What is the usual pattern of TCP slow start described in the content?
- A
The sender begins at its maximum rate and halves the amount sent after every acknowledgment.
- B
The sender begins with a small amount and roughly doubles the amount sent per round until a threshold.
- C
The sender increases by one maximum segment size only after every packet is lost.
- D
The sender starts with the receiver's full buffer and holds that amount constant.
Correct answer
BThe sender begins with a small amount and roughly doubles the amount sent per round until a threshold.
Explanation
During slow start, the sender begins with a small congestion window and increases it rapidly, roughly doubling the amount sent per round, until it reaches a slow-start threshold.
- A
- 23
Which sequence could represent example slow-start congestion-window sizes expressed in maximum segment sizes?
- A
Two, three, then four segments
- B
Eight, four, then two segments
- C
Four, four, then four segments
- D
Two, four, then eight segments
Correct answer
DTwo, four, then eight segments
Explanation
The example slow-start sequence doubles from two to four to eight maximum segment sizes as acknowledgments arrive.
- A
- 24
What generally happens after the sender reaches its slow-start threshold?
- A
It immediately returns the congestion window to its initial size.
- B
It permanently fixes the congestion window at the receiver's buffer size.
- C
It stops sending data until the receiver advertises a zero window.
- D
It increases the amount of data more cautiously rather than continuing to double it.
Correct answer
DIt increases the amount of data more cautiously rather than continuing to double it.
Explanation
After reaching the slow-start threshold, TCP enters congestion avoidance and increases the sending amount more gradually.
- A
- 25
What does a sender's reduction of its congestion window after retransmissions generally indicate?
- A
The sender is responding as if it sent too aggressively for the available network path.
- B
The application has consumed data faster than the network can deliver it.
- C
The sender has confirmed that the path has no congestion.
- D
The receiver has expanded its buffer beyond the negotiated maximum.
Correct answer
AThe sender is responding as if it sent too aggressively for the available network path.
Explanation
Retransmissions can signal congestion or that the sender exceeded available path capacity. TCP responds by reducing the congestion window to send less aggressively.
- A
- 26
A TCP transfer maintains space between incoming data and the receiver-window boundary, while the number of packets sent grows over successive rounds. What does this most strongly suggest?
- A
The sender is repeatedly retransmitting lost data and reducing its window.
- B
The receiver's application has stopped consuming data and its window is full.
- C
The sender is increasing its congestion window without yet being limited by the receive window.
- D
The receiver has advertised a zero window for the duration of the transfer.
Correct answer
CThe sender is increasing its congestion window without yet being limited by the receive window.
Explanation
If the receive-window boundary remains ahead of the data while the sender transmits more in successive rounds, the sender's congestion window can be growing without the receiver window being the limiting factor.
- A
- 27
If a sender's output plateaus, which two explanations should an analyst consider based on the described behavior?
- A
The congestion-control threshold may be limiting the sender, or the application may not be supplying more data.
- B
The maximum segment size must have increased, or the receiver must have stopped acknowledging.
- C
The receive window must be zero, or the TCP connection must have closed.
- D
The link must be operating at line rate, or all packets must have been retransmitted.
Correct answer
AThe congestion-control threshold may be limiting the sender, or the application may not be supplying more data.
Explanation
A plateau can result from the sender's congestion-control behavior, such as reaching a threshold. It can also occur if the sending application is not providing enough data to the TCP stack.
- A
- 28
A trace contains packets from many concurrent TCP connections. What does sorting by ordinary time between consecutive captured frames measure?
- A
The gap between each packet and the preceding packet in the same TCP connection
- B
The round-trip time for every TCP acknowledgment in the capture
- C
The gap between each packet and the immediately preceding packet in the overall capture
- D
The time taken by the receiving application to process each packet
Correct answer
CThe gap between each packet and the immediately preceding packet in the overall capture
Explanation
Ordinary frame-to-frame delta time compares a packet with the immediately previous captured frame, which may belong to a different TCP connection.
- A
- 29
Why can ordinary frame-to-frame delta time be misleading when searching for delays in a particular TCP connection?
- A
It measures only the receiver's advertised window and ignores packet timing.
- B
It includes only retransmissions and omits ordinary data packets.
- C
It reports the connection's congestion window rather than elapsed time.
- D
The preceding captured frame may belong to another connection rather than the packet's own stream.
Correct answer
DThe preceding captured frame may belong to another connection rather than the packet's own stream.
Explanation
In a capture with parallel connections, the previous frame in the file may not be part of the same TCP stream. The resulting delta does not necessarily represent a gap within the connection being investigated.
- A
- 30
What does time since the previous frame in the same TCP stream measure?
- A
The interval between a packet and the previous packet in that TCP stream
- B
The duration required for the receiver to empty its buffer
- C
The total time since the TCP handshake began
- D
The interval between a packet and the previous packet from any connection
Correct answer
AThe interval between a packet and the previous packet in that TCP stream
Explanation
This stream-specific timing value measures the gap from the previous packet in the same TCP conversation, making it useful for identifying pauses within that stream.
- A
- 31
When investigating a slow database response, which packet is most useful to locate a server-side delay?
- A
The client's request packet that begins the exchange
- B
An unrelated packet captured during the same time interval
- C
The server's response packet that arrives after the long gap
- D
The client's acknowledgment of the TCP handshake
Correct answer
CThe server's response packet that arrives after the long gap
Explanation
A long delay before a server response indicates that the response did not arrive promptly. The requester's own wait before sending a request, by contrast, could simply reflect client-side think time.
- A
- 32
A client sends a request, waits for a long interval, and then sends another request. No server response is shown as delayed during that interval. What is a reasonable interpretation?
- A
The network necessarily lost every packet during the interval.
- B
The client may have been waiting or processing before sending its next request.
- C
The receiver's TCP window necessarily reached zero during the interval.
- D
The server necessarily took the entire interval to generate a response.
Correct answer
BThe client may have been waiting or processing before sending its next request.
Explanation
A gap before a client's next request can represent client-side think time. To attribute a delay to the server, examine the timing of the server's response to a request.
- A
- 33
Why should an analyst be cautious when interpreting repeated timing gaps near values such as tens of seconds or a minute?
- A
They prove that the receiving application is draining its buffer too quickly.
- B
They show that the sender's congestion window has doubled.
- C
They always represent the round-trip time of the TCP handshake.
- D
They may reflect timers such as keepalives or timeouts rather than slow application responses.
Correct answer
DThey may reflect timers such as keepalives or timeouts rather than slow application responses.
Explanation
Regular gaps near timer boundaries can result from keepalives, timeouts, or other timer-driven behavior. They should not automatically be treated as application response delays.
- A
- 34
What must be enabled in Wireshark, according to the described procedure, to create a column for time since the previous frame in the same TCP stream?
- A
TCP conversation timestamps in the protocol preferences
- B
IP time-to-live calculations in the capture options
- C
Ethernet padding analysis in the packet decoder
- D
TCP window scaling in the display-filter preferences
Correct answer
ATCP conversation timestamps in the protocol preferences
Explanation
The described procedure enables TCP conversation timestamps in the protocol preferences, then uses the TCP timestamp fields to create the stream-specific timing column.
- A
- 35
A client requests a file, but the capture first shows a later server segment while an earlier segment is missing. What does a selective acknowledgment of the later segment communicate?
- A
All data through the later segment has arrived in order.
- B
The server has acknowledged the client's request for the first time.
- C
The client has no receive-buffer space for any further data.
- D
The later data arrived, but a sequence-number range before it is missing.
Correct answer
DThe later data arrived, but a sequence-number range before it is missing.
Explanation
Selective acknowledgment can identify data that arrived beyond a gap. It tells the sender that the later range was received while an earlier sequence-number range is still missing.
- A
- 36
Why might a sender wait for its retransmission timer instead of using fast retransmission after a packet loss?
- A
The sender may use fast retransmission only before the TCP handshake.
- B
It may not receive enough duplicate acknowledgments to trigger fast retransmission.
- C
Fast retransmission is available only after the receiving window becomes zero.
- D
The sender must wait until the receiver application reads the missing data.
Correct answer
BIt may not receive enough duplicate acknowledgments to trigger fast retransmission.
Explanation
The described fast-retransmit trigger requires multiple duplicate acknowledgments. If too little data was sent to generate enough duplicates, the sender may have to wait for its retransmission timer.
- A
- 37
What happened to the retransmission timeout in the example when successive retransmissions received no response?
- A
It changed to about twenty-one seconds immediately after the first loss.
- B
It decreased from about twelve seconds to about six seconds and then about three seconds.
- C
It remained fixed at about three seconds for every retransmission.
- D
It increased from about three seconds to about six seconds and then about twelve seconds.
Correct answer
DIt increased from about three seconds to about six seconds and then about twelve seconds.
Explanation
In the example, the retransmission timer backed off after unsuccessful attempts, growing from approximately three seconds to six seconds and then twelve seconds.
- A
- 38
In the file-transfer case, why did the server eventually try sending a smaller segment?
- A
The client advertised a zero window and requested a smaller congestion window.
- B
Its larger segments were not succeeding, so it tried a small fallback segment.
- C
The network confirmed that the original larger segments were reaching the client.
- D
The server had received enough duplicate acknowledgments to increase its segment size.
Correct answer
BIts larger segments were not succeeding, so it tried a small fallback segment.
Explanation
After larger transmissions failed, the server tried a smaller segment as a fallback. The successful acknowledgment of that smaller transmission helped reveal a packet-size problem along the path.
- A
- 39
What does it suggest when a smaller TCP segment is acknowledged successfully after larger segments repeatedly fail?
- A
The receiving application can process only data sent during the handshake.
- B
The sender's congestion window is too large because the application sent too little.
- C
A path packet-size limitation may be preventing the larger segments from getting through.
- D
The receiver's advertised window is necessarily smaller than every segment.
Correct answer
CA path packet-size limitation may be preventing the larger segments from getting through.
Explanation
If smaller segments succeed while larger ones fail, a packet-size or path-MTU issue is a plausible cause. The smaller packet may fit through a path that cannot carry the larger packet intact.
- A
- 40
In the described file-transfer case, what did the client-side router do to the advertised maximum segment size?
- A
It increased the MSS from 1432 bytes to 1460 bytes.
- B
It removed the MSS option from both handshake packets.
- C
It changed the MSS from 536 bytes to 1460 bytes.
- D
It reduced the MSS from 1460 bytes to 1432 bytes.
Correct answer
DIt reduced the MSS from 1460 bytes to 1432 bytes.
Explanation
The router adjusted the advertised MSS from 1460 bytes to 1432 bytes, leaving room for additional processing or encapsulation along the path.
- A
- 41
Why can an intermediate router reduce the MSS advertised in a TCP handshake?
- A
To make the sender's congestion window visible in packet headers.
- B
To prevent the receiver from acknowledging out-of-order data.
- C
To increase the receiver's TCP buffer without changing its window.
- D
To leave room for additional headers or processing so packets fit through the path.
Correct answer
DTo leave room for additional headers or processing so packets fit through the path.
Explanation
Reducing the MSS can leave room for other headers or network functions and help keep packets within the path's size limits.
- A
- 42
Why can a packet with a 1460-byte TCP payload be a problem on a path with a 1500-byte MTU if additional encapsulation is needed?
- A
The payload automatically exceeds the receiver's advertised window.
- B
The payload leaves too much room for the receiver's acknowledgment field.
- C
The payload is smaller than the minimum MSS allowed by TCP.
- D
The payload plus ordinary IP and TCP headers already uses the 1500-byte MTU.
Correct answer
DThe payload plus ordinary IP and TCP headers already uses the 1500-byte MTU.
Explanation
A 1460-byte payload plus a 20-byte TCP header and a 20-byte IP header totals 1500 bytes. Additional encapsulation or headers may require a smaller payload to fit the path.
- A
- 43
What minimum MSS did the described server use as a fallback when the connection had not established a different MSS?
- A
1432 bytes
- B
536 bytes
- C
1460 bytes
- D
1500 bytes
Correct answer
B536 bytes
Explanation
The content states that when no MSS is exchanged, the minimum assumed MSS is 536 bytes. The server used a 536-byte segment as a fallback in the case study.
- A
- 44
What was the practical fix for the repeated long delay in the file-transfer case?
- A
Replace the client's one-gigabit interface with a ten-gigabit interface.
- B
Increase the database server's receive window to its maximum value.
- C
Adjust the outbound router to clamp the MSS to a size that fit the path.
- D
Disable TCP acknowledgments so the server would retransmit sooner.
Correct answer
CAdjust the outbound router to clamp the MSS to a size that fit the path.
Explanation
The client-side outbound router had not been configured to adjust the MSS. Clamping it to 1432 bytes allowed the packets to fit through the path and resolved the problem.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.