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 7 Question 16 Discussion

Posted by Graham on Sep 28, 2026 at 08:48 PM

What is the name of the default file where Terraform stores the state?

Type your answer in the field provided. The text field is not case-sensitive and all variations of the correct answer are accepted.

Suggested Answer: A

The name of the default file where Terraform stores the state isterraform.tfstate. This file contains a JSON representation of the current state of the infrastructure managed by Terraform. Terraform uses this file to track the metadata and attributes of the resources, and to plan and apply changes. By default, Terraform stores the state file locally in the same directory as the configuration files, but it can also be configured to store the state remotely in a backend.Reference= [Terraform State], [State File Format]


Get Premium Terraform-Associate-004 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
10 comments · newest first
AL
Allene 4 hours ago
It's called terraform.tfstate!
MA
Marguerita 5 days ago
Definitely terraform.tfstate, no doubt about it!
NO
Norah 11 days ago
Wait, is that really the default? Seems a bit long.
TR
Trinidad 16 days ago
I thought it was just tfstate, but I guess it's terraform.tfstate.
CH
Christiane 21 days ago
Yeah, that's right!
JO
Joaquin 26 days ago
It's called terraform.tfstate!
AL
Alesia 1 month ago
I’m pretty confident it’s "terraform.tfstate," but I should double-check just to be safe.
CA
Candra 1 month ago
I feel like I might be mixing it up with another tool's state file name. Was it "terraform.tfstate" or something else?
MA
Martina 1 month ago
I remember practicing a question about Terraform state files, and I believe it was "terraform.tfstate" as well.
KR
Kristal 2 months ago
I think the default state file is called "terraform.tfstate," but I'm not entirely sure about the exact spelling.
0/2000 characters

Save Cancel