
EC-CouncilCertified Application Security Engineer (Java)
Domain 3Objective 2
Secure Coding Practices for Input Validation in Java 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 35 practice questions to prepare you well beyond it. (estimate)
35questions here
7free pages
6concepts
Questions 1–5
- 1
Which of the following is a direct consequence of failing to validate input in a Java web application?
Select an answer first - 2
A development team is adopting a secure coding standard for input validation. They want to ensure that all input is validated at the trust boundary. Which practice should they follow?
Select an answer first - 3
A development team is integrating input validation into their CI/CD pipeline. They want to automatically detect missing validation for common injection points. Which tool is most appropriate?
Select an answer first - 4
A Java application processes JSON input from a REST API. The team wants to ensure that malformed JSON does not cause the application to crash or expose internal details. What should they implement?
Select an answer first - 5
A Java application accepts a 'role' parameter that is used to assign permissions. The valid roles are 'admin', 'user', and 'guest'. The application currently uses a blacklist to reject 'admin' from user input. What is the most secure approach?
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.