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

What is the purpose of the 'Cookie' header in an HTTP request?
A. To delete cookies
B. To check cookie existence
C. To set new cookies on the client
D. To send stored cookies from the client to the server
Answer: Option D
Solution (By JKSSB Mock Tests)
The Cookie header is used by the client to send previously stored cookies to the server, enabling session management.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
Which of the following application layer protocols is designed to be stateless, meaning the server does not retain any information about past user requests by default?
A. POP3
B. HTTP
C. FTP
D. SMTP

Correct Answer: Option B


Explanation:
HTTP (Hypertext Transfer Protocol) is a stateless protocol because each request is executed independently, without the server retaining context or session information from previous requests.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following options provides an accurate description of a 'Web Browser Extension' or 'Add-on'?
A. The main operational routing server used by a global ISP facility
B. A small custom software component that adds specific features, tools, or modifications to a web browser's core interface
C. A dedicated database table used to archive old email attachments
D. A piece of hardware that boosts wireless internet signals

Correct Answer: Option B


Explanation:
Browser extensions are modular software components built on web standards that install directly into the browser to extend its functionality, such as adding ad blockers or translation tools.

This question belongs to: Computer Internet and Web Technologies
Question #3
What is the primary function of a 'DNS Resolver' component operating within an internet access loop?
A. To format structural web layout dimensions on screen
B. To filter out malicious spam emails from incoming inbox mailboxes
C. To accept a domain name lookup request from a client device, query authoritative nameservers, and return the correct numerical IP address
D. To clear temporary cookie tracker records automatically

Correct Answer: Option C


Explanation:
The DNS resolver acts as an intermediary, processing domain name requests from client applications by querying the DNS hierarchy to fetch the target server's IP address.

This question belongs to: Computer Internet and Web Technologies