🔍
HashiCorpBeginnerHashiCorpTerraformInfrastructure as CodeTerraform 1.0 and higher

HashiCorp Certified: Terraform Associate (003)

TA-003

The HashiCorp Certified: Terraform Associate (003) exam validates foundational knowledge of Terraform workflows, configuration, state, modules, providers, and HashiCorp Cloud Platform. Practice with realistic questions covering core infrastructure automation concepts and Terraform operations.

Take a timed, 57-question mock exam that simulates the real test — or browse every question with answers and explanations at your own pace.

Questions

View all →
  1. 1As a developer, you want to ensure your plugins are up-to-date with the latest versions. Which Terraform command should you use?
  2. 2Your security team scanned some Terraform workspaces and found secrets stored in plaintext in state files. How can you protect that data?
  3. 3How is the Terraform remote backend different than other state backends such as S3, Consul, etc.?
  4. 4You add a new resource to an existing Terraform configuration, but do not update the version constraint in the configuration. The existing and new resources use the same provider. The working directory contains a .terraform.lock.hcl file. How will Terraform choose which version of the provider to use?
  5. 5All standard backend types support state storage, locking, and remote operations like plan, apply, and destroy.
  6. 6You run a local-exec provisioner in a null resource called null_resource.run_script and realize that you need to rerun the script. Which of the following commands would you use first?
  7. 7Which provisioner invokes a process on the resource created by Terraform?
  8. 8terraform apply is failing with the following error. What next step should you take to determine the root cause of the problem? Error loading state: AccessDenied: Access Denied status code: 403, request id: 288766CE5CCA24A0, host id: web.example.com
  9. 9What command does Terraform require the first time you run it within a configuration directory?
  10. 10You have deployed a new webapp with a public IP address on a cloud provider. However, you did not create any outputs for your code. What is the best method to quickly find the IP address of the resource you deployed?