HTTP and FTP - Computer Networks Questions and Answers

DigitalOcean Referral Badge DigitalOcean Referral Badge

1.

HTTP client requests by establishing a __________ connection to a particular port on the server.

   A.) broader gateway protocol
   B.) user datagram protocol
   C.) transmission control protocol
   D.) none of these

Answer: Option 'C'

transmission control protocol

DigitalOcean Referral Badge

2.

HTTP is ________ protocol.

   A.) application layer
   B.) transport layer
   C.) network layer
   D.) none of these

Answer: Option 'A'

application layer

DigitalOcean Referral Badge

3.

FTP server listens for connection on port number

   A.) 20
   B.) 21
   C.) 22
   D.) 24

Answer: Option 'B'

21

DigitalOcean Referral Badge

4.

In which mode FTP, the client initiates both the control and data connections.

   A.) active mode
   B.) passive mode
   C.) both (a) and (b)
   D.) none of these

Answer: Option 'B'

passive mode

DigitalOcean Referral Badge
    DigitalOcean Referral Badge DigitalOcean Referral Badge

5.

In file transfer protocol, data transfer can be done in

   A.) stream mode
   B.) block mode
   C.) compressed mode
   D.) all of these

Answer: Option 'D'

all of these

DigitalOcean Referral Badge

6.

Multiple object can be sent over a TCP connection between client and server in

   A.) persistent HTTP
   B.) nonpersistent HTTP
   C.) both (a) and (b)
   D.) none of these

Answer: Option 'A'

persistent HTTP

DigitalOcean Referral Badge

7.

In the network HTTP resources are located by

   A.) uniform resource identifier
   B.) unique resource locator
   C.) unique resource identifier
   D.) none of these

Answer: Option 'A'

uniform resource identifier

DigitalOcean Referral Badge

8.

In HTTP pipelining

   A.) multiple HTTP requests can not be sent on a single TCP connection
   B.) multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses
   C.) multiple HTTP requests are sent in a queue on a single TCP connection
   D.) none of these

Answer: Option 'B'

multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses

DigitalOcean Referral Badge

9.

In FTP protocol, client contacts server using ____ as the transport protocol.

   A.) transmission control protocol
   B.) user datagram protocol
   C.) datagram congestion control protocol
   D.) stream control transmission protocol

Answer: Option 'A'

transmission control protocol

DigitalOcean Referral Badge
    DigitalOcean Referral Badge DigitalOcean Referral Badge

10.

The file transfer protocol is built on

   A.) data centric architecture
   B.) service oriented architecture
   C.) client server architecture
   D.) none of these

Answer: Option 'C'

client server architecture

DigitalOcean Referral Badge

HTTP and FTP Download Pdf

Recent Posts