Correct answer: (A) A cookie is a piece of code with the potential to compromise an Internet user’s security
Explanation
A cookie is stored data rather than executable code, so A is the incorrect characterization. Servers can set cookies through response headers and associate them with expiration/lifetime metadata; cookies support tracking across requests. The question’s expiry wording is conventional: session cookies can omit a persistent expiration date.
More Application Layer: DNS and HTTP questions
GATE 2015 CS (CS3) Q18– Ten server pages have URLs http://www.yourname.com/var.html, with var from 1 to 10. A…
GATE 2026 CS (CS1) Q19– Which of the following statements is/are true with respect to the interaction of a web…
GATE 2026 CS (CS2) Q22– Which one of the following protocols may need to broadcast some of its messages?
GATE 2024 CS (CS1) Q16– A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP…
GATE 2023 CS Q52– Suppose in a web browser, you click on the www.gate-2023.in URL. The browser cache is…
GATE 2022 CS Q35– Consider the resolution of the domain name www.gate.org.in by a DNS resolver. Assume that…