Question 200
Architecture principle case — A mobile shopping app contains a permanent API key that grants backend inventory modifications. The design review is extracting the transferable lesson for later software projects. Which security principle best governs the observation?
Explanation
Correct Answer
In Q0200, the fictional organizational observation is: A mobile shopping app contains a permanent API key that grants backend inventory modifications. The distinct underlying risk mechanism is: The design relied on hiding a reusable privileged secret inside distributable client software. Choice D addresses the governing security-design principle because it states: Code shipped to user devices must be treated as inspectable and outside server trust. This fits the governing design principle: Code shipped to user devices must be treated as inspectable and outside server trust. For measurable acceptance, the team should: Static client inspection reveals no server administrator secret and backend calls enforce per-user scope. Sustained prevention requires: Prohibit privileged long-lived credentials in distributable artifacts through architecture and build checks.
Incorrect Answers
Choice A describes a plausible governing security-design principle for a separate security issue, unbounded retry cascades across services: Dependent services amplify failure because retries lack limits, backoff and circuit breaking. Its proposed response, “Resilience requires controlling failure amplification instead of merely retrying harder”, does not directly resolve this case. The discriminating cause is: The design relied on hiding a reusable privileged secret inside distributable client software. A stronger governing security-design principle would be: Code shipped to user devices must be treated as inspectable and outside server trust. An objective reviewer would test: Static client inspection reveals no server administrator secret and backend calls enforce per-user scope.
Choice B describes a plausible governing security-design principle for a separate security issue, overly permissive internal metadata service: Workload network design exposed privileged metadata services to user-influenced processes. Its proposed response, “Internal infrastructure endpoints remain valuable targets and require explicit access control”, does not directly resolve this case. The discriminating cause is: The design relied on hiding a reusable privileged secret inside distributable client software. A stronger governing security-design principle would be: Code shipped to user devices must be treated as inspectable and outside server trust. An objective reviewer would test: Static client inspection reveals no server administrator secret and backend calls enforce per-user scope.
Choice C describes a plausible governing security-design principle for a separate security issue, defense in depth reduced to duplicate filters: Multiple controls share one failure mode while important attack paths remain unprotected. Its proposed response, “Depth means different controls addressing different failure paths, not repeated instances of one check”, does not directly resolve this case. The discriminating cause is: The design relied on hiding a reusable privileged secret inside distributable client software. A stronger governing security-design principle would be: Code shipped to user devices must be treated as inspectable and outside server trust. An objective reviewer would test: Static client inspection reveals no server administrator secret and backend calls enforce per-user scope.



Secure Software Design (KEO1) Practice Tests