What does the 'Content-Security-Policy' (CSP) HTTP response header instruct a web browser to enforce? MCQ with Answer and Explanation

What does the 'Content-Security-Policy' (CSP) HTTP response header instruct a web browser to enforce?
A. To wipe local device browser cache modules automatically
B. To double the physical data processing capacity of network router cards
C. To route incoming text emails through unencrypted FTP pathways
D. To restrict the specific trusted domains from which a webpage can load scripts, styles, and assets, protecting against Cross-Site Scripting (XSS) injections
Answer: Option D
Solution (By JKSSB Mock Tests)
CSP is an effective security layer that allows site administrators to declare approved sources of content, preventing browsers from executing unauthorized or malicious scripts.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
Which type of web application uses a single HTML page structure that dynamically updates content via AJAX as the user navigates, avoiding full page reloads?
A. Legacy CGI Script Portal
B. Directory Web Index
C. Single Page Application (SPA)
D. Static Site Framework

Correct Answer: Option C


Explanation:
Single Page Applications (SPAs), like those built with modern JavaScript frameworks, load a single shell document and update components dynamically to provide a fluid app-like feel.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which parameter indicates a 'Web Portal' website's core identifying trait?
A. It is entirely invisible to standard web browsers.
B. It consists exclusively of a single unlinked text document.
C. It functions as a broad aggregate gateway site offering diverse services like news, search, email, and links (e.g., Yahoo).
D. It operates strictly on isolated localized network hardware hubs without internet connections.

Correct Answer: Option C


Explanation:
A web portal is a specially designed website that aggregates information from diverse sources into a unified user interface, providing links, forums, and tools.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following web browser features allows users to open and switch between multiple web pages within a single application window?
A. History Pane
B. Extensions Engine
C. Tabbed Browsing
D. Bookmarking

Correct Answer: Option C


Explanation:
Tabbed browsing enables multiple web pages to be loaded simultaneously within distinct tabs inside the exact same window frame.

This question belongs to: Computer Internet and Web Technologies