Question 530
A Terraform associate evaluates: A project plans to move its locally managed resources into an approved remote backend. Select TWO complementary responses: the appropriate action AND direct evidence it worked.
Explanation
Correct Answers
The case says: A project plans to move its locally managed resources into an approved remote backend. The directly relevant Terraform response is: Recognize the default local backend stores Terraform state in local files and requires careful handling for team use. This addresses the related failure mode: Local state stored only on one laptop is hard for a team to coordinate and can be lost or leaked. Validate the result by checking: A new local configuration has its state file on disk, and team requirements indicate whether remote storage is needed. The selection matches this objective, rather than a different Terraform administration task.
The observed situation is: A project plans to move its locally managed resources into an approved remote backend. The acceptance evidence is: A new local configuration has its state file on disk, and team requirements indicate whether remote storage is needed. It verifies the corrective approach (Recognize the default local backend stores Terraform state in local files and requires careful handling for team use.) and controls the risk: Local state stored only on one laptop is hard for a team to coordinate and can be lost or leaked. Checking an unrelated Terraform setting would not prove the stated requirement was met.
Incorrect Answers
An existing resource remains bound after backend migration and the remote backend contains the intended state snapshot. This belongs to Remote backend configuration and migration (official objective 6c). Its separate risk is that changing only backend text without init and migration risks disconnected state or unintended resource recreation. The question instead tests Default local backend state storage; that other safeguard alone does not verify it.
Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action. That addresses Detect and review out-of-band drift (official objective 6d), specifically the hazard that assuming configuration and infrastructure remain identical can hide unapproved console edits. Here the necessary action or evidence is the paired action Recognize the default local backend stores Terraform state in local files and requires careful handling for team use and separate validation A new local configuration has its state file on disk, and team requirements indicate whether remote storage is needed, not that separate control.
Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. This addresses Refresh-only planning and state synchronization (official objective 6d). The separate hazard is that confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. It does not by itself satisfy the case-specific requirement for Default local backend state storage.