What does the default "local" Terraform backend store?
Answer(s): B
The default "local" Terraform backend stores the state file in a local file named terraform.tfstate, which can be used to track and manage the state of your infrastructure.
How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?
This will trigger a run in the Terraform Cloud workspace, which will perform a plan and apply operation on the infrastructure defined by the Terraform configuration files in the VCS repository.
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?
Answer(s): D
This is a secure way to inject sensitive variables into your Terraform run, as they will not be stored in any file or source code repository. You can also use environment variables or variable files with encryption to pass sensitive variables to Terraform.
When should you write Terraform configuration files for existing infrastructure that you want to start managing with Terraform?
Answer(s): C
You need to write Terraform configuration files for the existing infrastructure that you want to import into Terraform, otherwise Terraform will not know how to manage it. The configuration files should match the type and name of the resources that you want to import.
Post your Comments and Discuss HashiCorp Terraform-Associate-003 exam with other Community members:
Marc commented on October 18, 2024 What the best way to learn terraform? UNITED STATES upvote
Chandra commented on October 09, 2024 This is the best and only way of passing this exam as it is extremely hard. Good questions and valid dump. INDIA upvote
Madhan commented on September 26, 2024 Useful questions INDIA upvote
Abu commented on September 22, 2024 I did not know these questions were available online. I did not believe and trust them and studied quite a lot and just used these questions for practice. But most of the questions turned out to be in the exam. UNITED STATES upvote
Sahin commented on July 04, 2024 Need que to learn new things UNITED STATES upvote