Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Exam Terraform-Associate-003 Topic 7 Question 10 Discussion

Actual exam question for HashiCorp's Terraform-Associate-003 exam
Question #: 10
Topic #: 7
[All Terraform-Associate-003 Questions]

Where does the Terraform local backend store its state?

Show Suggested Answer Hide Answer
Suggested Answer: D

You should runterraform initafter you start coding a new Terraform project and before you runterraform planfor the first time. This command will initialize the working directory by downloading the required providers and modules, creating the initial state file, and performing other necessary tasks.Reference= : Initialize a Terraform Project


Contribute your Thoughts:

Micheal
4 hours ago
I thought the state was stored in the user's home directory, not in the /tmp directory. Option D is the way to go.
upvoted 0 times
...
Dorthy
6 days ago
Option C is the correct answer. The Terraform local backend stores its state in the terraform.tfstate file.
upvoted 0 times
...
Kayleigh
8 days ago
I'm not sure, but I think it might be stored in the /tmp directory temporarily before being saved to the terraform.tfstate file.
upvoted 0 times
...
Francis
10 days ago
I agree with Gabriele, the state is stored in the terraform.tfstate file because it tracks the current state of the infrastructure.
upvoted 0 times
...
Gabriele
13 days ago
I think the Terraform local backend stores its state in the terraform.tfstate file.
upvoted 0 times
...

Save Cancel