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 2)

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 6–10

  1. 6application · medium

    A .NET application's login page displays 'Invalid username or password' for both unknown users and wrong passwords. A penetration test report recommends changing this to 'User not found' for unknown users. What is the security impact of this change?

    Select an answer first
  2. 7application · medium

    A developer uses Serilog to log authentication events. The logs currently include the full JWT token, which is a security risk. The team wants to keep the token's expiration time and issuer for debugging but mask the token itself. What is the best way to achieve this?

    Select an answer first
  3. 8expert · hard · select all that apply

    A team uses Serilog in a .NET application. They need to ensure that no sensitive data is written to logs, but they also need to log enough information to debug issues. Which of the following practices should they implement? (Select all that apply.)

    Select an answer first
  4. 9foundation · easy

    What is the primary goal of designing user-facing error messages in a secure application?

    Select an answer first
  5. 10foundation · easy

    What is the purpose of log redaction?

    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.