312-39 practice question 2 of 35
Wesley is an incident handler in a company named Maddison Tech. One day, he was learning techniques for eradicating the insecure deserialization…
Choose your answer, then check it against the explanation and the full breakdown below.
Question breakdown
Key idea: Defending against insecure deserialization means limiting what can be serialized and deserialized, so security-sensitive classes should never be serializable.
How to reach the answer
- The question asks which practice Wesley should avoid, so look for the option that weakens security.
- Allowing serialization of security-sensitive classes exposes their internal state to tampering and leakage.
- Validating untrusted input and understanding serialization permissions are standard recommended controls.
- Option A is phrased awkwardly, but it reflects the trust-boundary guidance in EC-Council's material, so C is the answer to avoid.
Each option
Common trap: The odd wording of option A ('trusted data must cross a trust boundary') looks wrong, which can pull candidates away from the clearly insecure option C.
In practice: In Java and .NET applications, teams mark sensitive classes non-serializable and use allow-lists of classes during deserialization. These controls block gadget-chain remote code execution.
Remember: Never allow security-sensitive classes to be serialized, and restrict deserialization to allow-listed trusted classes.
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free 312-39 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 312-39 practice questions
- Question 1What type of event is recorded when an application driver loads successfully in Windows?
- Question 3Which of the following attack can be eradicated by disabling of "allow_url_fopen and allo…
- Question 4Which of the following technique protects from flooding attacks originated from the valid…
- Question 5John, SOC analyst wants to monitor the attempt of process creation activities from any of…
- Question 6Mike is an incident handler for PNP Infosystems Inc. One day, there was a ticket raised r…
- Question 7Which of the following is a set of standard guidelines for ongoing development, enhanceme…
