COMPUTER NETWORKING

TRANSPORT LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which protocol or service uses UDP for a client-to-server communication and TCP for server-to-server communication?
A
HTTP
B
FTP
C
DNS
D
SMTP
Explanation: 

Detailed explanation-1: -DNS uses UDP when clients send requests to a DNS server, and TCP when two DNS serves directly communicate.

Detailed explanation-2: -DNS uses the User Datagram Protocol (UDP) on port 53 to serve DNS queries. UDP is preferred because it is fast and has low overhead. A DNS query is a single UDP request from the DNS client followed by a single UDP reply from the server.

Detailed explanation-3: -HTTP and connections Among the two most common transport protocols on the Internet, TCP is reliable and UDP isn’t. HTTP therefore relies on the TCP standard, which is connection-based.

There is 1 question to complete.