TERRAFORM-ASSOCIATE-003 · Question #68
What is a key benefit of the Terraform state file?
The correct answer is B. A state file is a source of truth for resources provisioned with Terraform. This is a key benefit of the Terraform state file, as it stores and tracks the metadata and attributes of the resources that are managed by Terraform, and allows Terraform to compare the current state with the desired state expressed by your configuration files.
Question
What is a key benefit of the Terraform state file?
Options
- AA state file can schedule recurring infrastructure tasks
- BA state file is a source of truth for resources provisioned with Terraform
- CA state file is a source of truth for resources provisioned with a public cloud console
- DA state file is the desired state expressed by the Terraform code files
How the community answered
(53 responses)- A6% (3)
- B75% (40)
- C4% (2)
- D15% (8)
Explanation
This is a key benefit of the Terraform state file, as it stores and tracks the metadata and attributes of the resources that are managed by Terraform, and allows Terraform to compare the current state with the desired state expressed by your configuration files.
Topics
Community Discussion
No community discussion yet for this question.