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 Terraform-Associate-004 Exam - Topic 6 Question 3 Discussion

What is a key benefit of the Terraform state file?
B) A state file is a source of truth for resources provisioned with Terraform
A) A state file can schedule recurring infrastructure tasks
C) A state file is a source of truth for resources provisioned with a public cloud console
D) A state file is the desired state expressed by the Terraform code files

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
Tiffiny
27 days ago
D is also true, but B is the key benefit.
upvoted 0 times
...
Estrella
1 month ago
Wait, is C really a thing? That sounds off.
upvoted 0 times
...
Amber
1 month ago
I thought it was A at first, but B makes more sense.
upvoted 0 times
...
Jenelle
1 month ago
B is definitely the right answer!
upvoted 0 times
...
Raymon
2 months ago
A state file is like a crystal ball for your infrastructure. It shows you exactly what you've built and where it all is.
upvoted 0 times
...
Vonda
2 months ago
B) is the correct answer. The state file is the key to Terraform's magic. It's the bridge between your code and the real world.
upvoted 0 times
...
Joye
2 months ago
Hmm, I thought the state file was used to schedule infrastructure tasks. Guess I need to brush up on my Terraform knowledge.
upvoted 0 times
...
Alyssa
2 months ago
D) A state file is the desired state expressed by the Terraform code files. That's the whole point of Terraform, right?
upvoted 0 times
...
Keneth
2 months ago
The state file is like a map that keeps track of all the infrastructure you've built with Terraform. It's the single source of truth, so you always know what's out there.
upvoted 0 times
...
Kerry
2 months ago
B) A state file is a source of truth for resources provisioned with Terraform.
upvoted 0 times
...
Ashton
3 months ago
I definitely remember that the state file is crucial for managing infrastructure, but I’m confused about whether it relates to public cloud consoles or not.
upvoted 0 times
...
Janet
3 months ago
I feel like the state file does represent the desired state, but I can't recall if that's the main benefit.
upvoted 0 times
...
Rory
4 months 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
4 months 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
4 months 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
4 months 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
4 months 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
4 months 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
5 months 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