nerdexam
F5

101 · Question #555

What are three functions commonly performed by HTTP cookies? (Choose three)

The correct answer is A. Track users' browsing activities B. hold User preferences C. maintain session state. HTTP cookies serve three primary roles - tracking user activity, storing preferences, and maintaining session state. They are passive data containers and cannot execute scripts of any kind.

Section 5: Application Delivery Basics

Question

What are three functions commonly performed by HTTP cookies? (Choose three)

Options

  • ATrack users' browsing activities
  • Bhold User preferences
  • Cmaintain session state
  • Dexecute client side scripts
  • Eexecute server side scripts

How the community answered

(24 responses)
  • A
    92% (22)
  • D
    4% (1)
  • E
    4% (1)

Why each option

HTTP cookies serve three primary roles - tracking user activity, storing preferences, and maintaining session state. They are passive data containers and cannot execute scripts of any kind.

ATrack users' browsing activitiesCorrect

Cookies store tracking identifiers that web servers and analytics platforms use to monitor and correlate a user's browsing behavior across multiple requests and sessions.

Bhold User preferencesCorrect

Cookies are widely used to persist user-specific preferences such as language selection, display settings, or theme choices between website visits.

Cmaintain session stateCorrect

Session cookies hold session tokens or identifiers that allow stateless HTTP to simulate stateful interactions by associating subsequent requests with a specific authenticated user session.

Dexecute client side scripts

Executing client-side scripts is the function of JavaScript, not cookies - cookies are passive key-value pairs stored in the browser and cannot run code.

Eexecute server side scripts

Server-side script execution is handled by server technologies such as PHP, Python, or Node.js, not by cookies, which have no execution capability on any tier.

Concept tested: HTTP cookie functions - tracking, preferences, session state

Source: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies

Topics

#HTTP cookies#session state#user tracking#user preferences

Community Discussion

No community discussion yet for this question.

Full 101 Practice