Skip to content
Sharp

Security · interview question

Which move is the best default when deserialization safety becomes part of this workflow?

Multiple choiceHardchapter-17-curatedpremiumsecuritydeserialization-safety
Choose one answer
Answer and explanation

Correct answer

A. Parse data with clear expectations and avoid unsafe object-loading patterns that execute or infer too much.

Why

Parse data with clear expectations and avoid unsafe object-loading patterns that execute or infer too much. That is the stronger engineering move because good answers mention boundary skepticism and explicit shape checks. Treating deserialization as harmless plumbing can turn malformed input into surprising runtime behavior.

Test yourself on Security

A free test with instant, explained results. No account needed.

Start free test
All Security questions →