nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #224

A Terraform backend determines how Terraform loads state and stores updates when you execute which command?

The correct answer is C. Both of these are correct. A Terraform backend determines where and how Terraform state is stored. Both terraform apply and terraform destroy interact with state, so Terraform needs access to the backend for state storage and updates. D (Neither are correct) is incorrect because Terraform state is…

Implement and Maintain State

Question

A Terraform backend determines how Terraform loads state and stores updates when you execute which command?

Options

  • Aapply
  • Bdestroy
  • CBoth of these are correct.
  • DNeither of these are correct.

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    4% (1)
  • C
    83% (19)
  • D
    4% (1)

Explanation

A Terraform backend determines where and how Terraform state is stored. Both terraform apply and terraform destroy interact with state, so Terraform needs access to the backend for state storage and updates. D (Neither are correct) is incorrect because Terraform state is required for both apply and destroy

Topics

#terraform backend#state storage#terraform apply#terraform destroy

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice