0
0
Computer Networksknowledge~5 mins

UDP use cases (DNS, streaming, gaming) in Computer Networks - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does UDP stand for and what is its main characteristic?
UDP stands for User Datagram Protocol. It is a communication method that sends data without checking if it arrives correctly, making it faster but less reliable than TCP.
Click to reveal answer
beginner
Why is UDP commonly used for DNS (Domain Name System)?
UDP is used for DNS because DNS queries are small and need quick responses. UDP's fast, connectionless nature helps resolve domain names quickly without the overhead of establishing a connection.
Click to reveal answer
beginner
How does UDP benefit streaming services like video or music?
UDP allows streaming services to send data continuously without waiting for confirmation. This reduces delays and buffering, so users get smooth playback even if some data packets are lost.
Click to reveal answer
beginner
Why do many online games use UDP instead of TCP?
Online games use UDP because it sends data quickly without waiting for lost packets to be resent. This keeps the game responsive and fast, which is important for real-time actions.
Click to reveal answer
beginner
What is a common trade-off when using UDP for communication?
The trade-off is speed versus reliability. UDP is faster because it doesn't check if data arrives, but this means some data can be lost or arrive out of order.
Click to reveal answer
Why is UDP preferred for DNS queries?
ABecause it guarantees delivery
BBecause it encrypts data
CBecause it is fast and connectionless
DBecause it uses large packets
What is a key benefit of using UDP for streaming video?
AEnsures every packet is received
BEncrypts the video data
CEstablishes a secure connection
DReduces delay and buffering
Why do online games often use UDP?
ATo keep gameplay fast and responsive
BTo guarantee data delivery
CTo encrypt player data
DTo reduce bandwidth usage
What is a downside of using UDP?
AIt is slower than TCP
BData can be lost or arrive out of order
CIt uses more bandwidth
DIt requires a connection
Which of these is NOT a typical use case for UDP?
AFile transfer with guaranteed delivery
BLive video streaming
COnline gaming
DDNS lookups
Explain why UDP is chosen for DNS, streaming, and gaming applications.
Think about speed and reliability trade-offs.
You got /4 concepts.
    Describe the main trade-off when using UDP instead of TCP.
    Consider what UDP skips to gain speed.
    You got /4 concepts.