UDP Interview/Exam Question-Answer

Q.1 Return value of the UDP port “Chargen” is _______.

       A. String of integers

       B. String of characters

       C. Array of zero’s and one’s

       D. Array of characters with integers

Ans : String of characters


Q.2 Which of the following is false with respect to UDP?

       A. Unreliable

       B. Connection-oriented

       C. Low overhead

       D. Transport layer protocol

Ans : Connection-oriented


Q.3 What is the main advantage of UDP?

       A. Reliable

       B. More overload

       C. Fast

       D. Low overhead

Ans : Low overhead


Q.4 Beyond IP, UDP provides additional services such as _______.

       A. Sending and receiving of packets

       B. Routing and switching

       C. Demultiplexing and error checking

       D. Multiplexing and demultiplexing

Ans : Demultiplexing and error checking


Q.5 What is the header size of a UDP packet?

       A. 8 bits

       B. 8 bytes

       C. 124 bytes

       D. 16 bytes

Ans : 8 bytes


Q.6 Port number used by Network Time Protocol (NTP) with UDP is ________.

       A. 123

       B. 161

       A. 124

       B. 162

Ans : 123


Q.7 “Total length” field in UDP packet header is the length of _________.

       A. Only data

       B. Only UDP header

       C. UDP header plus data

       D. Only checksum

Ans : UDP header plus data


Q.8 The port number is “ephemeral port number”, if the source host is _______.

       A. Server

       B. Echo

       C. Client

       D. NTP

Ans : Client


Q.9 The ______ field is used to detect errors over the entire user datagram.

       A. checksum

       B. udp header

       C. destination port

       D. source port

Ans : checksum


Q.10 Which is the correct expression for the length of UDP datagram?

       A. UDP length = UDP length – UDP header’s length

       B. UDP length = IP length – IP header’s length

       C. UDP length = UDP length + UDP header’s length

       D. UDP length = IP length + IP header’s length

Ans : UDP length = IP length – IP header’s length


Leave a Comment