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

EC-CouncilCertified Application Security Engineer (.NET)

Domain 6Objective 2

Cookie-Based Session Management CASENET Practice Questions (Page 5)

Part of the Secure Coding: Session Management domain, which makes up ~10% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~5–8 in this domain), expect 1–2 from this objective — we provide 47 practice questions to prepare you well beyond it. (estimate)

47questions here
10free pages
10concepts

Questions 21–25

  1. 21expert · hard

    An ASP.NET Core application uses cookie authentication and includes anti-forgery tokens in forms. The application is embedded in an iframe on a partner site, and the partner site needs to submit forms to the application. The developer sets SameSite=None on the authentication cookie and the anti-forgery cookie. However, CSRF attacks still succeed. Which additional configuration is required?

    Select an answer first
  2. 22foundation · easy

    Which cookie attribute prevents client-side scripts from accessing the cookie, thereby mitigating XSS-based cookie theft?

    Select an answer first
  3. 23application · medium

    An ASP.NET Core application allows users to change their email address via a form. The security team is concerned that an attacker could trick a logged-in user into submitting the form without their consent. The application already uses cookies for authentication. Which additional control should the developer implement?

    Select an answer first
  4. 24foundation · easy

    In ASP.NET Core, which method is used to configure cookie-based session services?

    Select an answer first
  5. 25foundation · easy

    Why should session cookies be stored only in memory (non-persistent) rather than on disk?

    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. “CASENET” is a trademark of its owner, used for identification only.