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 automatically formats the page text layout styles into complex encryption files.
B. It instructs the browser that the cookie should only be sent over encrypted HTTPS connections, protecting it from network interception.
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 B
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
Which of the following structural parts forms the final element of a standard domain name hierarchy path, such as '.com' or '.org'?
A. Protocol Extension Indicator
B. Top-Level Domain (TLD)
C. Root Directory Zone
D. Sub-domain label

Correct Answer: Option B


Explanation:
The rightmost segment of a domain name separated by a dot (e.g., .com, .net, .org) is known as the Top-Level Domain (TLD).

This question belongs to: Computer Internet and Web Technologies
Question #2
What is the purpose of the 'link' tag in HTML?
A. To include a style sheet
B. To embed a hyperlink
C. To import a script
D. To define a relationship between the document and an external resource

Correct Answer: Option D


Explanation:
The tag is used to define relationships with external resources, such as stylesheets, icons, or preconnect, among others.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which specific browser technology or feature provides a secure local sandbox workspace to separate corporate web applications from public internet browsing sessions?
A. Standard tracking cookie history logs
B. Unencrypted FTP network route connections
C. Browser Containerization / Profile Isolation
D. Localized DNS root server registries

Correct Answer: Option C


Explanation:
Profile isolation and multi-account containers segment local session data, cookies, and cache history, preventing information sharing or cross-contamination between different browsing contexts.

This question belongs to: Computer Internet and Web Technologies