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

EC-CouncilCertified Application Security Engineer (Java)

Domain 6Objective 2

Defensive Coding Against Broken Session Management CASEJAVA Practice Questions (Page 8)

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 36–40

  1. 36foundation · easy

    Why should a web application reject user-supplied session identifiers (e.g., from a query parameter) and rely on server-generated IDs?

    Select an answer first
  2. 37application · medium

    A Java web application's logout button currently calls session.invalidate() but does not clear the session cookie. A user logs out on a shared computer, then presses the browser's Back button and observes that the application still shows the previous authenticated page. Which additional step should be implemented to prevent session reuse?

    Select an answer first
  3. 38foundation · easy

    Which session tracking mode is generally considered the most secure in Java web applications?

    Select an answer first
  4. 39expert · hard

    A Java application must enforce both an idle timeout of 15 minutes and an absolute timeout of 8 hours. The application is deployed on a cluster of servers, and sessions are stored in a distributed cache. Which implementation approach is most reliable?

    Select an answer first
  5. 40foundation · easy

    What is the primary reason for generating session IDs with sufficient length and high entropy?

    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.