Bitzu

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

Single choice

Which transport protocol is connectionless?

  1. TCP
  2. UDP
  3. SCTP over a handshake
  4. TLS
Show answer

Answer: B. UDP

UDP sends datagrams without any session setup. TCP needs a handshake first.

Select all that apply

Which features does TCP provide?

  1. Sequence numbers and acknowledgements
  2. A three-way handshake before data
  3. Retransmission of lost segments
  4. Sending with no prior setup
  5. 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

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.

Download on the App StoreGet it on Google Play

More JN0-106 topics in this module