nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #61

Where does the Terraform local backend store its state?

The correct answer is C. In the terraform,tfstate file. This is where the Terraform local backend stores its state, by default, unless you specify a different file name or location in your configuration. The local backend is the simplest backend type that stores the state file on your local disk.

Implement and Maintain State

Question

Where does the Terraform local backend store its state?

Options

  • AIn the terraform file
  • BIn the /tmp directory
  • CIn the terraform,tfstate file
  • DIn the user's terraform,state file

How the community answered

(38 responses)
  • A
    13% (5)
  • B
    3% (1)
  • C
    76% (29)
  • D
    8% (3)

Explanation

This is where the Terraform local backend stores its state, by default, unless you specify a different file name or location in your configuration. The local backend is the simplest backend type that stores the state file on your local disk.

Topics

#local backend#state storage#tfstate file#backend types

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice