nerdexam
HashiCorpHashiCorp

TA-002-P · Question #184

TA-002-P Question #184: Real Exam Question with Answer & Explanation

Sign in or unlock TA-002-P to reveal the answer and full explanation for question #184. The question stem and answer options stay visible for context.

Read, generate, and modify configuration

Question

By default, provisioners that fail will also cause the Terraform apply itself to error. How can you change this default behavior within a provisioner?

Options

  • Aprovisioner "local-exec" { on_failure = "next" }
  • Bprovisioner "local-exec" { when = "failure" terraform apply }
  • Cprovisioner "local-exec" { on_failure = "continue" }
  • Dprovisioner "local-exec" { on_failure = continue }

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

#Provisioners#Error Handling#Configuration Syntax
Full TA-002-P PracticeBrowse All TA-002-P Questions