What is the size of the UDP header?
Correct answer A. 8 bytes
Explanation
The UDP header has four 16-bit fields, so it is always 8 bytes long. The figure 20 is the minimum size of a TCP or IPv4 header, which explains why it is tempting. The compact fixed header is part of the reason UDP imposes so little overhead on short exchanges such as DNS queries.
Answer checked How we write and check questions
Discussion