
EC-CouncilCertified Application Security Engineer (.NET)
Domain 3Objective 2
Input Validation for Web Forms CASENET Practice Questions (Page 7)
Part of the Secure Coding: Input Validation domain, which makes up ~11% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~6–9 in this domain), expect 2–2 from this objective — we provide 34 practice questions to prepare you well beyond it. (estimate)
34questions here
7free pages
8concepts
Questions 31–34
- 31
A social media application allows users to post comments that are displayed to other users. The development team is concerned about stored XSS attacks. They have implemented server-side validation that rejects any input containing `<script>` tags. Which additional control is necessary to prevent stored XSS?
Select an answer first - 32
Which practice is essential to prevent XSS when displaying user-generated content in an HTML page?
Select an answer first - 33
Which ASP.NET validation control is used to ensure that a user has entered a value into a required field?
Select an answer first - 34
When a validation error occurs, what is the most secure way to provide feedback to the user?
Select an answer first
Finished these 4 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to CASENET
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “CASENET” is a trademark of its owner, used for identification only.