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 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 45 practice questions to prepare you well beyond it. (estimate)

45questions here
9free pages
9concepts

Questions 11–15

  1. 11expert · hard

    A Java web application uses a custom authentication filter that sets the user principal after verifying credentials. The filter currently does not change the session ID. A security audit recommends regenerating the session ID after authentication. However, the application also uses a shopping cart that is stored in the session before login. What is the best way to preserve the cart while preventing session fixation?

    Select an answer first
  2. 12foundation · easy

    Which of the following is a common session-related vulnerability where an attacker forces a user to use a known session ID?

    Select an answer first
  3. 13application · medium

    A Java web application's logout function calls session.invalidate() and then redirects to the login page. However, a tester finds that pressing the browser Back button after logout shows cached authenticated pages. Which additional control should be implemented to prevent cached page access?

    Select an answer first
  4. 14foundation · easy

    What is the purpose of the HttpOnly attribute on a session cookie?

    Select an answer first
  5. 15application · medium

    A web application allows users to log in from multiple devices. The security team wants to detect potential session hijacking without forcing users to re-authenticate on every IP change. Which approach best balances security and usability?

    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.