---Advertisement---
Application Layer Computer Networks Computer Science Engineering HTTP

HTTP Interview/Exam Question-Answer

By smart_answer13

Published on:

---Advertisement---

Q.1 Which is the correct Syntax of Request Line?

       A. Request-Line = Method SP Request-URI SP HTTP-Version CRLF

       B. Request-Line = Method Request-URI SP HTTP-Version CRLF

       C. Request-Line = Method SP HTTP-Version Request-URI CRLF

       D. Request-Line = SP HTTP-Version Request-URI CRLF

Ans : Request-Line = Method SP Request-URI SP HTTP-Version CRLF


Q.2 The number of objects in a Web page which consists of 4 jpeg images and HTML text is ________.

       A. 1

       B. 4

       C. 5

       D. 7

Ans : 5


Q.3 The time taken by a packet to travel from client to server and then back to the client is called __________.

       A. STT

       B. RTT

       C. PTT

       D. JTT

Ans : RTT


Q.4 _______ is a command-line tool. It is available on all major operating systems?

       A. HTTP cURL

       B. HTTP nURL

       C. HTTP hURL

       D. HTTP sURL

Ans : HTTP cURL


Q.5 The default connection type used by HTTP is _________.

       A. Can be either persistent or non-persistent depending on connection request

       B. Non-persistent

       C. None of the above

       D. Persistent

Ans : Persistent


Q.6 What HTTP Response contain?

       A. Status Line

       B. Response Header Fields or a series of HTTP headers

       C. Message Body

       D. All of the above

Ans : All of the above


Q.7 In the process of fetching a web page from a server the HTTP request/response takes __________ RTTs.

       A. 2

       B. 4

       C. 1

       D. 3

Ans : 1


Q.8 What 200 OK response codes indicates in HTTP?

       A. This response code is used to show that the request was successful.

       B. This response code is used to show that the request was failed.

       C. This response code is used to show that the request was invalid.

       D. All of the above

Ans : This response code is used to show that the request was successful.


Q.9 The HTTP request message is sent in _________ part of three-way handshake.

       A. Third

       B. Fourth

       C. First

       D. Second

Ans : Third


Q.10 400 Bad Request response codes in HTTP is used to indicate that the server did not understand the request due to invalid syntax.

       A. True

       B. False

Ans : True


Q.11 300 Multiple Choices response codes in HTTP is used to indicate the multiple options for the resource from which the client may choose.

       A. True

       B. False

Ans : True


Q.12 401 Unauthorized response codes in HTTP is used to show that we need to perform authentication before accessing the resource.

       A. True

       B. False

Ans : True


Q.13 The first line of HTTP request message is called _____________.

       A. Header line

       B. Status line

       C. Request line

       D. Entity line

Ans : Request line


Computer Networks Computer Science Engineering Engineering Exam MCQ HTTP

smart_answer13

---Advertisement---

Related Post

Operating System Processes MCQ (Interview-Exam) Question-Answer

Q.1 To access the services of operating system, the interface is provided by the ___________.        A. API        B. Assembly instructions     ...

Operating System MCQ Question-Answer Part 4

Q.1 What is an operating system?        A. System service provider to the application programs        B. Interface between the hardware and application programs ...

AH and ESP Protocols Interview/Exam Question-Answer

Q.1 Which two types of encryption protocols can be used to secure the authentication of computers using IPsec?        A. SHA        B. Kerberos ...

UDP Interview/Exam Question-Answer

Q.1 Return value of the UDP port “Chargen” is _______.        A. String of integers        B. String of characters        C. ...

Leave a Comment