nerdexam
GIAC

GPEN · Question #353

Which of the following is the correct sequence of packets to perform the 3-way handshake method?

The correct answer is B. SYN, SYN/ACK, ACK. The TCP 3-way handshake establishes a reliable connection between client and server using three specific packets in a defined order.

Penetration Testing Foundations & Reconnaissance

Question

Which of the following is the correct sequence of packets to perform the 3-way handshake method?

Options

  • ASYN, ACK, SYN/ACK
  • BSYN, SYN/ACK, ACK
  • CSYN, SYN, ACK
  • DSYN, ACK, ACK

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    79% (23)
  • C
    3% (1)
  • D
    10% (3)

Why each option

The TCP 3-way handshake establishes a reliable connection between client and server using three specific packets in a defined order.

ASYN, ACK, SYN/ACK

SYN, ACK, SYN/ACK is incorrect because the server must send a combined SYN/ACK as the second packet, not a bare ACK, and the client's final reply is an ACK, not a SYN/ACK.

BSYN, SYN/ACK, ACKCorrect

The correct TCP 3-way handshake sequence is SYN (client initiates by synchronizing), SYN/ACK (server acknowledges and synchronizes back), then ACK (client acknowledges the server's response). This exchange establishes sequence numbers on both sides before data transfer begins, ensuring a reliable, ordered connection per RFC 793.

CSYN, SYN, ACK

SYN, SYN, ACK is incorrect because the server never sends a plain SYN in response; it always combines the synchronization and acknowledgment into a single SYN/ACK packet.

DSYN, ACK, ACK

SYN, ACK, ACK is incorrect because the server's response must include its own SYN flag to synchronize its sequence number with the client, making it SYN/ACK rather than a bare ACK.

Concept tested: TCP 3-way handshake connection establishment

Source: https://www.rfc-editor.org/rfc/rfc793

Topics

#TCP 3-way handshake#SYN SYN/ACK ACK#TCP fundamentals#network protocols

Community Discussion

No community discussion yet for this question.

Full GPEN Practice