Question 570
Architecture principle case — A public pull request triggers CI tests in an environment holding a live payment secret. The design review is extracting the transferable lesson for later software projects. Which security principle best governs the observation?
Explanation
Correct Answer
In Q0570, the fictional organizational observation is: A public pull request triggers CI tests in an environment holding a live payment secret. The distinct underlying risk mechanism is: Untrusted build inputs execute with powerful long-lived release credentials. Choice A addresses the governing security-design principle because it states: Build automation is a trust boundary when contributed code can execute commands. This fits the governing design principle: Build automation is a trust boundary when contributed code can execute commands. For measurable acceptance, the team should: Untrusted branch tests cannot read deployment secrets or authorize release promotion. Sustained prevention requires: Require runner isolation and approval for protected environment access.
Incorrect Answers
Choice B describes a plausible governing security-design principle for a separate security issue, vulnerability fix not propagated to every environment: Patch completion is declared before all affected deployment instances are reconciled. Its proposed response, “A code fix is not complete until vulnerable deployed copies are accounted for”, does not directly resolve this case. The discriminating cause is: Untrusted build inputs execute with powerful long-lived release credentials. A stronger governing security-design principle would be: Build automation is a trust boundary when contributed code can execute commands. An objective reviewer would test: Untrusted branch tests cannot read deployment secrets or authorize release promotion.
Choice C describes a plausible governing security-design principle for a separate security issue, security gate evaluates only default branch: Protection is applied after risky changes enter the trusted codebase or artifacts. Its proposed response, “Security gates should apply to the artifact being promoted, not merely the usual branch”, does not directly resolve this case. The discriminating cause is: Untrusted build inputs execute with powerful long-lived release credentials. A stronger governing security-design principle would be: Build automation is a trust boundary when contributed code can execute commands. An objective reviewer would test: Untrusted branch tests cannot read deployment secrets or authorize release promotion.
Choice D describes a plausible governing security-design principle for a separate security issue, static secrets baked into container images: Image layers preserve secrets even when later filesystem steps hide them. Its proposed response, “A container image is a redistributable artifact whose historical layers can reveal secrets”, does not directly resolve this case. The discriminating cause is: Untrusted build inputs execute with powerful long-lived release credentials. A stronger governing security-design principle would be: Build automation is a trust boundary when contributed code can execute commands. An objective reviewer would test: Untrusted branch tests cannot read deployment secrets or authorize release promotion.



Secure Software Design (KEO1) Practice Tests