Free Terraform Associate Exam Braindumps (page: 34)

Page 33 of 113

If you enable TF_LOG = DEBUG, the log will be stored in syslog.log file in the currect directory.

  1. False
  2. True

Answer(s): A


Reference:

https://www.terraform.io/docs/internals/debugging.html



When using remote state, state is only ever held in memory when used by Terraform.

  1. False
  2. True

Answer(s): B



Which one of the following command will rewrite Terraform configuration files to a canonical format and style.

  1. terraform graph -h
  2. terraform init
  3. terraform graph
  4. terraform fmt

Answer(s): D

Explanation:

The terraform fmt command is used to rewrite Terraform configuration files to a canonical format and style. This command applies a subset of the Terrra Terraform language style conventions, along with other minor adjustments for readability.



You have created a custom variable definition file testing.tfvars. How will you use it for provisioning infrastructure?

  1. terraform apply -var-state-file ="testing.tfvars"
  2. terraform plan -var-file="testing.tfvar"
  3. terraform apply -var-file="testing.tfvars"
  4. terraform apply var-file="testing.tfvars"

Answer(s): C


Reference:

https://www.terraform.io/docs/configuration/variables.html






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

Terraform Associate Discussions & Posts