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

EC-CouncilCertified Application Security Engineer (Java)

Domain 6Objective 1

Session Management Techniques CASEJAVA Practice Questions (Page 7)

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 31–35

  1. 31expert · hard

    A Java application is accessed by users on both regular browsers and legacy mobile clients that do not support the SameSite cookie attribute. The application currently sets a session cookie with Secure and HttpOnly but not SameSite. A penetration test shows that the session cookie is sent in cross-site requests. What is the best mitigation that does not break the legacy clients?

    Select an answer first
  2. 32expert · hard

    A Java application is accessed over HTTPS, but the session cookie is set without the Secure flag. The application also allows session IDs to be passed in URLs. Which of the following is the most comprehensive mitigation?

    Select an answer first
  3. 33expert · hard

    A Spring Security application uses session fixation protection with migrateSession(). A security audit recommends using newSession() instead. What is the primary security advantage of newSession() over migrateSession()?

    Select an answer first
  4. 34foundation · easy

    When should a web application regenerate the session ID to prevent fixation?

    Select an answer first
  5. 35application · medium

    A Java web application is deployed behind a load balancer that terminates SSL. The application sets a session cookie with the Secure flag. Users report that they are logged out frequently. What is the likely cause?

    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.