CNSP practice question 8 of 15

What is the response from an open TCP port which is not behind a firewall?

Full set: 60 questions

Domain Network Security Protocols

Answer options
A: A FIN and an ACK packet
B: A SYN packet
C: A SYN and an ACK packet Correct answer
D: A RST and an ACK packet
Correct Answer:
C. A SYN and an ACK packet
Explanation

When a client sends a TCP SYN segment to an open port, the server that is listening on that port replies with a segment that has both the SYN and ACK flags set (SYN-ACK). This forms the second step of the TCP three-way handshake and confirms the port is open and willing to establish a connection.

Why Incorrect

A. FIN+ACK indicates an orderly connection termination, not the start of a new connection to an open port.
B. A SYN alone is sent by the initiator (client), not the listening server’s response.
D. RST+ACK is returned when the destination port is closed or unwilling to accept the connection, not when it is open.

References

1. J. Postel, “RFC 793 – Transmission Control Protocol,” §3.4, pp. 32-33, Sept 1981.

2. MIT OpenCourseWare, 6.033 “Computer Systems Engineering,” Lecture 9 notes, slide “TCP Three-Way Handshake,” 2020 edition.

3. Stanford University CS144 “Introduction to Computer Networking,” Lecture 4 transcript, section “Establishing a TCP connection,” 2021.

Scroll to Top