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

EC-CouncilCertified Application Security Engineer (.NET)

Domain 7Objective 2

Defensive Coding Against Information Disclosure CASENET Practice Questions (Page 3)

Part of the Secure Coding: Error Handling and Logging domain, which makes up ~12% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~6–10 in this domain), expect 2–3 from this objective — we provide 41 practice questions to prepare you well beyond it. (estimate)

41questions here
9free pages
10concepts

Questions 11–15

  1. 11application · medium

    A user reports that when they enter an invalid product ID, the application displays an error page that includes the full stack trace and the physical path to the source file. What is the primary security risk?

    Select an answer first
  2. 12application · medium

    A company runs multiple .NET web services and wants to centralize error logs to a SIEM for analysis. The logs must include correlation IDs so that a single user request can be traced across services. Which approach should be used?

    Select an answer first
  3. 13foundation · easy

    In ASP.NET Core, what is the role of a global exception handler middleware?

    Select an answer first
  4. 14foundation · easy

    Which alert condition is most likely to indicate a potential SQL injection attack?

    Select an answer first
  5. 15expert · hard

    A .NET application logs exception details to a central log aggregator. The logs include the raw HTTP request body, which may contain passwords. The team wants to keep the request body for debugging but mask the password field. Which approach is most maintainable?

    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.