
EC-CouncilCertified Application Security Engineer (.NET)
Domain 3Objective 3
Input Validation for ASP.NET Core CASENET Practice Questions (Page 1)
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 1–5
- 1
A developer is building an ASP.NET Core MVC form with client-side validation. The form uses jQuery and unobtrusive validation. The developer has added data annotation attributes to the model, but the client-side validation is not firing. The developer has already included the jQuery, jQuery.Validation, and jQuery.Validation.Unobtrusive scripts. What else is required for client-side validation to work?
Select an answer first - 2
Which attribute is used to enable remote validation for a model property in ASP.NET Core?
Select an answer first - 3
A security review of an ASP.NET Core Web API reveals that a comment field is stored and later rendered in HTML without encoding. The development team plans to add a [RegularExpression] attribute to the comment field to block HTML tags. A senior engineer argues that this is insufficient. Which additional measure is necessary to prevent stored XSS?
Select an answer first - 4
An ASP.NET Core MVC application has a model that implements IValidatableObject. The Validate method returns a ValidationResult with a member name that does not match any property on the model. What is the effect of this?
Select an answer first - 5
What is the standard structured error response format used by ASP.NET Core API controllers when validation fails?
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.