Question 200
Northgate IT Platforms requires independent evidence before signing off this Terraform correction: A developer assumes terraform init will automatically fix invalid HCL expressions inside resource definitions. Which controlled check would validate the remediation?
Explanation
Correct Answer
Init resolves plugins but invalid expressions still produce the expected validation diagnostics. This directly verifies the corrective action: Initialize dependencies separately, then use terraform validate to find configuration errors. The measured result specifically addresses the failure at Northgate IT Platforms: A developer assumes terraform init will automatically fix invalid HCL expressions inside resource definitions.
Incorrect Answers
Concurrent plans or applies operate on the same current state without overwriting an intervening state update. This evidence would validate a DIFFERENT correction: Use an appropriately configured shared backend with state locking and controlled access. That different correction addresses: A project shares one unmanaged state file among two engineers, causing each to overwrite the other's latest changes. It does not establish that the Northgate IT Platforms issue has been corrected: A developer assumes terraform init will automatically fix invalid HCL expressions inside resource definitions. The relevant measured outcome is: Init resolves plugins but invalid expressions still produce the expected validation diagnostics.
The reviewer can locate the resource definitions in a reviewed repository and compare their planned result with the deployed environment. This evidence would validate a DIFFERENT correction: Use declarative Terraform code to record the intended infrastructure state rather than relying on current-state screenshots. That different correction addresses: An audit asks for the desired infrastructure configuration, but the team offers only screenshots of resources that currently exist. It does not establish that the Northgate IT Platforms issue has been corrected: A developer assumes terraform init will automatically fix invalid HCL expressions inside resource definitions. The relevant measured outcome is: Init resolves plugins but invalid expressions still produce the expected validation diagnostics.
The reviewed plan addresses the intended environment and matches its documented variable values. This evidence would validate a DIFFERENT correction: Supply the approved environment's input variables to planning and record the chosen workspace/backend. That different correction addresses: A deployment pipeline runs terraform plan with an old variable set and receives a plan for the wrong environment. It does not establish that the Northgate IT Platforms issue has been corrected: A developer assumes terraform init will automatically fix invalid HCL expressions inside resource definitions. The relevant measured outcome is: Init resolves plugins but invalid expressions still produce the expected validation diagnostics.