
EC-CouncilCertified Application Security Engineer (Java)
Domain 5Objective 3
Cryptographic Attacks and Defensive Coding CASEJAVA Practice Questions (Page 1)
Part of the Secure Coding: Cryptography domain, which makes up ~13% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~7–10 in this domain), expect 2–3 from this objective — we provide 43 practice questions to prepare you well beyond it. (estimate)
43questions here
9free pages
7concepts
Questions 1–5
- 1
A security team is performing a penetration test on a Java application that uses AES-CBC. They notice that the application's decryption time varies slightly depending on whether the padding is valid. Which type of attack does this enable?
Select an answer first - 2
Why is it important to validate and sanitize inputs before passing them to cryptographic functions?
Select an answer first - 3
A Java application's decryption method throws a custom exception that includes the algorithm name, key length, and the first 10 bytes of the ciphertext. A security review flags this as a risk. What is the best remediation?
Select an answer first - 4
When using the Java Cryptography Extension (JCE), what is the recommended way to specify the transformation for a cipher?
Select an answer first - 5
A security team wants to identify cryptographic vulnerabilities in a Java codebase before release. They run a static analysis tool and also plan a manual code review. Which finding would the static analysis tool most likely flag?
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.