Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilCertified Application Security Engineer (.NET)

Domain 3Objective 2

Input Validation for Web Forms CASENET Practice Questions (Page 3)

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 11–15

  1. 11expert · hard

    A web application has a form with a field for a coupon code. The coupon code must be validated against a database to ensure it is active and not expired. The team is using a CustomValidator. Which approach should be used to implement this validation?

    Select an answer first
  2. 12application · medium

    A financial services company is deploying an ASP.NET web application for customer account registration. The development team has implemented client-side validation using JavaScript to enforce required fields and email format. The security team has mandated that the application must not rely solely on client-side validation. Which additional measure should the team implement to meet this requirement?

    Select an answer first
  3. 13foundation · easy

    A developer needs to validate that a username is not already taken in the database. Which approach is most appropriate?

    Select an answer first
  4. 14application · medium

    An application has a form that accepts a user's email address. When the email is invalid, the application throws an exception that is displayed to the user, including the stack trace. The security team has requested that this be fixed. Which approach should be taken?

    Select an answer first
  5. 15application · medium

    An ASP.NET web forms application has a registration form with fields for Username, Email, Password, and Confirm Password. The team wants to enforce that the Username contains only alphanumeric characters and is between 6 and 20 characters. Which combination of ASP.NET validation controls should be used?

    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.