Question 140
An acceptance reviewer at Pinecrest Cloud Engineering must validate the fix for: A teammate wants to commit terraform.tfstate to a public repository because state contains only harmless resource names. Which controlled check would validate the remediation?
Explanation
Correct Answer
Repository scanning finds no state artifact and only authorized identities can read stored state. This directly verifies the corrective action: Treat state as potentially sensitive, keep it out of public version control, and store it in a controlled backend. The measured result specifically addresses the failure at Pinecrest Cloud Engineering: A teammate wants to commit terraform.tfstate to a public repository because state contains only harmless resource names.
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 Pinecrest Cloud Engineering issue has been corrected: A teammate wants to commit terraform.tfstate to a public repository because state contains only harmless resource names. The relevant measured outcome is: Repository scanning finds no state artifact and only authorized identities can read stored state.
Plans for the primary and recovery modules target different documented regions or accounts. This evidence would validate a DIFFERENT correction: Create dedicated primary and recovery aliases and map each child module to its expected configuration. That different correction addresses: A root configuration uses the same provider family for primary and recovery sites, but both modules inherit the default provider by accident. It does not establish that the Pinecrest Cloud Engineering issue has been corrected: A teammate wants to commit terraform.tfstate to a public repository because state contains only harmless resource names. The relevant measured outcome is: Repository scanning finds no state artifact and only authorized identities can read stored state.
terraform validate succeeds and both condition paths evaluate to the expected type. This evidence would validate a DIFFERENT correction: Make both branches return compatible types and keep the condition a Boolean expression. That different correction addresses: An operator uses a conditional expression with incompatible branch value types and receives a configuration type error. It does not establish that the Pinecrest Cloud Engineering issue has been corrected: A teammate wants to commit terraform.tfstate to a public repository because state contains only harmless resource names. The relevant measured outcome is: Repository scanning finds no state artifact and only authorized identities can read stored state.