Question 660
A controlled test for Westfield Digital Systems focuses on the original failure: 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. Which controlled check would validate the remediation?
Explanation
Correct Answer
After import, terraform state show maps the address to the existing remote ID and the plan avoids a duplicate create. This directly verifies the corrective action: Import the existing remote object to the matching Terraform resource address and ensure configuration matches its desired attributes. The measured result specifically addresses the failure at Westfield Digital Systems: 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.
Incorrect Answers
The failure can be diagnosed from redacted logs and no plaintext credential appears in the support ticket. This evidence would validate a DIFFERENT correction: Use controlled Terraform log settings and documented provider diagnostic methods without exposing credentials. That different correction addresses: An engineer attempts to debug a provider authentication issue by printing private keys directly in application code instead of using Terraform diagnostics. It does not establish that the Westfield Digital Systems issue has been corrected: 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. The relevant measured outcome is: After import, terraform state show maps the address to the existing remote ID and the plan avoids a duplicate create.
Lock recovery references the correct stale lock and an unrelated active lock remains protected. This evidence would validate a DIFFERENT correction: Treat the identifier as a diagnostic for the specific lock and use authorized administrative recovery procedures only when needed. That different correction addresses: An operator treats the lock identifier printed by Terraform as a reusable password and sends it to every teammate. It does not establish that the Westfield Digital Systems issue has been corrected: 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. The relevant measured outcome is: After import, terraform state show maps the address to the existing remote ID and the plan avoids a duplicate create.
The graph preserves required ordering while unrelated resources can still plan independently. This evidence would validate a DIFFERENT correction: Prefer implicit dependencies through real references and reserve depends_on for hidden behavior dependencies. That different correction addresses: A dependency is already expressed by a resource attribute but a developer adds depends_on to every unrelated module, producing excessive ordering. It does not establish that the Westfield Digital Systems issue has been corrected: 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. The relevant measured outcome is: After import, terraform state show maps the address to the existing remote ID and the plan avoids a duplicate create.