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

EC-CouncilCertified Application Security Engineer (Java)

Domain 4Objective 2

Authentication and Authorization Defensive Techniques in Java CASEJAVA Practice Questions (Page 1)

Part of the Secure Coding: Authentication and Authorization domain, which makes up ~11% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~6–9 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
8concepts

Questions 1–5

  1. 1application · medium

    A Java application uses a permission-based authorization model where users have permissions like 'read:report' and 'write:report'. A user has the 'write:report' permission but not 'read:report'. What can the user do?

    Select an answer first
  2. 2application · medium

    A Java servlet application uses URL rewriting for session tracking because cookies are disabled in some browsers. After a successful login, the application generates a new session ID. What additional control is essential to prevent session fixation?

    Select an answer first
  3. 3application · medium

    A Java servlet application uses a filter to perform authentication. The filter checks the session for a logged-in user attribute. If the attribute is missing, the filter redirects to a login page. The application also needs to prevent session fixation. What should the filter do after a successful login?

    Select an answer first
  4. 4expert · hard

    A Java application uses RBAC with roles ADMIN, MANAGER, and USER. A new requirement allows users to be temporarily granted a permission without changing their role. What is the best approach?

    Select an answer first
  5. 5expert · hard

    A Java web application is deployed behind a load balancer that terminates TLS. The application uses session cookies. The security team notices that the session cookie is not marked as Secure, even though the application is accessed over HTTPS. What is the most likely cause and the best 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.