What is the purpose of the 'Host' header in an HTTP/1.1 request? MCQ with Answer and Explanation

What is the purpose of the 'Host' header in an HTTP/1.1 request?
A. To set the connection type
B. To enable virtual hosting by specifying the domain name
C. To define the content encoding
D. To indicate the client's hostname
Answer: Option B
Solution (By JKExamLibrary)
The Host header is mandatory in HTTP/1.1 to differentiate between websites hosted on the same IP address.

This question belongs to: Computer Internet and Web Technologies

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1 Report Error
What does an 'HTTP Cookie' data structure use to identify a returning user session securely to a server database without prompting continuous password requests?
A. An unlinked structural HTML layout design code block
B. A unique Session ID token string stored locally in the browser and transmitted with each HTTP request
C. The user's physical home street address record
D. The client computer's current internal hardware operating core temperature

Correct Answer: Option B


Explanation:
When a user logs in, the server generates a unique session identifier and passes it to the browser as a cookie. The browser automatically includes this token with future requests, maintaining the authenticated session.

This question belongs to: Computer Internet and Web Technologies
Question #2 Report Error
What is a domain name registrar?
A. A company that manages the DNS root servers
B. An organization that sells domain names
C. A web hosting provider
D. A search engine

Correct Answer: Option B


Explanation:
A domain name registrar is a company that manages the reservation of Internet domain names and provides registration services to the public.

This question belongs to: Computer Internet and Web Technologies
Question #3 Report Error
Which organization is responsible for developing and maintaining international standards and guidelines for the World Wide Web?
A. W3C
B. ICANN
C. IEEE
D. IETF

Correct Answer: Option A


Explanation:
The World Wide Web Consortium (W3C) is the primary international standards organization responsible for developing protocols and core guidelines for the WWW.

This question belongs to: Computer Internet and Web Technologies