Which of the following does terraform apply change after you approve the execution plan? (Choose two.)
Which of the following does terraform apply change after you approve the execution plan? (Choose two.)
When you run 'terraform apply' and approve the execution plan, Terraform makes changes to the cloud infrastructure as specified in the configuration files. These changes alter the actual state of the resources being managed. In addition, Terraform updates the state file to reflect the current state of the infrastructure after the changes have been applied. The state file maintains the mapping between the configuration files and the real-world resources. Therefore, the correct options are 'Cloud infrastructure' and 'State file'. The .terraform directory, execution plan, and Terraform code are not changed during this process.
A and D
After you approve the execution plan, terraform apply will make changes to both the cloud infrastructure and the state file. Therefore, options A and D are correct. The .terraform directory is a local directory used by Terraform to store plugins and other files, and is not modified by terraform apply. The execution plan is generated by Terraform to show you the changes that will be made, and is not modified by terraform apply. The Terraform code is also not modified by terraform apply; it simply tells Terraform what changes to make to the infrastructure.
A. Cloud infrastructure: Terraform applies the changes to your cloud infrastructure based on the configuration described in your Terraform code. D. State file: Terraform applies the changes and updates the state file to reflect the current state of the infrastructure.
It has to be AD
A and D
A and D
A and D
I go with a and d but this site is useless and you can't even check two checkboxes, apart of the fact that most of the answers are wrong.
A and D
D. State file After apply, the state file is changed to match the created resources
A and D
A and D
A and D
AD is the answer
Answer is A and D
It should be AD.
A and D.
A and D
It's A and D for sure
I think the question is bad formulated, not all providers are cloud-based
A and D
A and D
A and D
Says choose two
When you run terraform apply and approve the execution plan, Terraform will make changes to the cloud infrastructure based on the desired state defined in the Terraform code. Terraform will also update the state file to reflect the new state of the infrastructure after the changes have been made. Therefore, options A and D are correct.
Cloud infra will be updated/changed not the execution plan. It will update the content/values in state file based on latest changes happened as a part of apply. I will go with A
A is the correct answer.
A and D for sure.
A and D are the correct options.
A and D.