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

EC-CouncilCertified Application Security Engineer (.NET)

Domain 6Objective 4

Defensive Coding Against Broken Session Management CASENET Practice Questions (Page 4)

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 38 practice questions to prepare you well beyond it. (estimate)

38questions here
8free pages
10concepts

Questions 16–20

  1. 16foundation · easy

    Why is it important to use a cryptographically secure random number generator (CSPRNG) for session ID generation?

    Select an answer first
  2. 17foundation · easy

    What is the primary purpose of the SameSite cookie attribute?

    Select an answer first
  3. 18application · medium

    A .NET Core application is configured with cookie-based sessions. The application is accessible via both HTTP and HTTPS. The security team requires that session cookies are never transmitted over unencrypted connections. Which configuration should be applied?

    Select an answer first
  4. 19application · medium

    A .NET web application currently uses the default ASP.NET session ID generation. A security review flags that session IDs are predictable under high load. The team must harden session ID generation without changing the session state provider. Which change should the team implement?

    Select an answer first
  5. 20application · medium

    An ASP.NET application currently stores the session ID in a hidden form field to support clients that disable cookies. A security audit flags this as a risk because the session ID appears in the HTML source and may be logged by proxy servers. What is the recommended remediation?

    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.