
EC-CouncilCertified Application Security Engineer (Java)
Domain 7Objective 2
Secure Auditing and Logging CASEJAVA Practice Questions (Page 6)
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 26–30
- 26
A SOC team wants to detect a potential SQL injection attack by monitoring application logs. The application logs the full SQL query for each database request. Which monitoring rule would be most effective?
Select an answer first - 27
A multinational company must comply with both GDPR and local data residency laws. They store audit logs that contain personal data of EU citizens. The logs are currently stored in a data center in the US. What is the best approach to meet both GDPR and data residency requirements?
Select an answer first - 28
A security operations center (SOC) monitors a Java application's logs for signs of a brute-force attack. The application logs failed login attempts with username and IP address. The SOC wants to receive an alert when a single IP address has more than 10 failed logins within 5 minutes. Which approach should be used?
Select an answer first - 29
Which set of events should be included in a secure audit log for a Java web application?
Select an answer first - 30
A web application allows users to submit feedback that is logged for quality assurance. An attacker submits feedback containing the string: 'User logged out\n[ERROR] Database connection failed'. The log viewer displays this as two separate lines. What is the best defense against this log injection?
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.