What does the 'Strict-Transport-Security' (HSTS) security header instruct a web browser to enforce for a specific domain? MCQ with Answer and Explanation

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 wipe localized browser history data logs automatically
D. To double the physical transmission speed of local routers
Answer: Option B
Solution (By JKSSB Mock Tests)
HSTS protects websites against protocol downgrade attacks and cookie hijacking by forcing browsers to automatically upgrade all connection attempts to secure HTTPS.

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 cookie in maintaining sessions?
A. To store user data on the server
B. To authenticate the user directly
C. To store a session identifier on the client
D. To encrypt session data

Correct Answer: Option C


Explanation:
Cookies often contain a session ID that is sent to the server with each request, allowing the server to associate the request with a specific user session.

This question belongs to: Computer Internet and Web Technologies
Question #2
What is the difference between a static and a dynamic web page?
A. Static pages are faster, dynamic pages are slower
B. Static pages are only for mobile, dynamic for desktop
C. Static pages use JavaScript, dynamic pages use HTML
D. Static pages are pre-built, dynamic pages are generated on the fly

Correct Answer: Option D


Explanation:
Static web pages are delivered exactly as stored, while dynamic pages are generated by server-side scripts based on user interactions or data.

This question belongs to: Computer Internet and Web Technologies
Question #3
What mechanism does an automated internet web crawler search engine program read first to identify if a website owner wishes to hide specific directory paths from search index listings?
A. The local browser history configuration record list
B. The index.html structure script
C. The robots.txt file located in the website's root directory
D. The outgoing SMTP configuration files

Correct Answer: Option C


Explanation:
Web crawlers check the robots.txt file at the root of a site first to see if the webmaster has set any rules restricting access to specific directories or pages.

This question belongs to: Computer Internet and Web Technologies