HashiCorp Certified: Terraform Associate — Question 145

What features stops multiple users from operating on the Terraform state at the same time?

Answer options

Correct answer: C

Explanation

State locking is the mechanism that ensures only one operation can modify the Terraform state at a time, thus preventing conflicts and potential corruption. While remote backends can facilitate state storage, they do not inherently provide locking. Provider constraints and version control do not address the issue of concurrent modifications to the state file.