HashiCorp Certified: Terraform Associate — Question 173

When using Terraform to deploy resources into Azure, which scenarios are true regarding state files? (Choose two.)

Answer options

Correct answer: D

Explanation

The correct answer is D because changes made directly in the Azure Cloud Console are not tracked by Terraform and do not update the state file. Option A is incorrect as Terraform does not automatically reflect changes made outside of its management until a refresh or apply is executed. Options B and C are also incorrect since Terraform is unaware of changes made outside its control and does not create new state files for such changes.