Question 140
An automation job provisions a production subnet and gateway from a revised JSON template. Recently, A malformed CIDR range reaches production because no validation ran before the automated apply. Which ongoing control would best prevent a recurrence?
Explanation
Correct Answer
This control helps prevent a malformed CIDR range reaches production because no validation ran before the automated apply. It matters because configuration files are executable deployment intent and require preflight checks.
Incorrect Answers
Actual resources and versioned declarations no longer agree. “Limit out-of-band writes and trigger drift scans after deployments” would address that alternative cause, not the condition in this question: no validation ran before the automated apply.
“Gate configuration changes in review and schedule convergence checks for drift” responds to this separate finding: configuration-as-code targets operating-system and software state consistently across hosts. This question instead needs “Enforce test-and-approval gates for infrastructure commits and preserve versioned rollback artifacts”, so the alternative does not meet the stated condition.
Version-control gates make reviewed history the source for production automation. “Enforce branch protection and record reviewer approval for infrastructure changes” applies to that separate problem. The observed case is an automation job provisions a production subnet and gateway from a revised JSON template; choosing this alternative would address the wrong failure mode.