
EC-CouncilCertified Application Security Engineer (Java)
Domain 1Objective 2
Most Common Application-Level Attacks CASEJAVA Practice Questions (Page 3)
Part of the Application Security Foundations domain, which makes up ~14% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~7–11 in this domain), expect 2–4 from this objective — we provide 48 practice questions to prepare you well beyond it. (estimate)
48questions here
10free pages
5concepts
Questions 11–15
- 11
A Java application is being redesigned to handle untrusted input from multiple sources. The team must choose a strategy to prevent injection attacks while maintaining performance. Which approach best balances security and performance?
Select an answer first - 12
A Java web application allows users to upload files. The application stores the files on the local filesystem and serves them back with the original filename. An attacker uploads a file named `../../etc/cron.d/evil` and the application does not sanitize the filename. Which of the following is the most likely impact?
Select an answer first - 13
A Java application uses XML to exchange data with a partner system. An attacker submits an XML payload that defines an external entity pointing to a local file, and the server returns the file contents in the response. Which attack is this, and what is the best mitigation?
Select an answer first - 14
An attacker exploits a CSRF vulnerability to change a user's email address. The application uses anti-CSRF tokens but does not re-authenticate for sensitive actions. Which additional control would most effectively reduce the impact of CSRF on this sensitive action?
Select an answer first - 15
A security audit reveals that an application uses a custom authentication filter that checks a 'role' attribute stored in a cookie. The filter also fails to invalidate sessions after logout. Which two OWASP Top 10 categories are most directly implicated?
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.