Skip to Content

HashiCorp Certified: Terraform Associate: Resource State Storage for Terraform Remote Backend and Cloud Integration

Discover where Terraform saves resource state when using a remote backend or Terraform Cloud integration. Learn about the benefits of storing state remotely for collaboration and security.

Table of Contents

Question

When using a remote backend or Terraform Cloud integration, where does Terraform save resource state?

A. On the disk
B. In memory
C. In an environment variable
D. In the remote backend or Terraform Cloud

Answer

D. In the remote backend or Terraform Cloud

Explanation

D. When using a remote backend or Terraform Cloud integration, Terraform saves the resource state in the remote backend or Terraform Cloud. The state is stored securely and centrally, allowing multiple team members to collaborate on the same infrastructure. This approach eliminates the need for local state files and reduces the risk of conflicts or inconsistencies. Remote state storage enhances security, enables state locking, and facilitates easier sharing and versioning of the infrastructure state.

HashiCorp Certified: Terraform Associate certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the HashiCorp Certified: Terraform Associate exam and earn HashiCorp Certified: Terraform Associate certification.