Question 620
An acceptance reviewer at Pinecrest Cloud Engineering must validate the fix for: A backend stores state in a cloud account but the team embeds storage credentials directly in tracked backend configuration. Which controlled check would validate the remediation?
Explanation
Correct Answer
Initialization authenticates with authorized credentials and a repository scan finds no embedded secret values. This directly verifies the corrective action: Use a supported secure backend authentication mechanism and keep sensitive backend parameters out of VCS. The measured result specifically addresses the failure at Pinecrest Cloud Engineering: A backend stores state in a cloud account but the team embeds storage credentials directly in tracked backend configuration.
Incorrect Answers
Local state is excluded from email and public repositories while approved backup recovery succeeds. This evidence would validate a DIFFERENT correction: Protect local state as potentially sensitive and restrict access and backups rather than distributing it freely. That different correction addresses: A security reviewer sees a local terraform.tfstate file and treats it as safe to email because no passwords were intentionally output. It does not establish that the Pinecrest Cloud Engineering issue has been corrected: A backend stores state in a cloud account but the team embeds storage credentials directly in tracked backend configuration. The relevant measured outcome is: Initialization authenticates with authorized credentials and a repository scan finds no embedded secret values.
Two clean initializations retrieve the same approved source revision. This evidence would validate a DIFFERENT correction: Pin the Git module source to a reviewed commit or immutable release tag. That different correction addresses: A Git-based module source points to a mutable main branch and production plans change without a reviewed module upgrade. It does not establish that the Pinecrest Cloud Engineering issue has been corrected: A backend stores state in a cloud account but the team embeds storage credentials directly in tracked backend configuration. The relevant measured outcome is: Initialization authenticates with authorized credentials and a repository scan finds no embedded secret values.
The resulting lock-file selection matches constraints and validation runs with the chosen provider version. This evidence would validate a DIFFERENT correction: Run initialization with a reviewed version selection and reconcile constraints rather than manually copying old plugins. That different correction addresses: A shared cache contains provider binary versions that do not satisfy updated required_providers constraints. It does not establish that the Pinecrest Cloud Engineering issue has been corrected: A backend stores state in a cloud account but the team embeds storage credentials directly in tracked backend configuration. The relevant measured outcome is: Initialization authenticates with authorized credentials and a repository scan finds no embedded secret values.