Question 540
Two operators attempt to apply changes to the same production state simultaneously, risking conflicting updates. Which failure mode would most clearly show that this specific requirement remains unmet?
Explanation
Correct Answer
State locking helps prevent concurrent writers from corrupting shared state. Use a backend that supports state locking and serialize the operations.
Incorrect Answers
Terraform backend configuration changes must be initialized and may require state migration. Use a backend that supports state locking and serialize the operations.
Local backend state lasts only as long as the filesystem storing it. State locking helps prevent concurrent writers from corrupting shared state.
Removing state ownership is different from destroying the actual remote object. Only one active operation holds the state lock at a time.