🎓 BookMCQ
← Back to 24. Transport Layer Protocols

📝 Stream Control Transmission Protocol (SCTP) (7 MCQs)

Message-Oriented Transport with Association State

SCTP is a transport-layer protocol in the TCP/IP suite, standardized for reliable message-oriented communication. It establishes associations between endpoints and supports multiple logical streams within an association. SCTP preserves user-message boundaries, uses transmission sequence numbers for reliable transfer, and can support multiple IP addresses at an endpoint, combining reliability with multistreaming and multihoming. It defines the boundary between application processes and packet delivery.

Limitations of a Single Ordered Transport Stream

TCP's single ordered byte stream can cause one missing segment to delay delivery of later bytes, even when those bytes belong to independent application messages. Some signalling systems need message boundaries and independent stream delivery, as well as path redundancy. SCTP was designed to support these requirements without discarding reliable transport mechanisms.

Association Setup, Chunk Transfer and Acknowledgment

SCTP endpoints establish an association through INIT, INIT ACK, COOKIE ECHO, and COOKIE ACK chunks. Data is carried in DATA chunks with transmission sequence numbers and stream identifiers. The receiver reports cumulative and gap acknowledgments in SACK chunks, allowing the sender to detect missing chunks and perform retransmission. The exact steps depend on the protocol's negotiated state.

Two Independent Streams Within One Association

An application creates one SCTP association and sends a message on stream 0 and another on stream 1. If a message on stream 0 is delayed by loss, stream 1 may still deliver its in-order message independently once received. Association-level reliability remains coordinated through TSNs, while stream sequence numbers order messages within each stream.

Fault Tolerance and Head-of-Line Trade-Offs

SCTP is used in signalling and systems that benefit from message boundaries, multistreaming, and multihoming. Separate streams reduce inter-stream head-of-line blocking, while multiple peer addresses can provide path redundancy. SCTP still requires congestion control, buffering, and association state, and multihoming does not mean all paths carry data simultaneously by default.

Three SCTP Distinctions

'SCTP is a byte-stream protocol identical to TCP' is false: SCTP is message-oriented. 'Multihoming means every path is used concurrently' is false: a primary path is normally selected, with alternatives available for failover. 'A stream is a separate association' is false: multiple streams exist within one association. These distinctions separate similar mechanisms that are often confused.

Exam Focus: Associations, Streams and Multihoming

Compare SCTP with TCP and UDP by message boundaries, reliability, and endpoint state. Trace the four-message cookie handshake and identify DATA and SACK chunks. Explain how TSN governs transfer reliability while stream identifiers and stream sequence numbers support independent message ordering. Use the assumptions stated in each question when calculating.

Key Terms for Stream Control Transmission Protocol (SCTP)

  • Association - SCTP relationship between peers.
  • Stream - Independent ordered message sequence.
  • TSN - Sequence number for reliable data transfer.
  • Multistreaming - Multiple logical streams in one association.
  • Multihoming - Multiple transport addresses for an endpoint.
  • Chunk - Typed control or data unit inside SCTP packet.
2
Easy
3
Medium
2
Hard

📝 All Stream Control Transmission Protocol (SCTP) MCQs

Q1. What does the acronym SCTP stand for?

A.Simple Connection Transfer Protocol
B.Stream Control Transmission Protocol ✅
C.Synchronous Communication Transfer Procedure
D.Secure Channel Transport Protocol
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The acronym SCTP expands to Stream Control Transmission Protocol. It was designed to provide reliable, message‑oriented transport with features such as multi‑homing and unordered delivery, distinguishing it from TCP and UDP.

Q2. In the Selective Repeat protocol, if a data segment with sequence number 4 is lost, what happens to the transmission of subsequent segments 5 and 6?

A.They are discarded and the sender must resend the entire window.
B.They are ignored by the receiver until segment 4 is retransmitted.
C.They are buffered by the receiver and delivered after segment 4 is successfully received.
D.They are transmitted normally, but the receiver cannot acknowledge them until segment 4 is received, causing a gap in acknowledgments. ✅
💡 Difficulty: easy | ✅ Correct: D

📖 Explanation: The loss of segment 4 creates a gap in the acknowledgment sequence. SCTP’s Selective Repeat allows the receiver to keep later segments (5 and 6) in its buffer, but it cannot acknowledge them until the missing segment is retransmitted and correctly received, resulting in a temporary acknowledgment gap.

