Quiz: What is the purpose of the Terraform state file (<code>terraform.tfstate</code>)?
The Terraform state file records the current state of managed infrastructure and metadata, enabling Terraform to calculate required changes during plans/applies.