HashiCorp
TA-002-P · Question #309
During a terraform plan, a resource is successfully created but eventually fails during provisioning. What happens to the resource?
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #309. 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
During a terraform plan, a resource is successfully created but eventually fails during provisioning. What happens to the resource?
Options
- ATerraform attempts to provision the resource up to three times before exiting with an error
- Bthe terraform plan is rolled back and all provisioned resources are removed
- Cit is automatically deleted
- Dthe resource is marked as tainted
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
#Tainted resources#Resource provisioning#Error handling#Terraform CLI