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

EC-CouncilCertified Application Security Engineer (Java)

Domain 7Objective 2

Secure Auditing and Logging CASEJAVA Practice Questions (Page 5)

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

43questions here
9free pages
6concepts

Questions 21–25

  1. 21expert · hard

    A Java application processes personal data and must comply with GDPR. The security team wants to implement audit logging for data access. However, the logs themselves contain personal data (e.g., user IDs and IP addresses). The DPO requires that logs be kept only as long as necessary. The security team also needs logs for incident investigation. Which approach best balances these requirements?

    Select an answer first
  2. 22application · medium

    A Java application generates logs that are sent to a centralized SIEM. The security team wants to detect a potential data exfiltration attempt where an attacker downloads a large number of records. Which log data would be MOST useful for this detection?

    Select an answer first
  3. 23application · medium

    A Java application logs error messages that include user-supplied input. An attacker submits the following input: "Invalid input: %0d%0a[ERROR] User 'admin' deleted all records". The application logs the decoded input. What is the best mitigation?

    Select an answer first
  4. 24application · medium

    A Java application logs search queries entered by users. An attacker submits a query containing '\r\n[INFO] User admin logged in' to create a fake log entry. The security team wants to prevent this without losing the ability to log search queries. Which approach is most effective?

    Select an answer first
  5. 25expert · hard

    A Java application logs user session data, including the session ID and the user's IP address. The security team wants to reduce the risk of session hijacking if logs are compromised. What is the best practice?

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