nerdexam
EC-Council

312-50V10 · Question #239

What is the correct process for the TCP three-way handshake connection establishment and connection termination?

The correct answer is A. Connection Establishment: SYN, SYN-ACK, ACK. The TCP three-way handshake establishes a connection using the sequence SYN, SYN-ACK, ACK, as defined in RFC 793.

Scanning Networks

Question

What is the correct process for the TCP three-way handshake connection establishment and connection termination?

Options

  • AConnection Establishment: SYN, SYN-ACK, ACK
  • BConnection Establishment: ACK, ACK-SYN, SYN
  • CConnection Establishment: FIN, ACK-FIN, ACK
  • DConnection Establishment: SYN, SYN-ACK, ACK

How the community answered

(47 responses)
  • A
    87% (41)
  • B
    6% (3)
  • C
    4% (2)
  • D
    2% (1)

Why each option

The TCP three-way handshake establishes a connection using the sequence SYN, SYN-ACK, ACK, as defined in RFC 793.

AConnection Establishment: SYN, SYN-ACK, ACKCorrect

The initiating client sends a SYN segment to request a connection, the server responds with SYN-ACK to acknowledge the client's sequence number and advertise its own, and the client completes the handshake with an ACK. This three-step exchange synchronizes sequence numbers on both sides before any data transfer begins, as specified in RFC 793.

BConnection Establishment: ACK, ACK-SYN, SYN

The sequence ACK, ACK-SYN, SYN reverses the correct order and uses invalid flag combinations; a connection cannot begin with an ACK because there is no prior segment to acknowledge.

CConnection Establishment: FIN, ACK-FIN, ACK

FIN, ACK-FIN, ACK describes the connection termination (teardown) sequence, not connection establishment.

DConnection Establishment: SYN, SYN-ACK, ACK

This option describes an incorrect or incomplete version of the handshake that does not match the full establishment and termination process defined in RFC 793.

Concept tested: TCP three-way handshake connection establishment

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

Topics

#TCP three-way handshake#SYN#network protocols#connection establishment

Community Discussion

No community discussion yet for this question.

Full 312-50V10 Practice