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

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 36–40

  1. 36application · medium

    A .NET application has a search feature that accepts a user-supplied string and uses it in a SQL query. The team wants to block obvious SQL injection attempts by rejecting input that contains common SQL keywords like 'SELECT', 'DROP', or 'UNION'. What is a major weakness of this approach?

    Select an answer first
  2. 37foundation · easy

    What is the purpose of canonicalization in input validation?

    Select an answer first
  3. 38application · medium

    A .NET application accepts a URL from user input and later uses it to make an HTTP request. Security testing found that an attacker can use URL encoding to bypass a filter that blocks requests to internal IP addresses. What is the best way to prevent this?

    Select an answer first
  4. 39expert · hard

    A .NET application has a multi-step form where the user selects a product category from a dropdown, then enters a product name. The product name is later displayed on a public page. The team is deciding on a validation strategy. Which combination of approaches is most secure and user-friendly?

    Select an answer first
  5. 40expert · hard

    A .NET application accepts a base64-encoded string from a query parameter. The string is decoded and then used as a file name. The team wants to prevent path traversal. What is the best approach?

    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.