cookie を説明したものはどれか。
令和6年度 ITパスポート試験 問61
This question's explanation and your answers so far.
問 61
- ア
正解 The correct answer is ア. A cookie refers to the mechanism by which a website writes and stores data on a visitor’s PC through the web browser in order to identify and track the user, or the stored data itself. On the next visit, the browser sends this stored data back to the server, which makes it possible to keep the user logged in, retain the contents of a shopping cart, and so on. Choice ア, “a mechanism by which a website writes and stores data on a visitor’s PC through the web browser, or the data that is stored,” is exactly this definition, so it is correct.
Incorrectイ
“A mechanism that temporarily saves visited web pages as files on the PC” describes the browser cache (temporary files), not a cookie. The cache stores the pages themselves to speed up redisplay, which differs from a cookie in both purpose and content, since a cookie stores small pieces of data used to identify the user.
Incorrectウ
“An image posted for purposes such as introducing a website” describes image content such as a banner, and has nothing to do with a cookie. A cookie is text data, not an image.
Incorrectエ
“A mechanism that notifies the linked party of that fact” describes the trackback (or pingback) feature of a blog, not a cookie. This is a mutual-notification feature between blogs, and is a different thing from a cookie, which stores the user’s state on the PC side.
- A cookie is a mechanism in which a website stores data on a visitor’s PC via the browser and sends it back to the server on a return visit, thereby identifying the user and maintaining state.
- Distinguish similar terms: do not confuse a cookie with the cache (temporary storage of pages) or trackback (a blog’s link notification).