ExamGecko
Question list
Search
Search

Question 127 - Terraform Associate 003 discussion

Report
Export

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

A.
Cloud infrastructure Most Voted
Answers
A.
Cloud infrastructure Most Voted
B.
The .terraform directory
Answers
B.
The .terraform directory
C.
The execution plan
Answers
C.
The execution plan
D.
State file
Answers
D.
State file
E.
Terraform code
Answers
E.
Terraform code
Suggested answer: A, D

Explanation:

Theterraform applycommand 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.terraformdirectory, the execution plan, and the Terraform code are not changed by theterraform applycommand.Reference=Command: applyandPurpose of Terraform State

asked 18/09/2024
Francisco Rocha de Oliveira Junior
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first