Which HTTP header field or mechanism is used by a web server to set a tracking cookie on the user's browser client? MCQ with Answer and Explanation

Which HTTP header field or mechanism is used by a web server to set a tracking cookie on the user's browser client?
A. Set-Cookie
B. Cache-Control
C. Cookie-Transfer
D. Get-Cookie
Answer: Option A
Solution (By JKSSB Mock Tests)
The 'Set-Cookie' HTTP response header is sent by the server to direct the client web browser to store a specific cookie string locally.

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 protocols is fundamentally used to resolve physical MAC addresses from known network layer IP addresses?
A. ICMP
B. DNS
C. DHCP
D. ARP

Correct Answer: Option D


Explanation:
ARP (Address Resolution Protocol) resolves a network layer internet protocol (IP) address into its corresponding data link layer hardware MAC address.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which element in a modern web landscape describes an automated computer algorithm that monitors pricing, inventory, and text updates across thousands of e-commerce sites via systematic web scraping?
A. Local history log pane
B. FTP desktop bridge tool
C. Outbound email transport file
D. Web Scraper / Price Bot

Correct Answer: Option D


Explanation:
Web scraping bots use automated scripts to parse HTML code across web targets, extracting raw price data, content metrics, and layout updates for analysis.

This question belongs to: Computer Internet and Web Technologies
Question #3
What mechanism does a browser use to maintain persistent client-side data store pools across tabs using basic key-value pairs without expiration deadlines via JavaScript?
A. RAM Buffers
B. LocalStorage
C. Session Cookies
D. DNS Registry Logs

Correct Answer: Option B


Explanation:
The Web Storage API provides 'localStorage', allowing web applications to save data locally inside the user's browser with no built-in expiration timeline.

This question belongs to: Computer Internet and Web Technologies