Which of the following is a common method to prevent clickjacking? MCQ with Answer and Explanation

Which of the following is a common method to prevent clickjacking?
A. SameSite cookie attribute
B. X-Frame-Options header
C. Both A and B
D. Content-Security-Policy with frame-ancestors
Answer: Option C
Solution (By JKSSB Mock Tests)
Both X-Frame-Options and CSP's frame-ancestors directive can be used to control iframe embedding, preventing clickjacking.

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 parameters accurately defines the internet term 'Hypermedia Link'?
A. An active reference link that connects a webpage element to an image, sound file, video stream, or alternative web document
B. A specialized script built to clear out browser histories automatically
C. A private encryption password key used inside email databases
D. An unlinked plain text string value detailing system hardware models

Correct Answer: Option A


Explanation:
Hypermedia links connect diverse media elements across the web, allowing users to jump seamlessly from text to video or image files via a simple click.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which specific design model defines the organizational framework where multiple localized client browsers access centralized web data files hosted on global high-capacity servers?
A. The Peer-to-Peer direct mesh configuration
B. The Client-Server Architecture Model
C. The Unlinked hardware layout framework
D. The Monolithic isolated system design

Correct Answer: Option B


Explanation:
The World Wide Web relies on a client-server architecture where client web browsers send resource requests over the network to remote web servers, which process and return the requested data.

This question belongs to: Computer Internet and Web Technologies
Question #3
What mechanism does an online payment web application implement over HTTPS routes to substitute sensitive credit card numbers with secure, randomized reference tokens during financial transactions?
A. Altering localized device hardware MAC address registries
B. Tokenization
C. Running outbound SMTP mail server delivery routines
D. Static FTP file catalog adjustments

Correct Answer: Option B


Explanation:
Tokenization swaps sensitive primary account numbers with algorithmic token strings, protecting original financial data from interception during online payment processing.

This question belongs to: Computer Internet and Web Technologies