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 2)

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 6–10

  1. 6application · medium

    An online store has a discount code field in the checkout form. The discount code must be validated against a database of active codes, and the validation logic is complex because some codes are single-use and expire. The team wants to provide immediate feedback on the form without a postback. Which approach should they take?

    Select an answer first
  2. 7foundation · easy

    Why should detailed exception messages be hidden from end users?

    Select an answer first
  3. 8application · medium

    A document management system allows users to upload files. The current implementation only checks the file extension to determine if it is an allowed type (e.g., .pdf, .docx). A security audit has identified that this is insufficient. Which additional validation should be implemented to improve security?

    Select an answer first
  4. 9application · medium

    An ASP.NET form collects a user's age. The age must be an integer between 18 and 120. The developer wants to enforce this on the server. Which approach is the most appropriate?

    Select an answer first
  5. 10application · medium

    A developer is creating a forum where users can post comments. The comments are stored in a database and later displayed on a page for other users. The developer wants to prevent stored XSS attacks. Which combination of actions is the most effective?

    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.