McqkartGet appPractise

In Internet communication, a 'cookie' is used for -

AStoring authentication information on the server-side for the entire session
BStoring information on the client-side for the entire session ✓ Correct
CDetecting intrusion on behalf of the customer for the entire session
DDetecting intrusion on the server-side for the entire session
Correct answer: (B) Storing information on the client-side for the entire session
Explanation

In internet communication a cookie is used for storing information on the client-side for the entire session.

A cookie is a small text file that a website sends to the user's browser and that is saved on the user's own device.

The server sets headers to create, update or delete cookies, but the storage itself is on the client (user agent).

Cookies are commonly used for session management, remembering logins, preferences and shopping-cart contents.

They let a website recognise a returning user and maintain state across a session, since HTTP itself is stateless.

Session cookies are deleted when the browser closes, while persistent cookies remain until an expiry date.

Storing information only on the server-side describes server-side session storage, not a cookie.

Detecting intrusion is the job of an intrusion detection system, not a cookie.

Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.

Practise on Mcqkart →🎓 Book an expert →