ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT

Networking | HTTP Aptitude Questions and Answers

Networking | HTTP Aptitude Questions and Answers: This section contains aptitude questions and answers on Networking | Hypertext Transfer Protocol (HTTP).
Submitted by Nidhi, on May 07, 2021

1) There are the following statements that are given below, which of them are correct about HTTP?

  1. HTTP stands for HyperText Transfer Protocol.
  2. HTTP follows client/server architecture.
  3. HTTP is used to transfer text, audio, image, etc.
  4. The default port for HTTP is 80.

Options:

  1. A and B
  2. A and C
  3. A, C, and D
  4. A, B, C, and D

2) In which year HTTP 1.0 was introduced officially?

  1. 1991
  2. 1995
  3. 1996
  4. 1998

3) Who was developed HTTP?

  1. Jimmy Wales
  2. Tim Berners-Lee
  3. Larry Page
  4. Alan Turing

4) HTTP works on which layer of the OSI model?

  1. Network layer
  2. Transport layer
  3. Presentation layer
  4. Application layer

5) There are the following RFC numbers are given below, which of them are related to HTTP?

  1. RFC 2616
  2. RFC 3616
  3. RFC 7230
  4. RFC 7231

Options:

  1. A and B
  2. A, C, and D
  3. A, B, and C
  4. B, C, and D

6) There are the following statements that are given below, which of them are correct about HTTP?

  1. HTTP is media independent protocol
  2. It is a stateless protocol
  3. It is a connectionless protocol
  4. HTTP is mainly used to fetch HTML documents

Options:

  1. A, B, C, and D
  2. A, B, and C
  3. B, C, and D
  4. A, C, and D

7) There are the following options that are given below, which of them are correct parameters of HTTP?

  1. HTTP version
  2. URI
  3. Space locator
  4. Product tokens

Options:

  1. A and B
  2. C and D
  3. A, B, and D
  4. A, B, C, and D

8) The version number of HTTP contains?

  1. Major number
  2. Minor number
  3. UID
  4. All the above

Options:

  1. A and B
  2. A and C
  3. B and C
  4. D

9) Why Entity Tags are used in HTTP?

  1. It is used to tag each item in the request created by the client.
  2. It is used to compare two or more entities from the same requested resource.
  3. It is used to download HTML documents.
  4. It is used to download CSS documents.

Options:

  1. Only A
  2. Only B
  3. A and B
  4. C and D

10) Is HTTP use content-coding?

  1. Yes
  2. No

11) There are the following statements that are given below, which of them are correct about HTTP Messages?

  1. HTTP messages are used to data CSS data from HTTP Server to the HTTP client.
  2. HTTP messages are used to describe how data transferred between an HTTP client and an HTTP server.
  3. Both of the above
  4. None of the above

12) What an HTTP message contains?

  1. Message Header
  2. Message Type
  3. Message Body
  4. Message Length

Options:

  1. A, C, and D
  2. A, B, and C
  3. B, C, and D
  4. A, B, C, and D

13) Which of the following are the types of HTTP messages?

  1. HTTP header message
  2. HTTP request message
  3. HTTP response message
  4. HTTP footer message

Options:

  1. A and D
  2. B and C
  3. Only B
  4. A, B, C, and D

14) Which of the following are the types of HTTP header?

  1. General header
  2. Entity header
  3. Request header
  4. Response header

Options:

  1. A, B, C and D
  2. C and D
  3. A, B, and C
  4. A and B

15) There are the following methods that are given below, which of them are correct methods used in an HTTP request?

  1. GET
  2. POST
  3. CONNECT
  4. DELETE

Options:

  1. A and B
  2. A, B, and C
  3. A, B, and D
  4. A, B, C, and D

16) There are the following statements that are given below, which of them is correct about the DELETE method of the HTTP request?

  1. DELETE method is used to dismiss the HTTP request.
  2. The DELETE method is used to remove unwanted data from the HTTP request.
  3. The DELETE method is used to remove all current representations of resources.
  4. DELETE method is used to remove all encryption information from the HTTP request.

17) There are the following options that are given below, which of them are correct request header fields?

  1. Expect
  2. Host
  3. If-None-Range
  4. If-None-Match

Options:

  1. A and B
  2. A, B, and C
  3. A, B, and D
  4. B, C, and D

18) Which of the following are the parts of the HTTP response?

  1. Status
  2. Message Body
  3. The encryption key used for HTTP protocol security
  4. Header fields for a response

Options:

  1. A and B
  2. B and D
  3. B, C, and D
  4. A, B, and D

19) Is it true that, each header is followed by CRLF in the HTTP request message?

  1. Yes
  2. No

20) There are the following statements that are given below, which of them are correct about HTTP Caching?

  1. HTTP caching is used to avoid sending HTTP requests many times for better performance.
  2. HTTP caching is used to avoid sending HTTP full response many times for better performance.
  3. Both of the above
  4. None of the above

21) There are the following options that are given below, which of them are correct directives of HTTP Cache request?

  1. no-cache
  2. max-state
  3. min-fresh
  4. only-if-cached

Options:

  1. A and B
  2. A, B, C, and D
  3. C and D
  4. A, B, and C

22) There are the following options that are given below, which of them are correct about URL encoding in HTTP?

  1. URL encoding is used to replace some unsafe characters with specific characters in the URL.
  2. URL encoding is used to encrypt data send in URL
  3. URL encoding is used to encrypt complete URL
  4. None of the above

23) What is used for '$' for URL encoding?

  1. %24
  2. %25
  3. %26
  4. %27

24) Which of the following error code is used for "Bad Request" in HTTP protocol?

  1. 200
  2. 300
  3. 400
  4. 500

25) Which of the following error code is used for "Internal Server Error" in HTTP protocol?

  1. 500
  2. 501
  3. 503
  4. 504

ADVERTISEMENT




Comments and Discussions

ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.