GSLC · Question #260
In which of the following does a Web site store information such as user preferences to provide customized services to users?
The correct answer is B. Cookie. HTTP cookies are the standard browser mechanism websites use to persist user-specific data such as preferences, session identifiers, and customization settings across requests.
Question
In which of the following does a Web site store information such as user preferences to provide customized services to users?
Options
- AKeyword
- BCookie
- CProtocol
- DActiveX control
How the community answered
(57 responses)- A2% (1)
- B93% (53)
- C2% (1)
- D4% (2)
Why each option
HTTP cookies are the standard browser mechanism websites use to persist user-specific data such as preferences, session identifiers, and customization settings across requests.
A keyword is a search term or reserved word in a programming language; it is not a storage mechanism used by websites to persist user state or preferences.
A cookie is a small piece of data that a web server sends to the user's browser, which stores it and includes it in subsequent requests to the same site. This stateful mechanism allows servers to recognize returning users and deliver personalized or customized content based on previously recorded preferences.
A protocol defines rules and formats for communication between systems (such as HTTP or HTTPS); it is not a data storage entity and cannot hold user preference information.
An ActiveX control is a software component that extends browser functionality on Windows; while it can interact with the browser, it is not the mechanism websites use to store and retrieve per-user preference data.
Concept tested: HTTP cookies for user preference and session storage
Source: https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Cookies
Topics
Community Discussion
No community discussion yet for this question.