TCP 3-Way Handshake — Concept Check
Questions on TCP 3-Way Handshake. TCP establishes a reliable connection using a 3-way handshake (SYN → SYN-ACK → ACK) before any data is exchanged, and closes it with a 4-way FIN sequence.
Questions in this quiz
8 questions on TCP 3-Way Handshake — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.A client initiates a TCP connection by sending a SYN packet. What should the server send back to continue the handshake?
- ASYN
- BFIN
- CACK
- DSYN-ACK
2.During a TCP 3-way handshake, what is the purpose of the initial SYN packet sent by the client?
- ATo request retransmission
- BTo close the connection
- CTo acknowledge receipt of data
- DTo synchronize sequence numbers
3.A server is experiencing connection exhaustion. Which TCP state might you see frequently in this scenario?
- ACLOSE_WAIT
- BTIME_WAIT
- CSYN_SENT
- DESTABLISHED
4.A client sends a SYN packet, but the server never receives it. What state will the client remain in?
- ASYN_SENT
- BFIN_WAIT_1
- CCLOSE_WAIT
- DESTABLISHED
5.What happens if a client sends an ACK packet before receiving a SYN-ACK during the handshake?
- AThe server sends a FIN packet
- BThe client transitions to CLOSE_WAIT
- CThe ACK is ignored
- DThe connection is established
6.Why does TCP use a 4-way FIN sequence to close a connection?
- ATo reduce latency
- BTo synchronize sequence numbers
- CTo independently close each half of the connection
- DTo establish a new connection
7.A client and server complete the 3-way handshake, but the client immediately sends a FIN packet. What is likely happening?
- AThe client is closing the connection
- BThe server is acknowledging data
- CThe server is initiating a handshake
- DThe client is synchronizing sequence numbers
8.A TCP connection is established, but data is not flowing. Which state might indicate a problem?
- ASYN_SENT
- BESTABLISHED
- CTIME_WAIT
- DFIN_WAIT_1