HashiCorpHashiCorp
TA-002-P · Question #24
TA-002-P Question #24: Real Exam Question with Answer & Explanation
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #24. The question stem and answer options stay visible for context.
Use the Terraform CLI (terraform plan, apply, destroy, fmt, init, validate, workspace, import, taint, providers, output)
Question
Why would you use the terraform taint command?
Options
- AWhen you want to force Terraform to destroy a resource on the next apply
- BWhen you want to force Terraform to destroy and recreate a resource on the next apply
- CWhen you want Terraform to ignore a resource on the next apply
- DWhen you want Terraform to destroy all the infrastructure in your workspace
Unlock TA-002-P to see the answer
You've previewed enough free TA-002-P questions. Unlock TA-002-P for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Terraform CLI#terraform taint#Resource Lifecycle#Force Recreation