
EC-CouncilCertified Application Security Engineer (Java)
Domain 6Objective 2
Defensive Coding Against Broken Session Management CASEJAVA Practice Questions (Page 1)
Part of the Secure Coding: Session Management 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 3–5 from this objective — we provide 45 practice questions to prepare you well beyond it. (estimate)
45questions here
9free pages
9concepts
Questions 1–5
- 1
A Java application allows users to change their password from within an authenticated session. After the password change, the application should invalidate all other active sessions for that user. Which approach should be implemented?
Select an answer first - 2
What is the most important server-side action when a user logs out?
Select an answer first - 3
A Java web application's logout function invalidates the server-side session and clears the session cookie. However, a security tester discovers that after logout, the session ID can still be used to access protected resources if the attacker sends the old session ID in a request. The application uses a distributed session store. What is the most likely cause and the best fix?
Select an answer first - 4
A high-security application requires protection against session hijacking, but users frequently switch between corporate Wi-Fi and personal hotspots, causing IP changes. The security team wants to minimize false positives while still detecting stolen sessions. Which strategy is most effective?
Select an answer first - 5
What is an idle timeout in session management?
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.