
EC-CouncilCertified Application Security Engineer (.NET)
Domain 7Objective 2
Defensive Coding Against Information Disclosure CASENET Practice Questions (Page 5)
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 21–25
- 21
A company's compliance team requires that application logs be protected from unauthorized access and that any security-related events be reviewed promptly. The logs are currently stored on the same web server as the application. Which action best meets the requirement?
Select an answer first - 22
Your .NET application has been logging errors to a central log management system. The security team wants to be notified when there is a sudden spike in 500 errors, which could indicate an attack. What should you configure?
Select an answer first - 23
Which user-facing error message is designed to avoid revealing internal details?
Select an answer first - 24
Which technique should be used to prevent logging of sensitive data such as passwords and tokens?
Select an answer first - 25
Why is it important to avoid catching a general Exception and then rethrowing it without any additional handling?
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.