nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-004 · Question #174

You can access state stored with the local backend by using terraform_remote_state data source.

The correct answer is B. False. You cannot access state stored with the local backend by using the terraform_remote_state data source. The terraform_remote_state data source is used to retrieve the root module output values from some other Terraform configuration using the latest state snapshot from the…

Submitted by eva_at· Apr 18, 2026Manage Terraform State

Question

You can access state stored with the local backend by using terraform_remote_state data source.

Options

  • ATrue
  • BFalse

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    93% (27)

Explanation

You cannot access state stored with the local backend by using the terraform_remote_state data source. The terraform_remote_state data source is used to retrieve the root module output values from some other Terraform configuration using the latest state snapshot from the remote backend. It requires a backend that supports remote state storage, such as S3, Consul, AzureRM, or GCS. The local backend stores the state file locally on the filesystem, which terraform_remote_state cannot access.

Topics

#Terraform State#Local Backend#Remote State Data Source#State Access

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 Practice