Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 153

Which of the following is true about terraform apply? (Choose two.)

    Correct Answer: A, C

    Terraform apply operates on the infrastructure defined in the current working directory or workspace. This means that any changes made using this command will be applied to the resources specified in the current configuration files. Additionally, depending on the provider specification, Terraform may need to destroy and recreate infrastructure resources. This often occurs when certain resource changes require a full replacement, which can happen due to the nature of provider requirements or specific characteristics of the resource being managed.

Discussion
RVivekOptions: AC

B -- Plan out put not needed D- It refreses by default E- you can target a resource

campsOptions: AC

A. It only operates on infrastructure defined in the current working directory or workspace. C. Depending on provider specification, Terraform may need to destroy and recreate your infrastructure resources. The terraform apply command in Terraform is used to create or modify infrastructure resources according to the Terraform configuration in the current working directory or workspace.

ZeppoonstreamOptions: AC

A. It only operates on infrastructure defined in the current working directory or workspace C. Depending on provider specification, Terraform may need to destroy and recreate your infrastructure resources The following is true about terraform apply: A. It only operates on infrastructure defined in the current working directory or workspace. Terraform apply command will only perform changes to the resources defined in the Terraform configuration files in the current working directory or workspace. C. Depending on provider specification, Terraform may need to destroy and recreate your infrastructure resources: Terraform may need to destroy and recreate some of the resources if the provider requires it to apply changes, this is also known as "create-before-destroy" strategy

G4ExamsOptions: AC

A and C

dani88geOptions: AC

AC, for sure

depal_dhirOptions: AC

https://www.terraform.io/cli/run

keiffo2Options: AC

I'd go with A and C - as per Answer