
EC-CouncilCertified Application Security Engineer (Java)
Domain 6Objective 1
Session Management Techniques CASEJAVA Practice Questions (Page 3)
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 47 practice questions to prepare you well beyond it. (estimate)
47questions here
10free pages
9concepts
Questions 11–15
- 11
A Java servlet application sets a session cookie using response.addCookie(). The application is served over HTTPS, but users sometimes access it via HTTP due to an old bookmark. A security audit recommends preventing session hijacking via cookie theft. Which cookie attribute combination should be applied?
Select an answer first - 12
Which action should be taken when a user logs out of an application?
Select an answer first - 13
What is the purpose of an idle session timeout?
Select an answer first - 14
A developer is designing a session ID for a high-security Java application. The requirement is that the session ID must be resistant to brute-force guessing. Which characteristic is most important?
Select an answer first - 15
A Java web application has a session timeout configured in web.xml. During a penetration test, the tester finds that an authenticated session remains valid indefinitely if the user closes the browser and reopens it within a short time. The application uses a persistent cookie for the session ID. What is the most effective fix?
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.