# Compare TCP to UDP — Practice reading

Exam: 200-301 — Implementing and Administering Cisco Solutions
Knowledge domain: Network Fundamentals
HTML: https://learningpathx.com/learning-path/200-301/learn/90

This public learning practice includes correct answers and existing explanations. Reading does not save progress or create a test.

## Question 1

Type: multiple\_choice
Knowledge point: Transmission Control Protocol (TCP)

An Enterprise Network Architect is reviewing the deployment of a new AAA (Authentication, Authorization, and Accounting) server in 10.16.0.0/17\. The architect must choose between configuring the network devices to use RADIUS or TACACS+ to communicate with the server.

The architect reviews the transport layer characteristics of each protocol:

* Protocol A uses UDP port 1812 and 1813.
* Protocol B uses TCP port 49.

Based on the required reliability for accounting data over a WAN, which two statements correctly diagnose the transport behavior of these protocols? (Choose 2.)

### Options

**A**

Protocol A (RADIUS) provides built-in transport reliability, ensuring lost accounting packets are automatically retransmitted by UDP.

**B**

TACACS+ establishes TCP connections; TCP supplies ordered, acknowledged transport with retransmission while a viable connection exists.

**C**

Protocol A (RADIUS) relies on the application layer to handle timeouts and retransmissions since its transport layer is connectionless.

**D**

Both protocols rely on TCP to ensure that the entire payload is fully encrypted before it leaves the network device interface.

**E**

Protocol B (TACACS+) requires a three-way handshake for every authentication packet, making it unsuitable for centralized AAA deployments.

Correct answer: B, C

### Explanation

TCP handles connection establishment and transport loss recovery, whereas UDP-based RADIUS relies on application timeouts and retries. TCP can report connection failure and does not guarantee eventual AAA success across a permanent outage.

## Question 2

Type: single\_choice
Knowledge point: Transmission Control Protocol (TCP)

A NOC Engineer is investigating poor performance during a live video stream originating from 10.16.64.0/19\. The stream frequently buffers and stutters. The engineer captures the traffic and observes the following transport layer behavior:

* The sender establishes a three-way handshake with the receiver before transmitting video data.
* During brief periods of packet loss, the sender pauses transmission to wait for acknowledgments before sending the next block of video data.

Which statement correctly identifies the transport and a mechanism that can contribute to loss-related playback delay?

### Options

**A**

The application uses TCP; reliable ordered delivery and recovery of lost data can delay delivery of later data to the application.

**B**

The application is using UDP, which extensively buffers outgoing data to ensure the video stream arrives in the correct sequence order.

**C**

The application uses TCP; using controller-based network management inherently disables TCP congestion control.

**D**

The application is using UDP, which inherently requires a three-way handshake process that slows down live video streaming delivery.

Correct answer: A

### Explanation

A three-way connection handshake and acknowledgments identify TCP. Recovery of missing bytes and ordered delivery can delay application delivery during loss. This observation does not require switching transport: buffering, bitrate, congestion, and application requirements also matter. UDP lacks native reliable ordered delivery, but an application over UDP can add buffering and recovery.

## Question 3

Type: multiple\_choice
Knowledge point: Transmission Control Protocol (TCP)

A Network Engineer is configuring a firewall to permit Voice over IP (VoIP) RTP media streams and a proprietary database replication application between 10.16.0.0/17 and a remote site.

The engineer reviews the transport requirements:

* The VoIP RTP stream requires minimal delay and can tolerate occasional dropped packets without severe degradation.
* The database replication requires strict data integrity and flow control to prevent overwhelming the receiving server.

Which three firewall configurations and transport layer principles correctly align with these requirements?

The implementations support RTP over UDP and database replication over TCP respectively. Restrict the firewall to separately documented service ports and authorized peers. (Choose 3.)

### Options

**A**

The firewall must permit TCP for the VoIP RTP stream to guarantee that every voice packet is acknowledged and retransmitted if lost.

**B**

The firewall must permit TCP for the database replication because it utilizes a sliding window to manage flow control.

**C**

The UDP configuration for VoIP will automatically reassemble fragmented packets in the correct order before delivering them to the IP phone.

**D**

The firewall must permit UDP for the database replication to ensure the packets are sequenced correctly upon arrival.

**E**

The firewall must permit UDP for the VoIP RTP stream because it minimizes overhead by not requiring a connection setup.

**F**

TCP provides ordered byte delivery and transport retransmissions, while the database still needs transaction-integrity and reconnect handling.

Correct answer: B, E, F

### Explanation

UDP avoids transport establishment and retransmission delays for this RTP implementation. TCP supplies flow control and ordered retransmitted bytes for replication; IP fragment reassembly and application transaction recovery remain separate.

## Question 4

Type: multiple\_choice
Knowledge point: User Datagram Protocol (UDP)

Which two statements describe UDP transport behavior? (Choose 2.)

### Options

**A**

UDP preserves datagram boundaries rather than providing a continuous byte stream.

**B**

A valid UDP checksum confirms that the intended application received and processed the datagram.

**C**

The UDP length field prevents an oversized UDP datagram from being fragmented by IP.

**D**

The destination port identifies the receiving application endpoint on the destination host.

**E**

UDP itself retransmits a datagram when the receiver does not acknowledge it.

Correct answer: A, D

### Explanation

UDP provides datagram-oriented delivery and port-based application demultiplexing. Delivery recovery and application-level receipt confirmation require mechanisms beyond UDP.

