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

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 16–20

  1. 16application · medium

    A developer is implementing error handling for a login form. When a user enters invalid credentials, the application should display a generic error message. Which approach is the most secure?

    Select an answer first
  2. 17application · medium

    A developer is writing a search feature that takes a user-supplied keyword and uses it in a SQL query. The developer wants to prevent SQL injection. Which approach is the most secure?

    Select an answer first
  3. 18application · medium

    A developer is building a page that displays user-generated content in a rich text editor. The content is stored as HTML. The developer wants to prevent XSS while allowing basic formatting like bold and italics. Which approach is the most effective?

    Select an answer first
  4. 19application · medium

    An ASP.NET application allows users to upload profile pictures. The developer needs to ensure that only valid image files are uploaded. Which combination of checks is the most effective?

    Select an answer first
  5. 20foundation · easy

    Which of the following is a common input validation vulnerability that occurs when user input is included in a database query without proper handling?

    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.