HashiCorp Certified: Terraform Associate — Question 276
Where does the Terraform local backend store its state?
Answer options
- A. In the /tmp directory
- B. In the terraform file
- C. In the terraform.tfstate file
- D. In the user's terraform.state file
Correct answer: C
Explanation
The correct answer is C, as the Terraform local backend specifically stores its state in the terraform.tfstate file. Options A and D are incorrect because they refer to incorrect locations, while option B suggests a general file that does not pertain to state storage.