TA-002-P · Question #62
TA-002-P Question #62: Real Exam Question with Answer & Explanation
The correct answer is A: Terraform.tfstate. By default, Terraform stores its state in a file named 'terraform.tfstate' in the current working directory, which tracks the mapping between configuration resources and real-world infrastructure.
Question
FILL BLANK 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.
Options
- ATerraform.tfstate
Explanation
By default, Terraform stores its state in a file named 'terraform.tfstate' in the current working directory, which tracks the mapping between configuration resources and real-world infrastructure.
Concept tested. Terraform default state file
Reference. https://developer.hashicorp.com/terraform/language/state
Topics
Community Discussion
No community discussion yet for this question.