nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #16

When do changes invoked by terraform apply take effect?

The correct answer is B. Once the resource provider has fulfilled the request. Changes invoked by terraform apply take effect once the resource provider has fulfilled the request, not after Terraform has updated the state file or immediately. The state file is only a reflection of the real resources, not a source of truth.

Tools for Test Analysts

Question

When do changes invoked by terraform apply take effect?

Options

  • AAfter Terraform has updated the state file
  • BOnce the resource provider has fulfilled the request
  • CImmediately
  • DNone of the above are correct

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    70% (16)
  • C
    17% (4)
  • D
    4% (1)

Explanation

Changes invoked by terraform apply take effect once the resource provider has fulfilled the request, not after Terraform has updated the state file or immediately. The state file is only a reflection of the real resources, not a source of truth.

Topics

#Terraform#terraform apply#resource provider#provisioning lifecycle

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice