Question 270
During a routine project audit, engineers discover two unrelated control gaps. The two changes apply to different resources. One open item requires that an operator must validate Terraform syntax before planning. A second open item requires that a security review needs the difference between desired and deployed Terraform. Which ordered remediation addresses the first gap and then the second gap?
Explanation
Correct Answer
Terraform validate checks configuration validity. Plan reveals proposed reconciliation against known state.
Incorrect Answers
Both requirements remain unmet: Restarting VMs does not validate IaC code; DNS resolution does not inspect Terraform drift.
The first action is valid: Terraform validate checks configuration validity. But the second fails: DNS resolution does not inspect Terraform drift.
The second action is valid: Plan reveals proposed reconciliation against known state. But the first fails: Restarting VMs does not validate IaC code.