nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-004 · Question #116

Which of the following does terraform apply change after you approve the execution plan? (Choose two.)

The correct answer is A. Cloud infrastructure D. State file. The terraform apply command changes both the cloud infrastructure and the state file after you approve the execution plan. The command creates, updates, or destroys the infrastructure resources to match the configuration. It also updates the state file to reflect the new state of

Submitted by satoshi_tk· Apr 18, 2026Use Terraform CLI

Question

Which of the following does terraform apply change after you approve the execution plan? (Choose two.)

Options

  • ACloud infrastructure
  • BThe .terraform directory
  • CThe execution plan
  • DState file
  • ETerraform code

How the community answered

(32 responses)
  • A
    94% (30)
  • B
    3% (1)
  • C
    3% (1)

Explanation

The terraform apply command changes both the cloud infrastructure and the state file after you approve the execution plan. The command creates, updates, or destroys the infrastructure resources to match the configuration. It also updates the state file to reflect the new state of the infrastructure. The .terraform directory, the execution plan, and the Terraform code are not changed by the terraform apply command.

Topics

#terraform apply#state file#cloud infrastructure

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 Practice