ExamGecko
Question list
Search
Search

Question 32 - Terraform Associate 003 discussion

Report
Export

Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?

A.
terraform destroy, then terraform apply
Answers
A.
terraform destroy, then terraform apply
B.
terraform init
Answers
B.
terraform init
C.
terraform push
Answers
C.
terraform push
D.
terraform apply
Answers
D.
terraform apply
Suggested answer: A

Explanation:

This command will initialize the new backend and prompt you to migrate the existing state file to the new location4. The other commands are not relevant for this task.

asked 18/09/2024
Kristi Riddick
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first