HashiCorp Terraform Associate - HashiCorp Certified: Terraform Associate Exam

Page:    1 / 66   
Total 327 questions

The terraform.tfstate file always matches your currently built infrastructure.

  • A. True
  • B. False


Answer : B

Reference:
https://www.terraform.io/docs/language/state/index.html

One remote backend configuration always maps to a single remote workspace.

  • A. True
  • B. False


Answer : A

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

How is the Terraform remote backend different than other state backends such as S3, Consul, etc.?

  • A. It can execute Terraform runs on dedicated infrastructure on premises or in Terraform Cloud
  • B. It doesn't show the output of a terraform apply locally
  • C. It is only available to paying customers
  • D. All of the above


Answer : A

If you and your team are using Terraform to manage meaningful infrastructure, we recommend using the remote backend with Terraform Cloud or Terraform
Enterprise.
Reference:
https://www.terraform.io/docs/language/settings/backends/index.html

What is the workflow for deploying new infrastructure with Terraform?

  • A. terraform plan to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure.
  • B. Write a Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructure.
  • C. terraform import to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure.
  • D. Write a Terraform configuration, run terraform init, run terraform plan to view planned infrastructure changes, and terraform apply to create new infrastructure.


Answer : D

A provider configuration block is required in every Terraform configuration.
Example:

  • A. True
  • B. False


Answer : A

Reference:
https://github.com/hashicorp/terraform/issues/17928

Page:    1 / 66   
Total 327 questions