Question 50
A Terraform associate evaluates: A team wants consistent infrastructure workflows without requiring every provider to share one API. Select TWO complementary responses: the appropriate action AND direct evidence it worked.
Explanation
Correct Answers
The observed situation is: A team wants consistent infrastructure workflows without requiring every provider to share one API. The acceptance evidence is: The plan separately resolves resources through their declared providers and builds any cross-provider dependency graph. It verifies the corrective approach (Declare the appropriate required providers and configure their connections so one Terraform root module can manage resources across supported platforms.) and controls the risk: Assuming a single cloud plugin can manage every unrelated service prevents Terraform from addressing required APIs. Checking an unrelated Terraform setting would not prove the stated requirement was met.
The case says: A team wants consistent infrastructure workflows without requiring every provider to share one API. The directly relevant Terraform response is: Declare the appropriate required providers and configure their connections so one Terraform root module can manage resources across supported platforms. This addresses the related failure mode: Assuming a single cloud plugin can manage every unrelated service prevents Terraform from addressing required APIs. Validate the result by checking: The plan separately resolves resources through their declared providers and builds any cross-provider dependency graph. The selection matches this objective, rather than a different Terraform administration task.
Incorrect Answers
Use Terraform's common configuration, plan and apply workflow while checking each provider's supported resource types and arguments independently. This belongs to Provider-specific capabilities within shared Terraform workflow (official objective 1c). Its separate risk is that a unified Terraform CLI does not imply different cloud platforms offer identical resource semantics or names. The question instead tests Multi-provider orchestration; that other safeguard alone does not verify it.
Dev and staging plans reveal the same intended resource structure with deliberate differences documented in inputs. This addresses Repeatability and environment consistency (official objective 1b). The separate hazard is that copying manual settings into several environments creates configuration drift and inconsistent controls. It does not by itself satisfy the case-specific requirement for Multi-provider orchestration.
Assuming HCL is a sequence of shell commands leads to faulty expectations about ordering and repeat runs. This does not provide the required Multi-provider orchestration action-and-evidence pair.