
EC-CouncilCertified Application Security Engineer (.NET)
Domain 7Objective 1
Secure Exception Handling CASENET Practice Questions (Page 9)
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 41–45
- 41
What is the purpose of the catch block in a try-catch-finally structure?
Select an answer first - 42
A team is designing a centralized logging solution for a .NET application that handles credit card payments. The logging must capture enough detail to troubleshoot payment failures, but it must not store full credit card numbers or CVV codes. The team is considering logging the exception object, the request body, and the response body. What is the most secure approach?
Select an answer first - 43
When logging exceptions, which of the following should be excluded from the log entries?
Select an answer first - 44
What is the purpose of a custom error page in a web application?
Select an answer first - 45
Why is it dangerous to display a stack trace to an end user?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to CASENET
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.