Free Terraform Associate Exam Braindumps

Terraform can run on Windows or Linux, but it requires a Server version of the Windows operating system.

  1. True
  2. False

Answer(s): B



What does the default "local" Terraform backend store?

  1. tfplan files
  2. Terraform binary
  3. Provider plugins
  4. State file

Answer(s): D

Explanation:

The local backend stores state on the local filesystem, locks that state using system APIs, and performs operations locally.


Reference:

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



You have multiple team members collaborating on infrastructure as code (IaC) using Terraform, and want to apply formatting standards for readability.
How can you format Terraform HCL (HashiCorp Configuration Language) code according to standard Terraform style convention?

  1. Run the terraform fmt command during the code linting phase of your CI/CD process
  2. Designate one person in each team to review and format everyone's code
  3. Manually apply two spaces indentation and align equal sign "=" characters in every Terraform file (*.tf)
  4. Write a shell script to transform Terraform files using tools such as AWK, Python, and sed

Answer(s): A

Explanation:

- Indent two spaces for each nesting level.
- When multiple arguments with single-line values appear on consecutive lines at the same nesting level, align their equals signs.


Reference:

https://www.terraform.io/docs/language/syntax/style.html



What value does the Terraform Cloud/Terraform Enterprise private module registry provide over the public Terraform Module Registry?

  1. The ability to share modules with public Terraform users and members of Terraform Enterprise Organizations
  2. The ability to tag modules by version or release
  3. The ability to restrict modules to members of Terraform Cloud or Enterprise organizations
  4. The ability to share modules publicly with any user of Terraform

Answer(s): C

Explanation:

Terraform Registry is an index of modules shared publicly using this protocol. This public registry is the easiest way to get started with Terraform and find modules created by others in the community.


Reference:

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






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

Terraform Associate Exam Discussions & Posts