HashiCorp Certified: Terraform Associate — Question 27
When should you use the force-unlock command?
Answer options
- A. You see a status message that you cannot acquire the lock
- B. You have a high priority change
- C. Automatic unlocking failed
- D. You apply failed due to a state lock
Correct answer: C
Explanation
The correct answer is C because the force-unlock command is specifically designed to be used when automatic unlocking has not succeeded. The other options do not pertain directly to scenarios where the force-unlock command is necessary or appropriate.