HashiCorp Certified: Terraform Associate — Question 335

Which are forbidden actions when the Terraform state file is locked? (Choose three.)

Answer options

Correct answer: A, D, E

Explanation

The correct answers A, D, and E involve making changes to the infrastructure or planning changes based on the current state. When the state file is locked, these operations cannot be executed to prevent conflicting updates. In contrast, options B, C, and F are read-only operations or formatting tasks that do not alter the state and are therefore permitted.