Question 130
Parkside Technology Services requires independent evidence before signing off this Terraform correction: A root configuration uses the same provider family for primary and recovery sites, but both modules inherit the default provider by accident. Which observation best confirms that the proposed correction worked?
Explanation
Correct Answer
Plans for the primary and recovery modules target different documented regions or accounts. This directly verifies the corrective action: Create dedicated primary and recovery aliases and map each child module to its expected configuration. The measured result specifically addresses the failure at Parkside Technology Services: A root configuration uses the same provider family for primary and recovery sites, but both modules inherit the default provider by accident.
Incorrect Answers
terraform state list shows the intended addresses and the subsequent plan does not propose duplicate infrastructure. This evidence would validate a DIFFERENT correction: Recover the appropriate state backup or import existing resources to restore Terraform's address-to-remote-ID mapping. That different correction addresses: An engineer deletes local state after provisioning cloud resources and assumes Terraform will automatically remember the existing resource IDs. It does not establish that the Parkside Technology Services issue has been corrected: A root configuration uses the same provider family for primary and recovery sites, but both modules inherit the default provider by accident. The relevant measured outcome is: Plans for the primary and recovery modules target different documented regions or accounts.
The selected private log file captures the required diagnostics and is absent from public build artifacts. This evidence would validate a DIFFERENT correction: Use TF_LOG_PATH with an appropriate TF_LOG level and store the resulting diagnostic file securely. That different correction addresses: An engineer wants to write Terraform diagnostic output to a file but redirects all deployment console output into a public artifact. It does not establish that the Parkside Technology Services issue has been corrected: A root configuration uses the same provider family for primary and recovery sites, but both modules inherit the default provider by accident. The relevant measured outcome is: Plans for the primary and recovery modules target different documented regions or accounts.
The next authorized run acquires the lock without a competing state modification. This evidence would validate a DIFFERENT correction: Investigate the active lock holder and underlying backend health instead of bypassing normal locking. That different correction addresses: A Terraform job fails to acquire a state lock and its operator reaches immediately for -lock=false to continue in production. It does not establish that the Parkside Technology Services issue has been corrected: A root configuration uses the same provider family for primary and recovery sites, but both modules inherit the default provider by accident. The relevant measured outcome is: Plans for the primary and recovery modules target different documented regions or accounts.