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 9)

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 41–45

  1. 41application · medium

    A Java application accepts a session ID from a request parameter if no cookie is present. After login, the application does not change the session ID. Which two changes are most important to prevent session fixation?

    Select an answer first
  2. 42expert · hard

    A Java application is accessible via both HTTP and HTTPS. The session cookie is set without the Secure attribute, and the application uses URL rewriting as a fallback when cookies are disabled. A security audit requires that session IDs never be transmitted over HTTP or appear in URLs. What is the most effective configuration?

    Select an answer first
  3. 43foundation · easy

    Why should session IDs be transmitted only over HTTPS?

    Select an answer first
  4. 44application · medium

    A Java web application currently uses URL rewriting as a session tracking mode because some users disable cookies. A security audit flags that session IDs appear in server logs and in the Referer header when users click external links. What is the best remediation?

    Select an answer first
  5. 45foundation · easy

    In a Java servlet, which method is used to invalidate the current session?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

No more pagesBack to CASEJAVA

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.