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
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
Community Discussion
No community discussion yet for this question.