nerdexam
HashiCorpHashiCorp

TA-002-P · Question #144

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

The correct answer is A: True. By default, Terraform provisioners are executed only once when the resource they are associated with is initially created.

Understand Terraform basics

Question

By default, a defined provisioner is a creation-time provisioner.

Options

  • ATrue
  • BFalse

Explanation

By default, Terraform provisioners are executed only once when the resource they are associated with is initially created.

Common mistakes.

  • B. This is incorrect; the default behavior for provisioners is to execute at resource creation time, not at other lifecycle stages without explicit configuration.

Concept tested. Terraform provisioner default execution timing

Reference. https://developer.hashicorp.com/terraform/language/resources/provisioners/syntax#creation-time-provisioners

Topics

#Provisioners#Resource Lifecycle#Terraform Defaults

Community Discussion

No community discussion yet for this question.

Full TA-002-P PracticeBrowse All TA-002-P Questions