Question 40
A Terraform associate evaluates: An engineering group needs predictable infrastructure changes across multiple project environments. Select TWO complementary responses: the appropriate action AND direct evidence it worked.
Explanation
Correct Answers
The observed situation is: An engineering group needs predictable infrastructure changes across multiple project environments. The acceptance evidence is: Dev and staging plans reveal the same intended resource structure with deliberate differences documented in inputs. It verifies the corrective approach (Use reviewed reusable Terraform configuration with explicit variables to reproduce equivalent environment topologies while separating environment-specific values.) and controls the risk: Copying manual settings into several environments creates configuration drift and inconsistent controls. Checking an unrelated Terraform setting would not prove the stated requirement was met.
The case says: An engineering group needs predictable infrastructure changes across multiple project environments. The directly relevant Terraform response is: Use reviewed reusable Terraform configuration with explicit variables to reproduce equivalent environment topologies while separating environment-specific values. This addresses the related failure mode: Copying manual settings into several environments creates configuration drift and inconsistent controls. Validate the result by checking: Dev and staging plans reveal the same intended resource structure with deliberate differences documented in inputs. The selection matches this objective, rather than a different Terraform administration task.
Incorrect Answers
Store infrastructure configuration in version control and require reviewed pull requests and an examined Terraform plan before production apply. That addresses Code review and change traceability (official objective 1b), specifically the hazard that unreviewed console edits or direct branch pushes hide change intent and can produce outages without an audit trail. Here the necessary action or evidence is the paired action Dev and staging plans reveal the same intended resource structure with deliberate differences documented in inputs and separate validation Use reviewed reusable Terraform configuration with explicit variables to reproduce equivalent environment topologies while separating environment-specific values, not that separate control.
A unified Terraform CLI does not imply different cloud platforms offer identical resource semantics or names. This addresses Provider-specific capabilities within shared Terraform workflow (official objective 1c). The separate hazard is that a unified Terraform CLI does not imply different cloud platforms offer identical resource semantics or names. It does not by itself satisfy the case-specific requirement for Repeatability and environment consistency.
Changing a resource argument produces a resource graph plan based on current state and dependency references. This does not provide the required Repeatability and environment consistency action-and-evidence pair.