Q3. Which of the following statements best differentiates the Go-Back-N protocol from the Selective Repeat protocol in terms of retransmission strategy?

A.Go-Back-N retransmits only the missing segment, while Selective Repeat retransmits the entire window.
B.Go-Back-N requires cumulative acknowledgments, whereas Selective Repeat uses selective acknowledgments for individual packets. ✅
C.Both protocols use the same retransmission approach, but Selective Repeat adds error detection codes.
D.Go-Back-N buffers out‑of‑order packets at the receiver, while Selective Repeat discards them.
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Go‑Back‑N uses cumulative acknowledgments; when a packet is missing, the sender must resend that packet and all following ones in the window. In contrast, Selective Repeat employs selective acknowledgments, so only the specific lost packets are retransmitted, making it more efficient under moderate loss.

Q4. How does SCTP's four‑way handshake enhance connection reliability compared to TCP's three‑way handshake?

A.It reduces the number of round‑trip times needed to establish a connection.
B.It allows simultaneous data transfer during the handshake.
C.It provides a verification step that confirms both endpoints have received the other's initial sequence numbers. ✅
D.It eliminates the need for sequence numbers entirely.
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: The four‑way handshake of SCTP adds an extra verification step after the initial SYN‑ACK exchange. Both endpoints exchange and confirm their initial Transmission Sequence Numbers (TSNs), ensuring that each side has correctly received the other's parameters before data transmission begins, thereby increasing reliability over TCP’s three‑step process.

Q5. If the propagation delay is TpT_p and the transmission time for a packet is TtT_t, which expression correctly represents the maximum throughput of the Stop‑and‑Wait protocol?

A.fracTtTp+Tt\\frac{T_t}{T_p + T_t}
B.fracTt2Tp+Tt\\frac{T_t}{2T_p + T_t} ✅
C.frac2TtTp+Tt\\frac{2T_t}{T_p + T_t}
D.fracTpTp+Tt\\frac{T_p}{T_p + T_t}
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: In Stop‑and‑Wait, a sender must wait for an acknowledgment before sending the next packet, so the cycle time includes the transmission time TtT_t and twice the propagation delay 2Tp2T_p (forward and return). Hence, the maximum achievable throughput is \\frac{T_t}{2T_p + T_t} \.

Q6. Given a window size N=5N = 5 and a packet loss probability p=0.1p = 0.1, which statement most accurately compares the expected number of retransmissions per window in Go‑Back‑N versus Selective Repeat?

A.Go‑Back‑N expects about 5p=0.55p = 0.5 retransmissions, while Selective Repeat expects roughly p=0.1p = 0.1 retransmissions.
B.Both protocols expect the same number of retransmissions because loss probability is independent of the protocol.
C.Go‑Back‑N expects roughly p/(1−p)=0.111p/(1-p) = 0.111 retransmissions, whereas Selective Repeat expects 5p=0.55p = 0.5.
D.Selective Repeat expects fewer retransmissions, approximately p=0.1p = 0.1, while Go‑Back‑N may incur up to the entire window, i.e., about 5p=0.55p = 0.5 retransmissions. ✅
💡 Difficulty: hard | ✅ Correct: D

📖 Explanation: For a window of five packets, Go‑Back‑N must retransmit the lost packet and all subsequent packets in the window, giving an expected retransmission count of roughly Ntimesp=5times0.1=0.5N \\times p = 5 \\times 0.1 = 0.5 per window. Selective Repeat only resends the individual lost packet, so its expected retransmissions are about p=0.1p = 0.1. Therefore, Selective Repeat incurs fewer retransmissions.

Q7. Which scenario best illustrates the advantage of SCTP's multi‑homing capability in reducing connection disruption?

A.A server with two network interfaces detects a failure on the primary link and automatically reroutes traffic through the secondary interface without breaking the association. ✅
B.A client uses SCTP to send data over a single IPv4 address while the server uses IPv6, requiring protocol translation.
C.An application switches from SCTP to UDP when the network becomes congested, preserving throughput.
D.Two hosts negotiate a new port number during an ongoing SCTP association to avoid port conflicts.
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: In a multi‑homed SCTP association, each endpoint can advertise multiple IP addresses. If the primary path fails, SCTP seamlessly switches to an alternative address without tearing down the association. This built‑in redundancy keeps the connection alive, demonstrating the protocol’s resilience compared to single‑homed transports.

🔗 Related Topics (MCQs)