GSEC · Question #26
Which of the following applications would be BEST implemented with UDP instead of TCP?
The correct answer is A. A multicast streaming application.. UDP is the correct choice for multicast streaming because TCP does not support multicast and UDP's low-overhead delivery suits real-time data.
Question
Which of the following applications would be BEST implemented with UDP instead of TCP?
Options
- AA multicast streaming application.
- BA web browser.
- CA DNS zone transfer.
- DA file transfer application.
How the community answered
(41 responses)- A80% (33)
- B12% (5)
- C5% (2)
- D2% (1)
Why each option
UDP is the correct choice for multicast streaming because TCP does not support multicast and UDP's low-overhead delivery suits real-time data.
Multicast requires UDP because TCP is a unicast, connection-oriented protocol that cannot establish the one-to-many session model multicast depends on. UDP's connectionless nature also avoids the retransmission delays that TCP's reliability mechanisms would impose, which is acceptable since streaming applications can tolerate minor packet loss in favor of low latency.
A web browser uses HTTP or HTTPS, which are built on TCP to ensure reliable, ordered, error-checked delivery of web content.
DNS zone transfers use TCP because they transfer complete, large zone datasets that require guaranteed, in-order delivery to maintain data integrity.
File transfer applications rely on TCP to ensure every byte of a file arrives intact and in the correct sequence without data loss.
Concept tested: UDP vs TCP protocol selection for multicast streaming
Source: https://www.rfc-editor.org/rfc/rfc768
Topics
Community Discussion
No community discussion yet for this question.