All Exams Test series for 1 year @ ₹349 only
Question

Which of the following services use TCP?

i) DHCP               

ii) SMTP              

iii) HTTP               

iv) TFTP

v) FTP

The correct answer is

(ii), (iii) and (v)

Understanding TCP Services in Networking

This question requires identifying which network services from the given list utilize the Transmission Control Protocol (TCP). TCP is a reliable, connection-oriented protocol essential for many internet applications.

Analyzing Network Protocols Used by Each Service

Let's break down the protocol usage for each service mentioned:

  • DHCP (Dynamic Host Configuration Protocol): This service assigns IP addresses to network devices. It primarily uses the User Datagram Protocol (UDP) on ports 67 and 68. UDP is chosen for its speed and lower overhead, suitable for the broadcast nature of DHCP requests.
  • SMTP (Simple Mail Transfer Protocol): Used for sending emails, SMTP relies on TCP for reliable and ordered delivery of messages. It typically uses TCP port 25, along with ports 587 and 465 for secure email submission.
  • HTTP (Hypertext Transfer Protocol): This is the core protocol for the World Wide Web, used to transfer web pages. HTTP requires the reliability of TCP to ensure data integrity during web browsing. Common ports are TCP 80 (HTTP) and TCP 443 (HTTPS).
  • TFTP (Trivial File Transfer Protocol): A simplified file transfer protocol, often used for network booting or configuration. TFTP uses UDP on port 69. It is faster than FTP but lacks features like error checking and recovery, making it less reliable.
  • FTP (File Transfer Protocol): Used for transferring files between computers, FTP utilizes TCP for both control commands (port 21) and data transfer (usually port 20 or a passive port). TCP ensures reliable file transfers.

Summary of TCP and UDP Usage

Here's a summary table showing which protocol each service uses:

Service Protocol Used Typical Ports
DHCP UDP 67, 68
SMTP TCP 25, 587, 465
HTTP TCP 80, 443
TFTP UDP 69
FTP TCP 21 (Control), 20 (Data)

Identifying Services Using TCP

Based on the analysis, the services that employ TCP are:

  • SMTP (ii)
  • HTTP (iii)
  • FTP (v)

Therefore, the correct combination is (ii), (iii), and (v).

Was this answer helpful?

Important Questions from Application Layer Protocols

  1. Which one of the following protocols is used for E-mail services?

  2. LDAP works on the ________ layer of OSI Model

  3. To retrieve the information from Server, which http request type is used?

  4. What does PPTP stand for ?

  5. X.25 works on ___________ protocol.

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App