Terraform Associate Practice Test

Terraform Associate Practice Test practice questions, page 3 of 15, with answer review and explanations.

Question 11

Which of the following is not a key principle of infrastructure as code?

  1. Versioned infrastructure
  2. Golden images
  3. Idempotence
  4. Self-describing infrastructure

Question 12

Terraform variables and outputs that set the "description" argument will store that description in the state file.

  1. True
  2. False

Question 13

What is the provider for this fictitious resource?

  1. vpc
  2. main
  3. aws
  4. test

Question 14

If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?

  1. Run terraform refresh
  2. It will happen automatically
  3. Manually update the state fire
  4. Run terraform import

Question 15

What is not processed when running a terraform refresh?

  1. State file
  2. Configuration file
  3. Credentials
  4. Cloud provider