Free Terraform Associate Exam Braindumps (page: 42)

Page 41 of 113

Ric wants to enable detail logging and he wants highest verbosity of logs. Which of the following environment variable settings is correct option for him to select.

  1. Set TF_LOG = DEBUG
  2. Set VAR_TF = TRACE
  3. Set TF_LOG = TRACE
  4. Set VAR_TF_LOG = TRACE

Answer(s): C


Reference:

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



The canonical format may change in minor ways between Terraform versions, so after upgrading Terraform it is recommended to proactively run.

  1. terraform fmt
  2. terraform init
  3. terraform validate
  4. terraform plan

Answer(s): A



What does terraform refresh command do?

  1. terraform refresh can be used to selectively update sections of the state file, using terraform resource level addressing.
  2. terraform refresh command basically updates the configuration file with the current state of the actual infrastructure
  3. terraform refresh is use to change/modify the infrastructure based on the existing state file, at that moment.
  4. terraform refresh can be used to selectively update sections of the state file, using terraform resource level addressing.
  5. terraform refresh syncs the state file with the real world infrastructure.

Answer(s): E



Which of the following is the right substitute for static values that can make Terraform configuration file more dynamic and reusable?

  1. Output value
  2. Input parameters
  3. Functions
  4. Modules

Answer(s): B

Explanation:

Input variables serve as parameters for a Terraform module, allowing aspects of the module to be customized without altering the module's own source code, and allowing modules to be shared between different configurations.






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

Terraform Associate Exam Discussions & Posts