Question 230
A controlled test for Bayview Systems focuses on the original failure: An engineer reads the plan's plus and minus indicators as simple text decoration and misses resource destruction. Which observation best confirms that the proposed correction worked?
Explanation
Correct Answer
A deliberately removed resource is identified as a destroy action in the review record. This directly verifies the corrective action: Interpret plan action symbols and the resource-specific reasons for changes before approval. The measured result specifically addresses the failure at Bayview Systems: An engineer reads the plan's plus and minus indicators as simple text decoration and misses resource destruction.
Incorrect Answers
After import, terraform state show maps the address to the existing remote ID and the plan avoids a duplicate create. This evidence would validate a DIFFERENT correction: Import the existing remote object to the matching Terraform resource address and ensure configuration matches its desired attributes. That different correction addresses: A team adopts an existing cloud network into Terraform and assumes adding a resource block is sufficient for the existing remote object to enter state. It does not establish that the Bayview Systems issue has been corrected: An engineer reads the plan's plus and minus indicators as simple text decoration and misses resource destruction. The relevant measured outcome is: A deliberately removed resource is identified as a destroy action in the review record.
The missing variable reference is rejected by validation and a corrected module passes without apply. This evidence would validate a DIFFERENT correction: Validate the module within an initialized configuration and fix variable declarations or references. That different correction addresses: A child module contains an undeclared variable reference but is never checked until a production deployment. It does not establish that the Bayview Systems issue has been corrected: An engineer reads the plan's plus and minus indicators as simple text decoration and misses resource destruction. The relevant measured outcome is: A deliberately removed resource is identified as a destroy action in the review record.
The default local run produces a local state file while the configured shared run reads the expected remote state instead. This evidence would validate a DIFFERENT correction: Identify the default local backend behavior and explicitly configure a suitable shared backend when collaboration is required. That different correction addresses: A new Terraform root module writes terraform.tfstate to the developer's laptop but its team assumes state is already centrally shared. It does not establish that the Bayview Systems issue has been corrected: An engineer reads the plan's plus and minus indicators as simple text decoration and misses resource destruction. The relevant measured outcome is: A deliberately removed resource is identified as a destroy action in the review record.