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

EC-CouncilCertified Application Security Engineer (Java)

Domain 7Objective 1

Secure Exception/Error Handling CASEJAVA Practice Questions (Page 9)

Part of the Secure Coding: Error Handling and Logging 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 3–5 from this objective — we provide 45 practice questions to prepare you well beyond it. (estimate)

45questions here
9free pages
6concepts

Questions 41–45

  1. 41foundation · easy

    Why is secure exception handling critical in a Java web application?

    Select an answer first
  2. 42foundation · easy

    Which of the following is a common pitfall in exception handling that can lead to information disclosure?

    Select an answer first
  3. 43foundation · easy

    What is the danger of 'swallowing' an exception in a Java method?

    Select an answer first
  4. 44expert · hard

    A Java web application has a global exception handler that returns a generic error page. However, the application also uses a REST API that returns JSON error responses. The security team wants to ensure that the REST API does not leak internal details while still providing useful error codes to clients. What is the best approach?

    Select an answer first
  5. 45expert · hard

    A Java application has a centralized exception handler that logs all exceptions and returns a generic error response. However, the security team finds that some exceptions are not being logged because they occur in background threads. What is the best solution?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

No more pagesBack to CASEJAVA

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. “CASEJAVA” is a trademark of its owner, used for identification only.