Question 560
Architecture principle case — A case-management app checks upload size but never inspects declared versus actual file type. The design review is extracting the transferable lesson for later software projects. Which security principle best governs the observation?
Explanation
Correct Answer
In Q0560, the fictional organizational observation is: A case-management app checks upload size but never inspects declared versus actual file type. The distinct underlying risk mechanism is: Attachment verification ignores content parsing and resource-consumption hazards. Choice B addresses the governing security-design principle because it states: A file extension is not proof that file content is safe or bounded. This fits the governing design principle: A file extension is not proof that file content is safe or bounded. For measurable acceptance, the team should: Negative fixtures with mismatched types and oversized archives fail safely without exhausting workers. Sustained prevention requires: Maintain an upload safety suite covering parsers, size limits and storage isolation.
Incorrect Answers
Choice A describes a plausible governing security-design principle for a separate security issue, security fixture contains real user secrets: Test realism was achieved by exposing live data and credentials without authorization. Its proposed response, “Useful test data does not need to compromise real users' confidentiality”, does not directly resolve this case. The discriminating cause is: Attachment verification ignores content parsing and resource-consumption hazards. A stronger governing security-design principle would be: A file extension is not proof that file content is safe or bounded. An objective reviewer would test: Negative fixtures with mismatched types and oversized archives fail safely without exhausting workers.
Choice C describes a plausible governing security-design principle for a separate security issue, uncontrolled penetration-test account persistence: Test authorization and cleanup were not bounded to the scope and timeframe. Its proposed response, “Authorized testing itself must have clear limits and an auditable end state”, does not directly resolve this case. The discriminating cause is: Attachment verification ignores content parsing and resource-consumption hazards. A stronger governing security-design principle would be: A file extension is not proof that file content is safe or bounded. An objective reviewer would test: Negative fixtures with mismatched types and oversized archives fail safely without exhausting workers.
Choice D describes a plausible governing security-design principle for a separate security issue, penetration test has no remediation loop: Security assessment findings were recorded without an evidence-based correction and re-test process. Its proposed response, “An assessment creates value only when vulnerabilities are resolved or governed as explicit residual risk”, does not directly resolve this case. The discriminating cause is: Attachment verification ignores content parsing and resource-consumption hazards. A stronger governing security-design principle would be: A file extension is not proof that file content is safe or bounded. An objective reviewer would test: Negative fixtures with mismatched types and oversized archives fail safely without exhausting workers.



Secure Software Design (KEO1) Practice Tests