What does an 'HTTP Cookie' data structure use to identify a returning user session securely to a server database without prompting continuous password requests? MCQ with Answer and Explanation

What does an 'HTTP Cookie' data structure use to identify a returning user session securely to a server database without prompting continuous password requests?
A. The user's physical home street address record
B. An unlinked structural HTML layout design code block
C. A unique Session ID token string stored locally in the browser and transmitted with each HTTP request
D. The client computer's current internal hardware operating core temperature
Answer: Option C
Solution (By JKSSB Mock Tests)
When a user logs in, the server generates a unique session identifier and passes it to the browser as a cookie. The browser automatically includes this token with future requests, maintaining the authenticated session.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
What does the 'HttpOnly' attribute flag instruct a web browser to do when handling a specific session cookie?
A. To ensure the cookie only operates when accessing local intranet platforms
B. To delete the cookie instantly when the network switches to an alternative port path
C. To prevent client-side scripts (like JavaScript) from accessing the cookie, reducing the risk of data theft via Cross-Site Scripting (XSS)
D. To force the web page content layout into a text-only presentation mode

Correct Answer: Option C


Explanation:
The 'HttpOnly' security flag prevents client-side scripts from reading cookie strings via properties like 'document.cookie', protecting session tokens from malicious script injection exploits.

This question belongs to: Computer Internet and Web Technologies
Question #2
What does the 'Strict-Transport-Security' (HSTS) security header instruct a web browser to enforce for a specific domain?
A. To route incoming text emails through unencrypted FTP pathways
B. To force the browser to only connect to that website using secure HTTPS connections, preventing accidental or forced unencrypted HTTP fallbacks
C. To double the physical transmission speed of local routers
D. To wipe localized browser history data logs automatically

Correct Answer: Option B


Explanation:
HSTS protects websites against protocol downgrade attacks and cookie hijacking by forcing browsers to automatically upgrade all connection attempts to secure HTTPS.

This question belongs to: Computer Internet and Web Technologies
Question #3
What is the standard network port number allocated for secure HTTPS traffic by default?
A. 80
B. 443
C. 143
D. 8080

Correct Answer: Option B


Explanation:
Port 443 is the standard default network port used for secure web traffic over Hypertext Transfer Protocol Secure (HTTPS).

This question belongs to: Computer Internet and Web Technologies