Question 500
Architecture principle case — A developer removes a leaked API key from current code but leaves it in build artifacts. The design review is extracting the transferable lesson for later software projects. Which security principle best governs the observation?
Explanation
Correct Answer
In Q0500, the fictional organizational observation is: A developer removes a leaked API key from current code but leaves it in build artifacts. The distinct underlying risk mechanism is: Testing checks current source but not distributed artifacts or whether leaked credentials still function. Choice C addresses the governing security-design principle because it states: A credential is not remediated merely because its literal was deleted from one file. This fits the governing design principle: A credential is not remediated merely because its literal was deleted from one file. For measurable acceptance, the team should: Artifact scans find no active key and attempts using the retired key are denied. Sustained prevention requires: Include artifact secret scanning and revocation confirmation in incident closeout.
Incorrect Answers
Choice A 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: Testing checks current source but not distributed artifacts or whether leaked credentials still function. A stronger governing security-design principle would be: A credential is not remediated merely because its literal was deleted from one file. An objective reviewer would test: Artifact scans find no active key and attempts using the retired key are denied.
Choice B describes a plausible governing security-design principle for a separate security issue, api fuzzing without state awareness: Testing treats requests independently while business vulnerabilities emerge across workflow sequences. Its proposed response, “Many application threats arise from sequences of valid requests in invalid order”, does not directly resolve this case. The discriminating cause is: Testing checks current source but not distributed artifacts or whether leaked credentials still function. A stronger governing security-design principle would be: A credential is not remediated merely because its literal was deleted from one file. An objective reviewer would test: Artifact scans find no active key and attempts using the retired key are denied.
Choice D describes a plausible governing security-design principle for a separate security issue, test evidence cannot be reproduced: Security evidence lacks enough provenance to reproduce or independently evaluate claims. Its proposed response, “A pass label is weaker than a test whose method and conditions can be independently repeated”, does not directly resolve this case. The discriminating cause is: Testing checks current source but not distributed artifacts or whether leaked credentials still function. A stronger governing security-design principle would be: A credential is not remediated merely because its literal was deleted from one file. An objective reviewer would test: Artifact scans find no active key and attempts using the retired key are denied.



Secure Software Design (KEO1) Practice Tests