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

EC-CouncilCertified Application Security Engineer (Java)

Domain 5Objective 3

Cryptographic Attacks and Defensive Coding CASEJAVA Practice Questions (Page 2)

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 6–10

  1. 6foundation · easy

    An attacker observes that a server returns different error messages when ciphertext padding is valid versus invalid. Which cryptographic attack is the attacker most likely attempting?

    Select an answer first
  2. 7application · medium

    A Java application needs to store API keys in a configuration file. The team wants to protect the keys at rest. Which approach is most secure?

    Select an answer first
  3. 8application · medium

    A Java application uses RSA-OAEP to encrypt sensitive data. During decryption, the application catches exceptions and returns different HTTP status codes for 'invalid ciphertext' versus 'invalid padding'. A security auditor warns that this behavior enables a padding oracle attack. What is the most effective remediation?

    Select an answer first
  4. 9expert · hard

    A Java application uses a stream cipher to encrypt messages between two servers. An attacker captures a ciphertext and knows the corresponding plaintext for one message. Using this known plaintext, the attacker can recover the keystream and then decrypt other messages encrypted with the same key. Which security property is most directly compromised?

    Select an answer first
  5. 10foundation · easy

    Which testing approach involves actively attempting to exploit cryptographic weaknesses in a running application?

    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.