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

EC-CouncilCertified Application Security Engineer (.NET)

Domain 3Objective 1

Input Validation Approaches and Filtering 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 49 practice questions to prepare you well beyond it. (estimate)

49questions here
10free pages
9concepts

Questions 31–35

  1. 31expert · hard

    A .NET application has a legacy input filter that blocks requests containing the string '<script' in any parameter. The team is considering replacing it with a more robust approach. Which option best addresses the limitations of the current filter?

    Select an answer first
  2. 32expert · hard

    A .NET application has a search feature that accepts a query string and displays results. The team has implemented both client-side and server-side validation. The client-side validation uses JavaScript to ensure the query is not empty and is less than 100 characters. The server-side validation uses a whitelist regex that allows only letters, digits, and spaces. A user reports that a valid search for 'C# programming' is rejected. What is the most likely cause?

    Select an answer first
  3. 33foundation · easy

    Which input validation approach rejects input that contains known malicious patterns, such as SQL keywords or script tags?

    Select an answer first
  4. 34expert · hard

    A security consultant is reviewing a .NET application that uses a blacklist to filter user input for a legacy search feature. The blacklist rejects inputs containing '<script', 'SELECT', and 'DROP'. The consultant notes that the application also URL-decodes input before filtering. What is the most likely remaining vulnerability?

    Select an answer first
  5. 35foundation · easy

    In .NET, which of the following is an example of implementing whitelist validation for a ZIP code field?

    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.