nerdexam
CompTIA

SY0-301 · Question #604

Which the following flags are used to establish a TCP connection? (Select TWO).

The correct answer is B. ACK C. SYN. The TCP three-way handshake that establishes a connection uses the SYN and ACK flags across its three steps.

General security concepts

Question

Which the following flags are used to establish a TCP connection? (Select TWO).

Options

  • APSH
  • BACK
  • CSYN
  • DURG
  • EFIN

How the community answered

(40 responses)
  • A
    3% (1)
  • B
    88% (35)
  • D
    8% (3)
  • E
    3% (1)

Why each option

The TCP three-way handshake that establishes a connection uses the SYN and ACK flags across its three steps.

APSH

PSH (Push) is used to instruct the receiver to pass buffered data to the application immediately and is not part of connection establishment.

BACKCorrect

ACK is used in the second step when the server sends a SYN-ACK back to the client, and again in the third step when the client sends a final ACK to complete the connection establishment.

CSYNCorrect

SYN is sent by the client in the first step to initiate the connection, and included by the server in the SYN-ACK response, making it essential to the handshake process.

DURG

URG (Urgent) signals that certain data should be prioritized but plays no role in the TCP three-way handshake.

EFIN

FIN is used to gracefully terminate an established connection, not to establish one.

Concept tested: TCP three-way handshake SYN and ACK flags

Source: https://www.ietf.org/rfc/rfc793.txt

Topics

#TCP handshake#TCP flags#SYN ACK#network protocols

Community Discussion

No community discussion yet for this question.

Full SY0-301 Practice