HashiCorp Terraform-Associate-003 Question Answer
What is modified when executing Terraform inrefresh-only mode?
Your Terraform configuration.
Your Terraform plan.
Your state file.
Your cloud infrastructure.
Inrefresh-only mode(terraform apply -refresh-only), Terraformupdates the state fileto match the actual infrastructurewithout modifying resources.
A (Terraform configuration)–Not modifiedin refresh-only mode.
B (Terraform plan)–Plan is generated but not modified.
D (Cloud infrastructure)–Not modifiedin refresh-only mode.
Official Terraform Documentation Reference:
Refresh-Only Mode
TESTED 02 Aug 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved