HashiCorp Certified: Terraform Associate Terraform Associate Exam Questions in PDF

Free HashiCorp Terraform Associate Dumps Questions (page: 14)

All standard backend types support state storage, locking, and remote operations like plan, apply and destroy.

  1. True
  2. False

Answer(s): B

Explanation:


Reference:

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



How can terraform plan aid in the development process?

  1. Validates your expectations against the execution plan without permanently modifying state
  2. Initializes your working directory containing your Terraform configuration files
  3. Formats your Terraform configuration files
  4. Reconciles Terraform's state against deployed resources and permanently modifies state using the current status of deployed resources

Answer(s): A

Explanation:


Reference:

https://github.com/hashicorp/terraform/issues/19235



You would like to reuse the same Terraform configuration for your development and production environments with a different state file for each.
Which command would you use?

  1. terraform import
  2. terraform workspace
  3. terraform state
  4. terraform init

Answer(s): B



What is the name assigned by Terraform to reference this resource?

  1. compute_instance
  2. main
  3. google
  4. teat

Answer(s): B



You're building a CI/CD (continuous integration/ continuous delivery) pipeline and need to inject sensitive variables into your Terraform run.
How can you do this safely?

  1. Pass variables to Terraform with a ג€"var flag
  2. Copy the sensitive variables into your Terraform code
  3. Store the sensitive variables in a secure_vars.tf file
  4. Store the sensitive variables as plain text in a source code repository

Answer(s): A



Share your comments for HashiCorp Terraform Associate exam with other users:

D
DN
9/4/2023 11:19:00 PM

question 14 - run terraform import: this is the recommended best practice for bringing manually created or destroyed resources under terraform management. you use terraform import to associate an existing resource with a terraform resource configuration. this ensures that terraform is aware of the resource, and you can subsequently manage it with terraform.

Y
YK
12/11/2023 1:10:00 AM

good one nice

M
Mn8300
11/9/2023 8:53:00 AM

nice questions

AI Tutor 👋 I’m here to help!