Question 30
A Terraform associate evaluates: A shared infrastructure repository needs to distinguish proposal, review and application stages. Select TWO complementary responses: the appropriate action AND direct evidence it worked.
Explanation
Correct Answers
The observed situation is: A shared infrastructure repository needs to distinguish proposal, review and application stages. The acceptance evidence is: A change request shows the exact HCL diff, plan impact, reviewer approval and applied commit. It verifies the corrective approach (Store infrastructure configuration in version control and require reviewed pull requests and an examined Terraform plan before production apply.) and controls the risk: Unreviewed console edits or direct branch pushes hide change intent and can produce outages without an audit trail. Checking an unrelated Terraform setting would not prove the stated requirement was met.
The case says: A shared infrastructure repository needs to distinguish proposal, review and application stages. The directly relevant Terraform response is: Store infrastructure configuration in version control and require reviewed pull requests and an examined Terraform plan before production apply. This addresses the related failure mode: Unreviewed console edits or direct branch pushes hide change intent and can produce outages without an audit trail. Validate the result by checking: A change request shows the exact HCL diff, plan impact, reviewer approval and applied commit. The selection matches this objective, rather than a different Terraform administration task.
Incorrect Answers
Each provider validates supported schemas and the resulting plan reflects actual platform-specific capabilities. That addresses Provider-specific capabilities within shared Terraform workflow (official objective 1c), specifically the hazard that a unified Terraform CLI does not imply different cloud platforms offer identical resource semantics or names. Here the necessary action or evidence is the paired action A change request shows the exact HCL diff, plan impact, reviewer approval and applied commit and separate validation Store infrastructure configuration in version control and require reviewed pull requests and an examined Terraform plan before production apply, not that separate control.
Assuming HCL is a sequence of shell commands leads to faulty expectations about ordering and repeat runs. This addresses Desired state versus procedural scripts (official objective 1a). The separate hazard is that assuming HCL is a sequence of shell commands leads to faulty expectations about ordering and repeat runs. It does not by itself satisfy the case-specific requirement for Code review and change traceability.
Use reviewed reusable Terraform configuration with explicit variables to reproduce equivalent environment topologies while separating environment-specific values. This does not provide the required Code review and change traceability action-and-evidence pair.