What is the purpose of the 'HTTP Strict Transport Security' (HSTS) header? MCQ with Answer and Explanation

What is the purpose of the 'HTTP Strict Transport Security' (HSTS) header?
A. To redirect HTTP to HTTPS
B. To block HTTP requests
C. Both A and C
D. To enforce the use of HTTPS
Answer: Option C
Solution (By JKSSB Mock Tests)
HSTS tells the browser to always use HTTPS for a domain, preventing downgrade attacks and redirecting HTTP to 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 primary difference between POP3 and IMAP?
A. POP3 uses encryption, IMAP does not
B. POP3 downloads messages, IMAP synchronizes them
C. POP3 is faster, IMAP is slower
D. IMAP is older than POP3

Correct Answer: Option B


Explanation:
POP3 downloads emails to the local device and often removes them from the server, while IMAP keeps emails on the server and synchronizes across devices.

This question belongs to: Computer Internet and Web Technologies
Question #2
What is the function of the 'ping' command in networking?
A. To test connectivity to a host
B. To display network configuration
C. To trace the route to a host
D. To resolve domain names

Correct Answer: Option A


Explanation:
Ping uses ICMP echo requests to test reachability of a host and measure round-trip time, a basic network diagnostic tool.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which protocol is used to send email from a client to a mail server?
A. IMAP
B. HTTP
C. SMTP
D. POP3

Correct Answer: Option C


Explanation:
SMTP (Simple Mail Transfer Protocol) is used for sending emails from a client to a mail server and between mail servers. POP3 and IMAP are used for retrieving emails.

This question belongs to: Computer Internet and Web Technologies