New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Terraform-Associate-004 Exam - Topic 6 Question 3 Discussion

Actual exam question for HashiCorp's Terraform-Associate-004 exam
Question #: 3
Topic #: 6
[All Terraform-Associate-004 Questions]

What is a key benefit of the Terraform state file?

Show Suggested Answer Hide Answer
Suggested Answer: B

This is a key benefit of the Terraform state file, as it stores and tracks the metadata and attributes of the resources that are managed by Terraform, and allows Terraform to compare the current state with the desired state expressed by your configuration files.


Contribute your Thoughts:

0/2000 characters
Rory
7 days ago
I remember practicing a question about the state file being the source of truth for resources, so I think option B sounds right.
upvoted 0 times
...
Aleta
12 days ago
I think the state file is important because it keeps track of what Terraform has created, but I'm not sure if it's the source of truth or just a record.
upvoted 0 times
...
Berry
18 days ago
I'm not totally sure about this one. I know the state file is important, but I'm not sure if it's for scheduling tasks or being a source of truth. I'll have to think about it some more.
upvoted 0 times
...
Laquanda
23 days ago
I'm pretty confident that the correct answer is B. The state file is the central record of the infrastructure that Terraform manages, so it's the source of truth.
upvoted 0 times
...
Cortney
28 days ago
Okay, let me think this through. The state file represents the desired state expressed by the Terraform code files, so I'm going to go with option D.
upvoted 0 times
...
Kirk
1 month ago
Hmm, I'm a bit confused. Is it option C - that the state file is a source of truth for resources provisioned with a public cloud console? I'm not sure about that one.
upvoted 0 times
...
Jenelle
1 month ago
I think the key benefit is that the state file is a source of truth for the resources provisioned with Terraform. That's option B, right?
upvoted 0 times
...

Save Cancel