HashiCorp Certified: Terraform Associate (003) — Question 33
When should you use the force-unlock command?
Answer options
- A. When apply has failed due to a state lock.
- B. When automatic unlocking has failed.
- C. When you see a status message stating that you cannot acquire the lock.
- D. When you have a high priority change.
Correct answer: B
Explanation
The correct answer is B because the force-unlock command is specifically intended for situations where the automatic unlocking mechanism fails. Options A, C, and D do not accurately describe the scenario in which force-unlock should be employed, as they refer to different issues or priorities.