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

EC-CouncilCertified Application Security Engineer (.NET)

Domain 7Objective 1

Secure Exception Handling CASENET Practice Questions (Page 7)

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 45 practice questions to prepare you well beyond it. (estimate)

45questions here
9free pages
8concepts

Questions 31–35

  1. 31application · medium

    A .NET Core application has multiple microservices, each with its own exception handling middleware. The security team wants to standardize error responses and logging across all services without duplicating code. What is the most maintainable approach?

    Select an answer first
  2. 32foundation · easy

    Which of the following should be avoided in error messages shown to end users?

    Select an answer first
  3. 33application · medium

    An ASP.NET MVC application has a custom error page that displays the exception message to the user. The exception message is generated from a third-party library and may contain file paths. You need to ensure that the user never sees these paths while still logging them for support. What is the best way to achieve this?

    Select an answer first
  4. 34expert · medium

    An e-commerce application is being redesigned. The previous version displayed detailed error pages that included stack traces and SQL queries, which led to a security breach. The new design must ensure that production users see only a generic error page, but support engineers need access to detailed error information for troubleshooting. The application is hosted on Azure App Service. What is the best way to provide detailed error information to support engineers without exposing it to end users?

    Select an answer first
  5. 35foundation · easy

    Why is it important to test exception handling paths in an application?

    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.