
EC-CouncilCertified Application Security Engineer (.NET)
Domain 3Objective 2
Input Validation for Web Forms CASENET Practice Questions (Page 1)
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 1–5
- 1
A developer needs to validate a phone number field. Which technique is most appropriate to ensure the input matches a specific pattern?
Select an answer first - 2
A development team is building a web application that accepts user input in a search form. The team has implemented client-side validation using JavaScript to ensure the input is alphanumeric. However, the security team has mandated that server-side validation is essential. The team argues that client-side validation is sufficient because it prevents most users from entering invalid data. Which argument should the security team use to justify the mandate?
Select an answer first - 3
In ASP.NET, which validation control allows you to define a pattern that the input must match?
Select an answer first - 4
An ASP.NET web form has a text box for a phone number. The requirement is that the phone number must be 10 digits, optionally separated by dashes (e.g., 123-456-7890). The developer wants to use ASP.NET validation controls. Which approach should be used?
Select an answer first - 5
A developer is implementing error handling for a web form that processes credit card payments. The form includes fields for card number, expiry date, and CVV. The developer wants to ensure that error messages do not expose sensitive information. Which approach is the most secure?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
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.