Question 790
A product catalog stores optional nested specifications that vary by category but still needs relational constraints. Which technical principle BEST explains the relevant design decision?
Explanation
Correct Answer
JSON storage allows flexible attributes without abandoning structured identity and integrity. This explains why the corrective action is to store appropriate semi-structured attributes in a validated JSON column alongside relational keys. Confirm the diagnosis when sample records validate JSON paths while required keys remain enforced.
Incorrect Answers
Parsing nested arrays into typed rows reduces fragile manual string extraction. The actual technical constraint is that JSON storage allows flexible attributes without abandoning structured identity and integrity.
Application-layer validation alone can be bypassed by other writers. The actual technical constraint is that JSON storage allows flexible attributes without abandoning structured identity and integrity.
A default supplies a value on omission, not a guarantee against explicit bad values. The actual technical constraint is that JSON storage allows flexible attributes without abandoning structured identity and integrity.