
EC-CouncilCertified Application Security Engineer (.NET)
Domain 3Objective 3
Input Validation for ASP.NET Core CASENET Practice Questions (Page 6)
Part of the Secure Coding: Input Validation domain, which makes up ~11% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~6–9 in this domain), expect 2–2 from this objective — we provide 46 practice questions to prepare you well beyond it. (estimate)
46questions here
10free pages
11concepts
Questions 26–30
- 26
Which method must be implemented when a class implements IValidatableObject?
Select an answer first - 27
A security review of an ASP.NET Core MVC application found that a search form accepts a query string and directly interpolates it into a SQL query. The team wants to mitigate SQL injection while still validating the input length. What should they do?
Select an answer first - 28
What is the purpose of implementing IValidatableObject on a model class?
Select an answer first - 29
Which type of attack can be mitigated by validating that a string field does not contain HTML tags?
Select an answer first - 30
An ASP.NET Core MVC registration form has a `Username` field. The team wants to check asynchronously whether the username is already taken, without posting the entire form. Which approach should they use?
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.