
EC-CouncilCertified Application Security Engineer (Java)
Domain 6Objective 2
Defensive Coding Against Broken Session Management CASEJAVA Practice Questions (Page 4)
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 16–20
- 16
A Java application allows users to log in via a single sign-on (SSO) system. After the SSO callback authenticates the user, the application creates a local session. A security review notes that the local session ID is the same as the one used before the SSO callback. What is the risk and the appropriate fix?
Select an answer first - 17
A Java application allows users to log in from multiple devices, including shared computers. The security team wants to detect session hijacking but also wants to allow users to switch between devices without re-authenticating every time. Which approach best meets both goals?
Select an answer first - 18
A Java application is being redesigned to use custom session IDs. The requirement is that session IDs must be unpredictable and resistant to brute-force attacks. Which implementation is most appropriate?
Select an answer first - 19
Why is it important to clear the session cookie on the client side during logout?
Select an answer first - 20
Why is it recommended to renew (regenerate) the session ID after a user logs in?
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.