Free Terraform Associate Exam Braindumps (page: 21)

Page 20 of 88

Your DevOps team is currently using the local backend for your Terraform configuration. You would like to move to a remote backend to begin storing the state file in a central location.
Which of the following backends would not work?

  1. Amazon S3
  2. Artifactory
  3. Git
  4. Terraform Cloud

Answer(s): C

Explanation:


Reference:

https://secrethub.io/blog/secret-management-for-terraform/



Which backend does the Terraform CLI use by default?

  1. Terraform Cloud
  2. Consul
  3. Remote
  4. Local

Answer(s): D

Explanation:


Reference:

https://www.terraform.io/docs/language/settings/backends/configuration.html



When you initialize Terraform, where does it cache modules from the public Terraform Module Registry?

  1. On disk in the /tmp directory
  2. In memory
  3. On disk in the .terraform sub-directory
  4. They are not cached

Answer(s): C

Explanation:


Reference:

https://www.terraform.io/docs/language/modules/sources.html



You write a new Terraform configuration and immediately run terraform apply in the CLI using the local backend.
Why will the apply fail?

  1. Terraform needs you to format your code according to best practices first
  2. Terraform needs to install the necessary plugins first
  3. The Terraform CLI needs you to log into Terraform cloud first
  4. Terraform requires you to manually run terraform plan first

Answer(s): B






Post your Comments and Discuss HashiCorp Terraform Associate exam with other Community members:

Terraform Associate Exam Discussions & Posts