Question 290
A cloud team must explain which code changes produced an infrastructure release and who authorized them. Recently, The release tag points to a shared working directory with files that were never committed to source control. Which ongoing control would best prevent a recurrence?
Explanation
Correct Answer
This control helps prevent the release tag points to a shared working directory with files that were never committed to source control. It matters because commits and merge history provide reproducibility and accountability for changes.
Incorrect Answers
Version-control gates make reviewed history the source for production automation. “Enforce branch protection and record reviewer approval for infrastructure changes” would address that alternative cause, not the condition in this question: commits and merge history provide reproducibility and accountability for changes.
“Limit out-of-band writes and trigger drift scans after deployments” responds to this separate finding: actual resources and versioned declarations no longer agree. This question instead needs “Prohibit release builds from dirty workspaces and retain artifact-to-commit attestations”, so the alternative does not meet the stated condition.
CI/CD automation also needs least privilege because pipelines can become an attack path. “Use separate build and deploy identities with scoped, expiring credentials” applies to that separate problem. The observed case is a cloud team must explain which code changes produced an infrastructure release and who authorized them; choosing this alternative would address the wrong failure mode.