A. True
B. False
C.
D.
Explanation: Persistent connections are kept active after completing transaction so that multiple objects can be sent over the same TCP connection.
A. Application layer
B. Transport layer
C. Network layer
D. Data link layer
Explanation: HTTP is an Application layer protocol used to define how messages are formatted and transmitted through the World Wide Web.
A. User datagram protocol
B. Transmission control protocol
C. Border gateway protocol
D. Domain host control protocol
Explanation: HTTP clients perform requests using a TCP connection, because the TCP connection provides a more reliable service. UDP is not a reliable protocol, border gateway protocol is used on top of TCP, while domain host control protocol is a network layer protocol.
A. True
B. False
C.
D.
Explanation: In Passive mode of FTP, the client initiates both data and control connections, while in Active mode, the client initiates the control connection and then the server initiates the data connection.
A. Uniform resource identifier
B. Unique resource locator
C. Unique resource identifier
D. Union resource locator
Explanation: The Uniform Resource Identifier is a name and locator for the resource to be located by the HTTP. The URLs and URNs are derived through the identifier.
A. Multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses
B. Multiple HTTP requests can not be sent on a single TCP connection
C. Multiple HTTP requests are sent in a queue on a single TCP connection
D. Multiple HTTP requests are sent at random on a single TCP connection
Explanation: HTTP pipelining helps the client make multiple requests without having to waiting for each response, thus saving a lot of time and bandwidth for the client.
A. 20
B. 21
C. 22
D. 23
Explanation: Port 20 is used for FTP data. Port 22 is used for SSH remote login. Port 23 is used for TELNET.
A. Transmission control protocol
B. User datagram protocol
C. Datagram congestion control protocol
D. Stream control transmission protocol
Explanation: The clients use the Transmission Control Protocol for FTP as it’s more reliable than UDP, DCCP, and SCTP, and reliability of file transfer is required to be as high as possible for FTP.
A. Data centric architecture
B. Service oriented architecture
C. Client server architecture
D. Connection oriented architecture
Explanation: The FTP connection includes a Server and a Client which wish to share files. The server can have multiple clients at the same time while the client communicates with only one server at a time.
A. Stream mode
B. Block mode
C. Compressed mode
D. Message mode
Explanation: In Stream mode, the data is transferred in a continuous stream. In Block mode, data is transferred after being divided into smaller blocks. In Compressed mode, data is transferred after being compressed using some compression algorithm.