nerdexam
HashiCorpHashiCorp

TERRAFORM-ASSOCIATE-004 · Question #163

TERRAFORM-ASSOCIATE-004 Question #163: Real Exam Question with Answer & Explanation

The correct answer is C: The terraform block. In Terraform, the backend configuration, which includes details about where and how state is stored, is specified within the terraform block of your configuration. This block is the correct place to define the backend type and its configuration parameters, such as the location of

Submitted by klara.se· Apr 18, 2026Manage Terraform State

Question

Where in your Terraform configuration do you specify a state backend?

Options

  • AThe resource block
  • BThe data source block
  • CThe terraform block
  • DThe provider block

Explanation

In Terraform, the backend configuration, which includes details about where and how state is stored, is specified within the terraform block of your configuration. This block is the correct place to define the backend type and its configuration parameters, such as the location of the state file for a local backend or the bucket details for a remote backend like S.

Topics

#Terraform configuration#State backend#terraform block#Remote state

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 PracticeBrowse All TERRAFORM-ASSOCIATE-004 Questions