Question 280
The Terraform change owner at Redwood Application Group seeks a verifiable outcome for: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. Which controlled check would validate the remediation?
Explanation
Correct Answer
The review identifies the protected database and prevents unauthorized data destruction. This directly verifies the corrective action: Review destroy implications and lifecycle/retention controls before decommissioning managed data services. The measured result specifically addresses the failure at Redwood Application Group: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database.
Incorrect Answers
Workspaces appear in the intended projects and project-scoped permissions match ownership. This evidence would validate a DIFFERENT correction: Group related workspaces into HCP Terraform projects aligned to the owning teams or business units. That different correction addresses: An HCP Terraform organization has dozens of workspaces with different business owners but no grouping or permission boundary. It does not establish that the Redwood Application Group issue has been corrected: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The relevant measured outcome is: The review identifies the protected database and prevents unauthorized data destruction.
The new module and provider dependencies resolve and appear in the planned graph. This evidence would validate a DIFFERENT correction: Reinitialize the working directory after changing provider/module installation requirements before planning. That different correction addresses: A team edits configuration during an infrastructure release but omits initialization after adding a new module dependency. It does not establish that the Redwood Application Group issue has been corrected: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The relevant measured outcome is: The review identifies the protected database and prevents unauthorized data destruction.
The output enumerates the expected managed addresses from the active state. This evidence would validate a DIFFERENT correction: Run terraform state list against the selected initialized backend and workspace. That different correction addresses: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. It does not establish that the Redwood Application Group issue has been corrected: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The relevant measured outcome is: The review identifies the protected database and prevents unauthorized data destruction.