What does the 'Secure' attribute flag do when appended to an HTTP cookie string specification? MCQ with Answer and Explanation

What does the 'Secure' attribute flag do when appended to an HTTP cookie string specification?
A. It instructs the browser that the cookie should only be sent over encrypted HTTPS connections, protecting it from network interception.
B. It automatically formats the page text layout styles into complex encryption files.
C. It blocks automated search engine crawlers from reading the page structure.
D. It prevents the cookie from being deleted when the user closes the active window tab.
Answer: Option A
Solution (By JKSSB Mock Tests)
The 'Secure' cookie attribute ensures that sensitive authentication cookies are never sent over unencrypted HTTP pathways, mitigating eavesdropping risks.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
What is the role of a cache in a web browser?
A. To run JavaScript
B. To manage bookmarks
C. To store passwords
D. To store copies of web resources to reduce load times

Correct Answer: Option D


Explanation:
Browser cache stores static resources (images, CSS, JS) locally so that subsequent visits to the same page load faster.

This question belongs to: Computer Internet and Web Technologies
Question #2
What mechanism does an internet email communication layout use to notify a sender that a designated recipient mailbox address is completely invalid or non-existent?
A. Altering the local browser cache layout automatically
B. Running automatic DNS reverse lookup queries inside terminal devices
C. Returning an automated 'Hard Bounce' or 'Undelivered Mail' notification error message from the mail server
D. Encrypting the sender's system password variables

Correct Answer: Option C


Explanation:
A hard bounce is a permanent delivery failure message indicating that an email address is invalid, typo-ridden, or has been permanently deactivated by the hosting provider.

This question belongs to: Computer Internet and Web Technologies
Question #3
What mechanism does an internet connection setup implement to compress large structural web data payloads (like HTML, CSS, JS text) on the fly during transit to reduce bandwidth consumption?
A. Static FTP directory link configurations
B. Running outbound SMTP email server scripts
C. Gzip / Brotli Compression algorithms
D. Altering local device MAC address registry entries

Correct Answer: Option C


Explanation:
Gzip and Brotli are compression algorithms utilized by web servers to reduce the size of text assets before sending them over the network, speeding up page load times for client browsers.

This question belongs to: Computer Internet and Web Technologies