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

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 26–30

  1. 26application · medium

    A .NET application accepts a file path from user input to retrieve a file from a local directory. Security testing revealed that an attacker can use encoded traversal sequences like %2e%2e%2f to escape the intended directory. The team wants to prevent this while still allowing legitimate relative paths. What should be done first?

    Select an answer first
  2. 27expert · hard

    A .NET application has a feature that exports user data to a CSV file. The user can control some of the data that is written to the CSV. The team wants to prevent CSV injection, where a value starting with '=', '+', '-', or '@' is interpreted as a formula by spreadsheet software. What is the most effective mitigation?

    Select an answer first
  3. 28expert · hard

    A developer is implementing a search feature that accepts a query string and uses it in a LIKE clause in SQL. The developer wants to prevent SQL injection while allowing users to search for partial matches. What is the most appropriate approach?

    Select an answer first
  4. 29foundation · easy

    Which of the following is an example of canonicalization to prevent path traversal?

    Select an answer first
  5. 30foundation · easy

    Which filtering technique would you use to strip out all non-alphanumeric characters from a username 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.