Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE-CS-2007 | Question 20

  • Difficulty Level : Easy
  • Last Updated : 28 Jun, 2021

Which one of the following uses UDP as the transport protocol?
(A) HTTP
(B) Telnet
(C) DNS
(D) SMTP


Answer: (C)

Explanation:

UDP is a stateless ,connectionless and unreliable protocol.
HTTP needs connection to be established and thus,uses TCP.
Telnet is a byte stream protocol which again needs connection establishment ,thus uses TCP.
DNS needs request and response ,it needs a protocol in which a server can answer the small queries of large number of users. As UDP is fast and stateless it is the most suitable protocol and thus,it is used in DNS querying .
SMTP needs reliability and thus,uses TCP.

This solution is contributed by Shashank Shanker khare

//………….//
DNS uses UDP.
HTTP, Telnet and SMTP uses TCP.

Thus, C is the correct choice.

 
Please comment below if you find anything wrong in the above post.

Quiz of this Question

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :