Free Terraform Associate Exam Braindumps (page: 27)

Page 26 of 113

If a module declares a variable with a default, that variable must also be defined within the module.

  1. True
  2. False

Answer(s): B



Terraform init can indeed be run only a few times, because, every time terraform init will initialize the project , and download all plugins from the internet repository , regardless of whether they were present or not , and this increases the waiting time

  1. True
  2. False

Answer(s): B

Explanation:

Re-running init with modules already installed will install the sources for any modules that were added to configuration since the last init, but will not change any already-installed modules. Use - upgrade to override this behavior, updating all modules to the latest available source code.


Reference:

https://www.terraform.io/docs/commands/init.html



The Terraform language does not support user-defined functions, and so only the functions built in to the language are available for use.

  1. False
  2. True

Answer(s): B


Reference:

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



Which of the below configuration file formats are supported by Terraform? (Select TWO)

  1. Node
  2. JSON
  3. Go
  4. YAML
  5. HCL

Answer(s): B,E

Explanation:

Terraform supports both HashiCorp Configuration Language (HCL) and JSON formats for configurations.


Reference:

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






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

Terraform Associate Discussions & Posts