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

EC-CouncilCertified Application Security Engineer (.NET)

Domain 4Objective 2

Authentication and Authorization in Web Forms, ASP.NET Core, and MVC CASENET Practice Questions (Page 1)

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

41questions here
9free pages
8concepts

Questions 1–5

  1. 1foundation · easy

    In ASP.NET Core, which method is used to add cookie authentication services to the application's service collection?

    Select an answer first
  2. 2application · medium

    An ASP.NET Core application uses cookie authentication. The security team requires that the authentication cookie be marked as HttpOnly to prevent access from client-side scripts. How should this be configured?

    Select an answer first
  3. 3expert · hard

    A Web Forms application uses Forms Authentication. The security team wants to implement account lockout to prevent brute-force attacks. However, they also want to avoid locking out legitimate users who may mistype their password a few times. What is the best approach?

    Select an answer first
  4. 4application · medium

    A company has an internal ASP.NET Core application where users can view and edit their own profile. The application uses cookie authentication. A developer is asked to ensure that a user cannot access another user's profile by manipulating the URL (e.g., /Profile/Edit/123). What is the most secure approach?

    Select an answer first
  5. 5foundation · easy

    What is the primary purpose of implementing account lockout after multiple failed login attempts?

    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.