Question 10
A Terraform associate evaluates: Engineers need a single shared source for what a newly built environment should contain. Select TWO complementary responses: the appropriate action AND direct evidence it worked.
Explanation
Correct Answers
The case says: Engineers need a single shared source for what a newly built environment should contain. The directly relevant Terraform response is: Describe the desired resource state in versioned Terraform configuration and let providers reconcile managed objects during plan and apply. This addresses the related failure mode: A sequence of manual console clicks has no consistent declared target and is hard to reproduce. Validate the result by checking: A fresh environment can be provisioned from reviewed configuration and its planned changes are inspectable. The selection matches this objective, rather than a different Terraform administration task.
The observed situation is: Engineers need a single shared source for what a newly built environment should contain. The acceptance evidence is: A fresh environment can be provisioned from reviewed configuration and its planned changes are inspectable. It verifies the corrective approach (Describe the desired resource state in versioned Terraform configuration and let providers reconcile managed objects during plan and apply.) and controls the risk: A sequence of manual console clicks has no consistent declared target and is hard to reproduce. Checking an unrelated Terraform setting would not prove the stated requirement was met.
Incorrect Answers
Dev and staging plans reveal the same intended resource structure with deliberate differences documented in inputs. This is relevant to Repeatability and environment consistency (official objective 1b). Its distinct failure risk is that copying manual settings into several environments creates configuration drift and inconsistent controls. The present question tests Declarative infrastructure configuration, which this measure alone does not establish.
Assuming a single cloud plugin can manage every unrelated service prevents Terraform from addressing required APIs. That is the exact risk associated with Multi-provider orchestration (official objective 1c), not the required Declarative infrastructure configuration outcome.
Treat Terraform configuration as desired state and inspect the execution plan instead of assuming each line is executed as an imperative shell instruction. 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 Declarative infrastructure configuration.