Terraform Associate 004 Practice Test
Terraform Associate 004 Practice Test practice questions, page 7 of 7, with answer review and explanations.
Question 31
Which command must you run before you run a plan or apply for the first time?
- terraform validate
- terraform workspace
- terraform import
- terraform init
Question 32
As a developer, you want to ensure your plugins are up-to-date with the latest versions. Which Terraform command should you use?
- terraform apply -upgrade
- terraform providers -upgrade
- terraform init -upgrade
- terraform refresh -upgrade
Question 33
What does terraform apply change after you approve the execution plan? (Choose two.)
- The state file
- The cloud infrastructure
- The execution plan
- The Terraform code
- The .terraform directory