nerdexam
F5

101 · Question #595

A client receives all of the expected data from a server and sends a FIN packet signaling the end of communication. What will the server do when it receives the FIN Packet from the client?

The correct answer is D. send an ACK Packet. In TCP's four-way connection termination, receiving a FIN triggers an ACK - not a reset or new connection initiation.

Section 1: OSI Model, Network, and Application Delivery Basics

Question

A client receives all of the expected data from a server and sends a FIN packet signaling the end of communication. What will the server do when it receives the FIN Packet from the client?

Options

  • Asend a SYN packet
  • Bsend an RST packet
  • CSend both FIN and RST packets
  • Dsend an ACK Packet

How the community answered

(27 responses)
  • A
    7% (2)
  • B
    4% (1)
  • D
    89% (24)

Why each option

In TCP's four-way connection termination, receiving a FIN triggers an ACK - not a reset or new connection initiation.

Asend a SYN packet

SYN packets initiate new TCP connections and have no role in connection termination.

Bsend an RST packet

RST packets abruptly terminate a connection due to an error condition, not as a normal graceful response to a FIN.

CSend both FIN and RST packets

Sending both FIN and RST simultaneously is not standard TCP behavior; the FIN and ACK are sent in separate steps of the termination sequence.

Dsend an ACK PacketCorrect

When a server receives a FIN from the client, TCP requires it to immediately send an ACK to acknowledge receipt of the client's close request. This places the connection in a half-closed state where the server may still send remaining data before issuing its own FIN to complete the four-way termination handshake.

Concept tested: TCP four-way connection termination sequence

Source: https://datatracker.ietf.org/doc/html/rfc793

Topics

#TCP connection termination#FIN packet#ACK#TCP state machine

Community Discussion

No community discussion yet for this question.

Full 101 Practice