Google News
logo
Networking - Quiz(MCQ)
A)
Entity line
B)
Status line
C)
Request line
D)
Header line

Correct Answer : Option (C) :   Request line


Explanation : The line followed by request line are called header lines and status line is the initial part of response message.

A)
Header line
B)
Status line
C)
Entity body
D)
Request line

Correct Answer : Option (D) :   Request line


Explanation : It is specified in the method field of request line in the HTTP request message.

A)
GET
B)
PUT
C)
POST
D)
SEND

Correct Answer : Option (A) :   GET


Explanation : There are two methods which help to request a response from a server. Those are GET and POST. In GET method, the client requests data from server. In POST method the client submits data to be processed to the server.

A)
Limits the number of response from a server
B)
Helps to keep a cache upto date
C)
Imposes conditions on the objects to be requested
D)
None of the above

Correct Answer : Option (B) :   Helps to keep a cache upto date


Explanation : The HTTP protocol requests the server of the website its trying to access so that it can store its files, images etc. in cache memory. This request of asking the server for a document considering a specific parameter is called conditional GET Request.

A)
200 OK
B)
400 Bad Request
C)
301 Moved permanently
D)
304 Not Found

Correct Answer : Option (D) :   304 Not Found


Explanation : 404 Not Found.

A)
First Transfer Protocol
B)
Fast Transfer Protocol
C)
File Transfer Protocol
D)
Fine Transfer Protocol

Correct Answer : Option (C) :   File Transfer Protocol


Explanation : File Transfer Protocol is an application layer protocol used to share “files” between a server and a client. The protocol uses two separate ports for data and control connections: port 20 for data and port 21 for control.

A)
P2P
B)
Data centric
C)
Client-server
D)
Service oriented

Correct Answer : Option (C) :   Client-server


Explanation : An FTP connection includes a Server and a Client which wish to share a number of data files. The server can transfer files with multiple clients at the same time while the client communicates with only one server at a time.

A)
1
B)
2
C)
3
D)
4

Correct Answer : Option (A) :   2


Explanation : Control connection using FTP port: 21, and data connection using FTP port: 20. The FTP session is started or ended using port 21 and the actual data i.e. files are sent through port 20.

A)
8
B)
7
C)
6
D)
5

Correct Answer : Option (B) :   7


Explanation : FTP was designed to transmit commands only in English characters that are possible with just 7 bits in ASCII. Even the media has to be converted to ASCII before transmission.

A)
452 – Error writing file
B)
425 – Can’t open data connection
C)
331 – Username OK, Password Required
D)
452 – Can’t open data connection

Correct Answer : Option (D) :   452 – Can’t open data connection


Explanation : The correct response code for the message “Can’t open data connection” is 425. Response code 452 is sent usually when the connection is suddenly closed.