HashiCorp
TERRAFORM-ASSOCIATE-004 · Question #63
Select the command that doesn't cause Terraform to refresh its state.
The correct answer is D. Terraform state list. This is the command that does not cause Terraform to refresh its state, as it only lists the resources that are currently managed by Terraform in the state file. The other commands will refresh the state file before performing their operations, unless you use the -refresh=false f
Submitted by hassan_iq· Apr 18, 2026Manage Terraform State
Question
Select the command that doesn't cause Terraform to refresh its state.
Options
- ATerraform destroy
- BTerraform apply
- CTerraform plan
- DTerraform state list
How the community answered
(27 responses)- A4% (1)
- B4% (1)
- C7% (2)
- D85% (23)
Explanation
This is the command that does not cause Terraform to refresh its state, as it only lists the resources that are currently managed by Terraform in the state file. The other commands will refresh the state file before performing their operations, unless you use the -refresh=false flag.
Topics
#Terraform state#State refresh#Terraform CLI#terraform state list
Community Discussion
No community discussion yet for this question.