What is the purpose of the 'X-Frame-Options' HTTP header? MCQ with Answer and Explanation

What is the purpose of the 'X-Frame-Options' HTTP header?
A. To specify content security policy
B. To set cookies
C. To enable CORS
D. To prevent clickjacking by controlling iframe embedding
Answer: Option D
Solution (By JKExamLibrary)
X-Frame-Options is used to indicate whether a browser should be allowed to render a page in a , , or , helping to prevent clickjacking.

This question belongs to: Computer Internet and Web Technologies

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1 Report Error
What form of tech architecture is implemented inside a 'Peer-to-Peer' (P2P) network ecosystem on the internet?
A. A decentralized model where every computer node acts both as a client and a server, sharing workloads directly
B. A system where processing is handled exclusively by mainframes
C. A centralized master cluster commanding passive worker clients
D. A cloud network structure where database access requires hardware proxy bypass loops

Correct Answer: Option A


Explanation:
In a P2P network, participant nodes communicate and share file packets directly with one another without needing a centralized host hub.

This question belongs to: Computer Internet and Web Technologies
Question #2 Report Error
What is the function of the 'Starred' or 'Flagged' folder inside a standard digital email workspace setup?
A. To hold unverified spam items safely until automatic deletion
B. To clear configuration script parameters automatically from local storage modules
C. To collect and highlight important, urgent, or bookmarked email messages that the user has manually marked for easy tracking and future reference
D. To store incomplete drafts of email layouts

Correct Answer: Option C


Explanation:
The Starred/Flagged folder aggregates messages that users have manually marked with a special marker icon, keeping important conversations easy to find.

This question belongs to: Computer Internet and Web Technologies
Question #3 Report Error
Which of the following is a valid IPv4 address?
A. 300.168.1.1
B. 192.168.1
C. 192.168.1.1
D. 192.168.1.1.1

Correct Answer: Option C


Explanation:
An IPv4 address consists of four octets (0-255) separated by dots. 192.168.1.1 is valid. 300 is invalid, and the others have incorrect structure.

This question belongs to: Computer Internet and Web Technologies