Question 580
The reliability team at Mariner Infrastructure Group is closing an incident described as follows: A security reviewer sees a local terraform.tfstate file and treats it as safe to email because no passwords were intentionally output. Which controlled check would validate the remediation?
Explanation
Correct Answer
Local state is excluded from email and public repositories while approved backup recovery succeeds. This directly verifies the corrective action: Protect local state as potentially sensitive and restrict access and backups rather than distributing it freely. The measured result specifically addresses the failure at Mariner Infrastructure Group: A security reviewer sees a local terraform.tfstate file and treats it as safe to email because no passwords were intentionally output.
Incorrect Answers
A simulated pair of runs does not perform simultaneous unsafe state writes. This evidence would validate a DIFFERENT correction: Verify the selected backend's documented locking support and add an execution serialization control if necessary. That different correction addresses: A repository uses a remote backend that does not implement locking, but a team claims every remote backend automatically prevents concurrent applies. It does not establish that the Mariner Infrastructure Group issue has been corrected: A security reviewer sees a local terraform.tfstate file and treats it as safe to email because no passwords were intentionally output. The relevant measured outcome is: Local state is excluded from email and public repositories while approved backup recovery succeeds.
The applications use the same reviewed module interface while each plan creates its own correctly parameterized resources. This evidence would validate a DIFFERENT correction: Build a reusable child module for the shared networking pattern and invoke it with documented application inputs. That different correction addresses: A service team duplicates a networking subnet and routing configuration across five applications. It does not establish that the Mariner Infrastructure Group issue has been corrected: A security reviewer sees a local terraform.tfstate file and treats it as safe to email because no passwords were intentionally output. The relevant measured outcome is: Local state is excluded from email and public repositories while approved backup recovery succeeds.
Routine runs no longer produce trace output and incident-specific logging remains available when explicitly enabled. This evidence would validate a DIFFERENT correction: Disable verbose logging after troubleshooting and use the least verbose level that answers the incident question. That different correction addresses: A team leaves TF_LOG=TRACE enabled for every production run and creates large, potentially sensitive logs. It does not establish that the Mariner Infrastructure Group issue has been corrected: A security reviewer sees a local terraform.tfstate file and treats it as safe to email because no passwords were intentionally output. The relevant measured outcome is: Local state is excluded from email and public repositories while approved backup recovery succeeds.