CompTIACompTIA
PT0-002 · Question #1
PT0-002 Question #1: Real Exam Question with Answer & Explanation
Sign in or unlock PT0-002 to reveal the answer and full explanation for question #1. The question stem and answer options stay visible for context.
Attacks and Exploits
Question
Given the following code: ie;</SCRIPT> Which of the following are the BEST methods to prevent against this type of attack? (Choose two.)
Options
- AWeb-application firewall
- BParameterized queries
- COutput encoding
- DSession tokens
- EInput validation
- FBase64 encoding
Unlock PT0-002 to see the answer
You've previewed enough free PT0-002 questions. Unlock PT0-002 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Cross-Site Scripting (XSS)#Input Validation#Output Encoding#Web Application Security