
EC-CouncilCertified Application Security Engineer (.NET)
Domain 5Objective 1
Symmetric Encryption and Defensive Coding CASENET Practice Questions (Page 3)
Part of the Secure Coding: Cryptography domain, which makes up ~12% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~6–10 in this domain), expect 1–2 from this objective — we provide 38 practice questions to prepare you well beyond it. (estimate)
38questions here
8free pages
5concepts
Questions 11–15
- 11
A security audit of a .NET application that uses AES-CBC with PKCS7 padding reveals a padding oracle vulnerability. The application returns different error messages for valid and invalid padding. The team needs to fix this without changing the encryption algorithm. What is the most effective mitigation?
Select an answer first - 12
Which block cipher mode of operation provides both confidentiality and authentication?
Select an answer first - 13
A developer is implementing encryption for a high-throughput API that transmits small JSON payloads. The team needs confidentiality and integrity, and wants to avoid the overhead of a separate HMAC. Which mode of operation should the developer choose?
Select an answer first - 14
A developer is implementing AES-GCM in .NET and needs to ensure that the nonce is unique for each encryption. The application will encrypt at most 1 million messages per key. Which nonce generation strategy is most appropriate?
Select an answer first - 15
A developer is implementing AES-CBC encryption and needs to ensure that the ciphertext is not vulnerable to padding oracle attacks. The application currently uses a custom decryption routine that returns different error messages for invalid padding versus invalid MAC. Which change is most important?
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. “CASENET” is a trademark of its owner, used for identification only.