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

EC-CouncilCertified Application Security Engineer (Java)

Domain 3Objective 2

Secure Coding Practices for Input Validation in Java CASEJAVA Practice Questions (Page 7)

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 31–35

  1. 31application · medium

    A Java application processes a file upload. The filename is provided by the user and used to store the file on the server. Which of the following is the most secure way to handle the filename?

    Select an answer first
  2. 32foundation · easy

    Which Java API is commonly used to validate input against a regular expression pattern?

    Select an answer first
  3. 33application · medium

    A Java application accepts a 'sortBy' parameter that is used to construct an ORDER BY clause in a SQL query. The parameter is expected to be one of a fixed set of column names. Which validation approach is most appropriate?

    Select an answer first
  4. 34application · easy

    A Java application uses Bean Validation (javax.validation) to validate user input in a REST API. The team wants to ensure that a field that should be a valid email address is properly validated. Which annotation should be used?

    Select an answer first
  5. 35foundation · easy

    At which stage of the software development lifecycle should input validation be integrated?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

No more pagesBack to CASEJAVA

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.