Practice
Solution
Step 1: Identify AIMD response to triple duplicate ACKs
On triple duplicate ACKs, TCP performs fast retransmit and fast recovery, cutting congestion window to half.Step 2: Understand congestion window growth after loss
After halving, TCP increases congestion window linearly (additive increase) to probe for available bandwidth.Step 3: Differentiate from timeout behavior
Timeout triggers slow start (reset to 1 MSS), not triple duplicate ACKs.Step 4: Reject ignoring loss or stopping sending
Ignoring loss or stopping immediately are incorrect TCP behaviors.Final Answer:
Option C -> Option CQuick Check:
Triple duplicate ACKs -> halve cwnd -> linear increase.
- Confusing timeout and triple duplicate ACK loss signals
- Assuming exponential growth continues after loss
- Believing TCP stops sending immediately on loss
Solution
Step 1: Identify the role of each TCP/IP layer in connection management
The Application Layer handles high-level protocols like HTTP, but does not establish connections itself. The Internet Layer routes packets but does not manage connections. The Transport Layer (e.g., TCP) manages connection establishment, flow control, and reliability. The Network Interface Layer deals with physical transmission.Final Answer:
Option A -> Option AQuick Check:
TCP's three-way handshake occurs at the Transport Layer, confirming connection establishment [OK]
- Confusing Application Layer protocols with connection management
- Assuming Internet Layer handles connections instead of routing
- Thinking Network Interface Layer manages connections
Solution
Step 1: Understand TCP reliability mechanism
TCP uses acknowledgments (ACKs) to confirm receipt of packets.Step 2: Lost packet detection
If a packet is lost, the sender does not receive an ACK for it within a timeout period.Step 3: Retransmission trigger
After timeout, the sender retransmits the lost packet.Step 4: Evaluate options
The receiver sends an acknowledgment for the last correctly received packet, triggering retransmission after timeout correctly describes the process. The sender immediately retransmits the lost packet without waiting for any signal is incorrect because retransmission waits for timeout or duplicate ACKs. The receiver sends a negative acknowledgment (NAK) to request retransmission of the lost packet is incorrect; TCP does not use NAKs. The sender continues sending new packets without retransmitting lost ones ignores retransmission, violating TCP reliability.Final Answer:
Option B -> Option BQuick Check:
TCP relies on ACK timeouts to detect loss and trigger retransmission.
- Believing TCP uses negative acknowledgments (NAKs)
- Thinking retransmission happens immediately without waiting
- Assuming sender ignores lost packets
Solution
Step 1: Understand reverse proxy caching
Reverse proxies may cache some content but do not always cache all content; caching is selective based on configuration.Step 2: Other statements
Reverse proxies hide backend details (A), perform SSL termination (C), and load balance requests (D) -- all correct.Final Answer:
Option A -> Option AQuick Check:
Reverse proxies do not always cache all content [OK]
- Assuming reverse proxies cache everything
- Confusing reverse proxy with CDN caching behavior
Solution
Step 1: Identify layer responsibilities relevant to encryption and compression
Encryption and compression are data transformations related to how data is presented and formatted for applications, which fits the Application Layer's role in TCP/IP (combining OSI's Application, Presentation, and Session layers).Step 2: Why not other layers?
Transport Layer manages segmentation and reliability, not data formatting. Internet Layer handles routing, not data content. Network Interface Layer deals with physical transmission, not data processing.Final Answer:
Option D -> Option DQuick Check:
Application Layer is the correct place for encryption/compression to maintain compatibility [OK]
- Placing encryption at Transport Layer (confusing with TLS)
- Thinking Internet Layer handles data content
- Assuming Network Interface Layer manages data transformations
