Question 1120
At Kingshade Logistics Networks, an authorized infrastructure engineering team manages a Terraform 1.12 and HCP Terraform environment. The team encounters the following situation: a production firewall rule changes outside Terraform but the team sees no signal until its next manual plan. Choose the technically best Terraform Associate 004 practice response to this particular infrastructure case. Which operational control addresses the risk long term?
Explanation
Correct Answer
Triage drift alerts and reconcile through approved configuration changes. This control addresses drift detection for cloud resources because scheduled drift checks can identify differences between managed infrastructure and declared state. The original implementation remedy remains: Enable and review HCP Terraform drift detection where available.
Incorrect Answers
“Maintain ownership and scope for shared variable sets” addresses a different recurring failure: Variable sets allow centrally managed common variables without repetitive per-workspace copies. For the condition in this question, maintain “Triage drift alerts and reconcile through approved configuration changes” because scheduled drift checks can identify differences between managed infrastructure and declared state.
That review protects the control associated with: VCS-driven workflows can trigger plans from reviewed repository changes. It does not directly prevent the stated recurrence, which concerns: Scheduled drift checks can identify differences between managed infrastructure and declared state. The appropriate guardrail is “Triage drift alerts and reconcile through approved configuration changes”.
This safeguard is for the dependency described by: Terraform installs modules during initialization and may still have the old source cached. The continuing risk here is determined by: Scheduled drift checks can identify differences between managed infrastructure and declared state. The targeted safeguard is “Triage drift alerts and reconcile through approved configuration changes”.