
EC-CouncilCertified Application Security Engineer (Java)
Domain 3Objective 1
Input Validation Approaches and Filtering CASEJAVA Practice Questions (Page 1)
Part of the Secure Coding: Input Validation domain, which makes up ~9% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~5–7 in this domain), expect 3–4 from this objective — we provide 39 practice questions to prepare you well beyond it. (estimate)
39questions here
8free pages
5concepts
Questions 1–5
- 1
A Java web application allows users to submit comments that are later displayed to other users. The development team wants to prevent cross-site scripting (XSS) attacks while preserving the ability to display basic text formatting. Which filtering technique should be applied at the point where the comment is rendered?
Select an answer first - 2
A Java application accepts a 'countryCode' parameter that must be a two-letter ISO code. The team is evaluating validation frameworks. Which approach is most appropriate?
Select an answer first - 3
Which filtering technique is used to prevent SQL injection by converting special characters in user input into their HTML entity equivalents?
Select an answer first - 4
A Java application accepts a 'zipCode' field for US addresses. The team is deciding between whitelist and blacklist validation. Which statement correctly guides their decision?
Select an answer first - 5
A development team is building a Java web application that accepts a 'search' parameter and displays it back to the user. They want to prevent stored XSS. Which combination of controls provides the most effective defense in depth?
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. “CASEJAVA” is a trademark of its owner, used for identification only.