HashiCorp Certified: Terraform Associate — Question 218

What is terraform refresh-only intended to detect?

Answer options

Correct answer: D

Explanation

The correct answer is D, as terraform refresh-only is designed to identify any drift between the actual infrastructure and the state files. Options A and B refer to issues with the state files themselves, while option C concerns changes in configuration, which are not specifically detected by the refresh-only command.