CompTIA
SY0-701 · Question #716
An attacker used XSS to compromise a web server. Which of the following solutions could have been used to prevent this attack?
The correct answer is C. WAF. A Web Application Firewall (WAF) is designed to protect web applications from attacks such as Cross-Site Scripting (XSS) by filtering and monitoring HTTP traffic between the internet and a web application.
Submitted by lucia.co· Mar 6, 2026Threats, vulnerabilities, and mitigations
Question
An attacker used XSS to compromise a web server. Which of the following solutions could have been used to prevent this attack?
Options
- ANGFW
- BUTM
- CWAF
- DNAC
How the community answered
(48 responses)- A4% (2)
- B8% (4)
- C71% (34)
- D17% (8)
Explanation
A Web Application Firewall (WAF) is designed to protect web applications from attacks such as Cross-Site Scripting (XSS) by filtering and monitoring HTTP traffic between the internet and a web application.
Community Discussion
No community discussion yet for this question.