Question 430
At Northbridge Manufacturing IT, an authorized infrastructure engineering team manages a Terraform 1.12 and HCP Terraform environment. The team encounters the following situation: a temporary analytics stack includes an object store that contains records under legal retention and the team assumes destroy will preserve them. Choose the technically best Terraform Associate 004 practice response to this particular infrastructure case. What mechanism explains why the original approach fails?
Explanation
Correct Answer
Destroying managed infrastructure can delete underlying data depending on resource behavior and provider settings. That mechanism distinguishes destroy review with retained external data in the Northbridge Manufacturing IT case. The corresponding appropriate correction is: Separate or explicitly protect retention-governed data resources before a reviewed teardown. The measurable acceptance test is: The approved plan excludes retained records and removes only permitted temporary resources.
Incorrect Answers
This alternative is valid when destroy is intended to remove resources tracked by the target root configuration and state. The facts here establish a different controlling reason: Destroying managed infrastructure can delete underlying data depending on resource behavior and provider settings.
“Concurrent writers can corrupt shared state or make conflicting infrastructure changes” reflects the mechanism: Concurrent writers can corrupt shared state or make conflicting infrastructure changes. The actual reported symptoms are better explained by: Destroying managed infrastructure can delete underlying data depending on resource behavior and provider settings.
This alternative is valid when variables let callers customize a module without editing its internal code. The facts here establish a different controlling reason: Destroying managed infrastructure can delete underlying data depending on resource behavior and provider settings.