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

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

  1. 31expert · hard

    An ASP.NET application stores the user's role and tenant ID in a cookie. The application uses the Data Protection API to encrypt and sign the cookie. A developer proposes adding the user's IP address to the cookie to prevent session hijacking. What is the primary drawback of this approach?

    Select an answer first
  2. 32foundation · easy

    Which ASP.NET feature automatically generates and validates CSRF tokens for form submissions?

    Select an answer first
  3. 33application · medium

    A developer is configuring session state for a new ASP.NET application. The security policy requires that session IDs be unpredictable and unique. The application will run on a single web server. Which session state configuration should the developer choose?

    Select an answer first
  4. 34expert · hard

    A banking ASP.NET application requires a 10-minute idle timeout for high-risk operations, but users complain they are logged out while filling out long forms. The product owner wants to extend the timeout to 30 minutes. The security team warns that a longer timeout increases the hijacking window. Which solution best addresses both concerns?

    Select an answer first
  5. 35application · medium

    An ASP.NET application is configured with in-process session state. The operations team plans to deploy multiple instances behind a load balancer with sticky sessions disabled. Users report that they are randomly logged out. Which change should be made to the session state configuration?

    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.