Question 120
A DevOps pipeline embeds a production database password in a YAML file and developers exchange copies through chat. The design team considers no further control necessary. What underlying architectural limitation explains this failure?
Explanation
Correct Answer
The relevant failure mechanism is: Hard-coded shared secrets are difficult to revoke and expose production access through the build chain. This follows from the stated architecture: A DevOps pipeline embeds a production database password in a YAML file and developers exchange copies through chat. The corrective security design is: Use a supported secret vault or workload identity with access policies and rotation. Validate it by confirming: A test deployment retrieves the credential without a plaintext copy in repositories or build logs.
Incorrect Answers
Not all MFA methods provide equivalent protection against modern phishing techniques. The reported symptoms instead follow this mechanism: Hard-coded shared secrets are difficult to revoke and expose production access through the build chain. The targeted correction is: Use a supported secret vault or workload identity with access policies and rotation.
Shared high-privilege accounts prevent reliable accountability and amplify compromise blast radius. The reported symptoms instead follow this mechanism: Hard-coded shared secrets are difficult to revoke and expose production access through the build chain. The targeted correction is: Use a supported secret vault or workload identity with access policies and rotation.
Shared identities blur authorization and auditability across independent agent workloads. The reported symptoms instead follow this mechanism: Hard-coded shared secrets are difficult to revoke and expose production access through the build chain. The targeted correction is: Use a supported secret vault or workload identity with access policies and rotation.