nerdexam
GIAC

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.

Security Architecture & Engineering

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)
  • A
    2% (1)
  • B
    93% (53)
  • C
    2% (1)
  • D
    4% (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.

AKeyword

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.

BCookieCorrect

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.

CProtocol

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.

DActiveX control

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

#cookies#web security#session management#user preferences

Community Discussion

No community discussion yet for this question.

Full GSLC Practice