Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 248

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

    Correct Answer: C

    State locking in Terraform is the feature that prevents multiple users or processes from simultaneously operating on the Terraform state file. This mechanism ensures that only one operation can modify the state at a time, thereby avoiding conflicts and ensuring the integrity of the state file.

Discussion
Oleg_golOption: C

C. State locking

LemonadeSoftwareOption: C

C. State locking State locking in Terraform prevents multiple users or processes from simultaneously modifying the Terraform state file (terraform.tfstate). It ensures that only one operation (e.g., terraform apply or terraform destroy) can modify the state at a time, preventing conflicts in collaborative or automated environments.