JN0-106 ยท Networking fundamentals
TCP, UDP and class of service
TCP versus UDP behaviour, the three-way handshake, and the purpose of class of service and packet marking (DSCP, forwarding classes at a conceptual level).
Key points
- TCP: connection-oriented; a three-way handshake (SYN, SYN-ACK, ACK) sets up a session.
- Sequence numbers, acknowledgements and retransmission: reliable ordered delivery.
- UDP: connectionless, no setup, no guarantees, low overhead.
- Class of service (CoS): treats traffic differently under congestion.
- Packets are classified (e.g. by DSCP), put into forwarding classes mapped to queues, scheduled by priority.
Practice questions
Which transport protocol is connectionless?
- TCP
- UDP
- SCTP over a handshake
- TLS
Show answer
Answer: B. UDP
UDP sends datagrams without any session setup. TCP needs a handshake first.
Which features does TCP provide?
- Sequence numbers and acknowledgements
- A three-way handshake before data
- Retransmission of lost segments
- Sending with no prior setup
- Delivery to all hosts by broadcast
Show answer
Answer: A. Sequence numbers and acknowledgements, B. A three-way handshake before data, C. Retransmission of lost segments
TCP uses a handshake, sequence numbers with acknowledgements, and retransmission. Skipping setup is UDP behaviour, and TCP does not broadcast.
True or false: the TCP three-way handshake ends with a SYN-ACK segment.
Show answer
Answer: False
False. The order is SYN, SYN-ACK, ACK; SYN-ACK is the second step.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
