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

EC-CouncilCertified Application Security Engineer (.NET)

Domain 4Objective 3

Authentication and Authorization Defensive Techniques CASENET Practice Questions (Page 2)

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

40questions here
8free pages
7concepts

Questions 6–10

  1. 6foundation · easy

    Which defensive technique is used to prevent cross-site scripting (XSS) attacks by ensuring that user-supplied data is treated as data, not executable code, when rendered in a web page?

    Select an answer first
  2. 7expert · hard

    An ASP.NET Core application has a complex authorization requirement: users can edit a document only if they are the owner OR if they are in the 'Editor' role AND the document is not locked. The application currently uses role-based authorization only. What is the best way to implement this?

    Select an answer first
  3. 8foundation · easy

    In ASP.NET Core, which authorization approach allows you to define access rules based on the presence of specific claims (e.g., 'Department' claim with value 'IT') rather than just the user's role?

    Select an answer first
  4. 9foundation · easy

    Which cookie attribute should be set to 'true' to prevent client-side JavaScript from accessing the authentication cookie, thereby mitigating cross-site scripting (XSS) attacks?

    Select an answer first
  5. 10expert · hard

    A .NET application's login endpoint is being attacked with a credential stuffing attack, where attackers use lists of usernames and passwords from other breaches. The current lockout policy locks an account after 5 failed attempts, but attackers are using many different usernames to avoid lockouts. Which control should be added to mitigate this?

    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.