Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 121 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 121
Topic #: 1
[All Terraform Associate Questions]

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

  • A. Cloud infrastructure
  • B. The .terraform directory
  • C. The execution plan
  • D. State file
  • E. Terraform code
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
faltu1985
Highly Voted 2 years, 1 month ago
Selected Answer: A
A and D
upvoted 31 times
...
camps
Highly Voted 1 year, 7 months ago
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.
upvoted 11 times
...
f2e2419
Most Recent 10 months ago
Selected Answer: D
A and D
upvoted 4 times
...
[Removed]
11 months, 1 week ago
Selected Answer: D
A and D
upvoted 3 times
...
awsexams
11 months, 2 weeks ago
A and D
upvoted 3 times
...
Selva247
1 year ago
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.
upvoted 5 times
...
Pikopo
1 year, 1 month ago
A and D
upvoted 2 times
...
VSMu
1 year, 4 months ago
Selected Answer: A
A and D.
upvoted 1 times
...
abhi6199
1 year, 5 months ago
A and D are the correct options.
upvoted 1 times
...
March2023
1 year, 5 months ago
Selected Answer: A
A and D for sure.
upvoted 1 times
...
KJ_Rollings
1 year, 6 months ago
Selected Answer: D
A and D
upvoted 2 times
...
Ni33
1 year, 6 months ago
A is the correct answer.
upvoted 1 times
...
wojtec
1 year, 6 months ago
A and D
upvoted 2 times
...
Ravi528
1 year, 8 months ago
Selected Answer: A
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
upvoted 1 times
...
SilentMilli
1 year, 8 months ago
Selected Answer: A
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.
upvoted 1 times
...
rotimislaw
1 year, 9 months ago
Selected Answer: D
A and D
upvoted 3 times
...
mpetbteam
1 year, 9 months ago
I think the question is bad formulated, not all providers are cloud-based
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...