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 send stored cookies from the client to the server
B. To delete cookies
C. To set new cookies on the client
D. To check cookie existence
Answer: Option A
Solution (By JKExamLibrary)
The Cookie header is used by the client to send previously stored cookies to the server, enabling session management.

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 the 'Referrer-Policy' HTTP response header instruct a web browser to manage?
A. To route incoming text emails through unencrypted FTP pathways
B. To control how much referral path information (the URL of the originating page) is included in the 'Referer' header when a user clicks a link to another site
C. To double the physical data processing capacity of network router cards
D. To wipe local device browser cache modules automatically

Correct Answer: Option B


Explanation:
The Referrer-Policy header allows site owners to limit or withhold source URL data when navigating to external destinations, enhancing user privacy and securing internal parameters.

This question belongs to: Computer Internet and Web Technologies
Question #2 Report Error
What is the purpose of the 'CORS' (Cross-Origin Resource Sharing) mechanism?
A. To encrypt cross-origin traffic
B. To authenticate cross-origin users
C. To allow a web page to request resources from a different domain
D. To block cross-origin requests

Correct Answer: Option C


Explanation:
CORS is a mechanism that uses additional HTTP headers to tell browsers to give a web application running at one origin access to resources from a different origin.

This question belongs to: Computer Internet and Web Technologies
Question #3 Report Error
Which of the following is a popular web-based diagramming tool?
A. Creately
B. Lucidchart
C. All of the above
D. Draw.io

Correct Answer: Option C


Explanation:
Lucidchart, Draw.io, and Creately are all web-based tools for creating diagrams and flowcharts.

This question belongs to: Computer Internet and Web Technologies