TERRAFORM-ASSOCIATE-004 · Question #66
When using a remote backend or terraform Cloud integration, where does Terraform save resource sate?
The correct answer is C. In the remote backend or Terraform Cloud. When using a remote backend (such as AWS S3, HashiCorp Consul, or Terraform Cloud/Enterprise), Terraform stores state remotely in that backend - not on local disk, in memory, or in environment variables. This is the primary advantage of remote backends: state is centralized, enab
Question
Options
- AIn an environment variable
- BOn the disk
- CIn the remote backend or Terraform Cloud
- DIn memory
How the community answered
(54 responses)- A2% (1)
- B2% (1)
- C91% (49)
- D6% (3)
Explanation
When using a remote backend (such as AWS S3, HashiCorp Consul, or Terraform Cloud/Enterprise), Terraform stores state remotely in that backend - not on local disk, in memory, or in environment variables. This is the primary advantage of remote backends: state is centralized, enabling team collaboration, state locking to prevent concurrent modifications, and improved security by keeping sensitive state data off local machines.
Topics
Community Discussion
No community discussion yet for this question.