HashiCorp Terraform Associate 003 HashiCorp Certified: Terraform Associate (003) Online Training
HashiCorp Terraform Associate 003 Online Training
The questions for Terraform Associate 003 were last updated at Feb 13,2025.
- Exam Code: Terraform Associate 003
- Exam Name: HashiCorp Certified: Terraform Associate (003)
- Certification Provider: HashiCorp
- Latest update: Feb 13,2025
What feature stops multiple users from operating on the Terraform state at the same time?
- A . State locking
- B . Version control
- C . Provider constraints
- D . Remote backends
Which of the following is not a valid siring function in Terraform?
- A . choaf
- B . join
- C . Split
- D . slice
What does the default "local" Terraform backend store?
- A . tfplan files
- B . State file
- C . Provider plugins
- D . Terraform binary
How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?
- A . Only Terraform Cloud organization owners can set workspace variables on VCS connected workspaces
- B . Commit a change to the VCS working directory and branch that the Terraform Cloud workspace is connected to
- C . Only Terraform Cloud organization owners can approve plans in VCS connected workspaces
- D . Only members of a VCS organization can open a pull request against repositories that are connected to Terraform Cloud workspaces
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?
- A . Copy the sensitive variables into your Terraform code
- B . Store the sensitive variables in a secure_varS.tf file
- C . Store the sensitive variables as plain text in a source code repository
- D . Pass variables to Terraform with a -var flag
When should you write Terraform configuration files for existing infrastructure that you want to start managing with Terraform?
- A . You can import infrastructure without corresponding Terraform code
- B . Terraform will generate the corresponding configuration files for you
- C . Before you run terraform Import
- D . After you run terraform import
Variables declared within a module are accessible outside of the module.
- A . True
- B . False
Your security team scanned some Terraform workspaces and found secrets stored in plaintext in state files.
How can you protect that data?
- A . Edit your state file to scrub out the sensitive data
- B . Always store your secrets in a secrets.tfvars file
- C . Delete the state file every time you run Terraform
- D . Store the state in an encrypted backend
If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform Init.
- A . True
- B . False
Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?
- A . terraform destroy, then terraform apply
- B . terraform init
- C . terraform push
- D . terraform apply