Shuffled Quiz with Report Card
Completed: 0/0

UDP (User Datagram Protocol) MCQ - Transport Layer

1.
What is the full form of UDP?
User Datagram Protocol
Universal Data Protocol
User Data Process
Unified Datagram Process
UDP stands for User Datagram Protocol.
2.
UDP is classified as which type of protocol?
Connectionless
Connection-oriented
Session-based
Stateful
UDP does not establish a connection before sending data.
3.
Which OSI layer does UDP operate at?
Transport Layer
Network Layer
Data Link Layer
Application Layer
UDP works at Layer 4 of the OSI model.
4.
What is the Protocol Data Unit (PDU) of UDP?
Datagram
Segment
Packet
Frame
UDP transmits data in units called datagrams.
5.
Which statement about UDP reliability is correct?
No guarantee of delivery
Guaranteed delivery
Retransmits lost packets
Uses acknowledgments
UDP does not ensure delivery or retransmission of lost data.
6.
Why is UDP faster than TCP?
No connection setup and control overhead
Uses encryption
Uses acknowledgments
Uses flow control
UDP avoids handshakes, acknowledgments, and retransmissions.
7.
Does UDP provide flow control?
No
Yes
Only sometimes
Only for servers
UDP does not regulate the sender's transmission rate.
8.
Which error control mechanism is used by UDP?
Checksum only
ACK and retransmission
Sliding window
Sequence numbers
UDP uses checksum only to detect errors.
9.
Does UDP support sequencing of packets?
No
Yes
Only in IPv6
Only in LAN
UDP does not number packets, so order is not guaranteed.
10.
UDP uses port numbers mainly to?
Identify applications
Identify MAC addresses
Encrypt data
Route packets
Port numbers allow process-to-process communication.
11.
Which application commonly uses UDP?
DNS
FTP
SMTP
HTTP
DNS uses UDP for fast query-response communication.
12.
Why is UDP suitable for video streaming?
Low latency is more important than reliability
Guaranteed delivery
Uses acknowledgments
High error correction
Small packet loss is acceptable, but delay is not.
13.
Which online activity benefits most from UDP?
Online gaming
File transfer
Email
Software updates
Gaming prioritizes speed and real-time data delivery.
14.
Which protocol replaces broadcast using multicast with UDP?
UDP
TCP
ICMP
ARP
UDP supports multicast communication efficiently.
15.
Which protocol is better when speed is more important than accuracy?
UDP
TCP
HTTPS
FTP
UDP prioritizes speed over reliability.
1.
Which transport protocol is best suited for real-time voice communication?
UDP
TCP
FTP
SMTP
UDP provides low latency and is ideal for real-time voice and video.
2.
UDP does not require which of the following before data transmission?
Connection establishment
Port numbers
Checksum
IP addressing
UDP is connectionless and sends data without a handshake.
3.
Which UDP feature allows faster data transfer?
No retransmission and no acknowledgments
Flow control
Sequencing
Congestion control
UDP avoids overhead, making it faster than TCP.
4.
What happens if a UDP packet is lost?
It is discarded with no retransmission
It is retransmitted automatically
It is reordered
It waits for acknowledgment
UDP does not recover lost packets.
5.
Which network service commonly uses UDP by default?
DNS
HTTP
SMTP
FTP
DNS queries typically use UDP for faster responses.
6.
Why is UDP preferred over TCP for live video streaming?
Low latency and minimal overhead
Guaranteed packet delivery
Error recovery
Ordered data transmission
Video streaming tolerates some packet loss but not delay.
7.
How does UDP handle congestion control?
It does not handle congestion control
Uses sliding window
Reduces window size
Uses ACK packets
UDP leaves congestion control to the application layer.
8.
Which application-layer protocol relies on UDP and uses port 53?
DNS
DHCP
SNMP
TFTP
DNS uses UDP port 53 for standard queries.
9.
Which mechanism does UDP use to detect data corruption?
Checksum
Sequence numbers
Acknowledgments
Sliding window
UDP checksum detects errors but does not correct them.
10.
In which situation should UDP NOT be used?
File transfer requiring accuracy
Online gaming
Voice calls
Live streaming
Reliable data transfer requires TCP, not UDP.
1.
Which protocol is connection-oriented?
TCP
UDP
IP
ICMP
TCP establishes a connection before data transfer.
2.
Which protocol uses a 3-way handshake?
TCP
UDP
ARP
DNS
TCP uses SYN, SYN-ACK, and ACK to establish connections.
3.
Which protocol provides faster transmission with less overhead?
UDP
TCP
HTTP
FTP
UDP avoids acknowledgments and retransmissions.
4.
Which protocol guarantees data delivery?
TCP
UDP
IP
ARP
TCP retransmits lost packets to ensure delivery.
5.
Which protocol does NOT support sequencing?
UDP
TCP
SMTP
FTP
UDP does not number packets.
6.
Which protocol supports flow and congestion control?
TCP
UDP
ICMP
ARP
TCP uses sliding window and congestion algorithms.
7.
Which protocol is best for online gaming?
UDP
TCP
HTTP
SMTP
Online games require low latency, not guaranteed delivery.
8.
Which protocol uses acknowledgments (ACK)?
TCP
UDP
IP
DNS
TCP uses ACKs for reliable communication.
9.
Which protocol is connectionless?
UDP
TCP
FTP
SMTP
UDP sends data without establishing a session.
10.
Which protocol is preferred for file transfer?
TCP
UDP
SNMP
DHCP
File transfer requires reliable and ordered delivery.
11.
Why is TCP not suitable for real-time video streaming?
Retransmissions cause delay
Uses ports
Uses IP addresses
Is unreliable
TCP retransmissions increase latency, affecting real-time data.
12.
Which protocol leaves reliability handling to the application?
UDP
TCP
HTTP
FTP
UDP provides minimal services; applications manage reliability.
13.
What happens when a UDP packet is lost?
It is dropped permanently
It is retransmitted
It is reordered
It waits for ACK
UDP does not recover lost packets.
14.
Which protocol uses sliding window mechanism?
TCP
UDP
ICMP
ARP
TCP sliding window enables flow control.
15.
Which protocol is used by DNS for faster queries?
UDP
TCP
HTTP
FTP
DNS typically uses UDP to reduce query time.
16.
Which protocol provides ordered delivery?
TCP
UDP
IP
ARP
TCP sequencing ensures correct order of data.
17.
Which protocol has lower overhead?
UDP
TCP
FTP
SMTP
UDP has a smaller header and fewer mechanisms.
18.
Which protocol ensures congestion control?
TCP
UDP
IP
DNS
TCP adjusts transmission rate during congestion.
19.
Which protocol is suitable for VoIP?
UDP
TCP
FTP
SMTP
VoIP prioritizes speed over reliability.
20.
Which protocol ensures data integrity and reliability?
TCP
UDP
IP
ARP
TCP guarantees correct and complete data delivery.

Congratulations!

Attempted: 0

Correct: 0

Wrong: 0

Percentage: 0%