Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 42

Where does the Terraform local backend store its state?

    Correct Answer: C

    The local backend in Terraform stores its state in a file named terraform.tfstate. This file resides in the root directory of the Terraform project and contains a detailed representation of the managed infrastructure. Terraform uses this state file to map real-world resources to your configuration, keep track of metadata, and improve performance for large infrastructures.

Discussion
mav3r1ckOption: C

C. https://www.terraform.io/language/settings/backends/local

gekkehenkOption: C

The local backend stores state on the local filesystem, locks that state using system APIs, and performs operations locally. https://developer.hashicorp.com/terraform/language/settings/backends/local

090200fOption: C

terraform.tfstate , C is the correct ans

Ni33Option: C

C is the correct answer

Ni33Option: C

C is the correct answer.

Power123Option: C

C. terraform.tfstate

samkobadevOption: C

C. .tfstate file

kennynelconOption: C

C state.tf file

root_i_amOption: C

The state is stored in the terraform.tfstate file in the root directory of the terraform project