Which of the following is a type of web attack that injects malicious scripts into web pages?
A. Cross-Site Scripting (XSS)
B. Cross-Site Request Forgery (CSRF)
C. SQL Injection
D. Phishing
Answer: Option A
Solution (By JKSSB Mock Tests)
Cross-Site Scripting (XSS) is a vulnerability where attackers inject malicious scripts into otherwise benign websites, which are then executed in users' browsers.
Which type of web application asset functions as a structured document template written using hypertext markup labels, forming the raw foundation of web pages?
Explanation:
HTML files form the structural foundation of the World Wide Web, housing the tags, elements, text, and asset references parsed and displayed by browser engines.
Explanation:
REST is specifically designed around HTTP methods (GET, POST, etc.) and resources. SOAP and GraphQL are also web APIs but not solely based on HTTP verbs.
Which of the following parameters represents an accurate description of the web development framework component called 'API' (Application Programming Interface)?
A.A set of defined protocols and tools that allow different software applications to communicate and exchange data with one another over the web
B.The physical processing chip architecture used inside server hubs
C.A specialized local browser button designed to wipe history traces
D.An unlinked text archive folder stored on network devices
Explanation:
Web APIs define clear communication contracts and endpoints, allowing backend services, mobile apps, and third-party tools to integrate and share data seamlessly.
No comments yet. Be the first to start the discussion!