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

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 41–45

  1. 41application · medium

    A .NET web application uses ASP.NET MVC with data annotations for model validation. The team wants to ensure that validation is enforced on the server. What is the best way to do this?

    Select an answer first
  2. 42expert · hard

    A .NET application allows users to upload files to a specific directory. The filename is taken from the user and used to construct the full path. The team wants to prevent path traversal while allowing legitimate filenames like 'report_v1.txt'. Which approach is most secure?

    Select an answer first
  3. 43application · medium

    An ASP.NET Core Razor Pages application displays user-generated comments on a community forum. The development team wants to prevent stored XSS attacks while still allowing users to include basic formatting like bold text. What should they do?

    Select an answer first
  4. 44foundation · easy

    Which of the following is a limitation of blacklist validation?

    Select an answer first
  5. 45foundation · easy

    Which filtering technique replaces dangerous characters with a safe representation, such as converting '<' to '&lt;'?

    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.