HashiCorp Terraform Associate 003 Practice Exams
Last updated on Oct 21,2026- Exam Code: Terraform Associate 003
- Exam Name: HashiCorp Certified: Terraform Associate (003)
- Certification Provider: HashiCorp
- Latest update: Oct 21,2026
You decide to move a Terraform state file to Amazon S3 from another location. You write the code below into a file called backend.tf.

Which command will migrate your current state file to the new S3 remote backend?
- A . terraform state
- B . terraform init
- C . terraform push
- D . terraform refresh
Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.
- A . True
- B . False
You are writing a child Terraform module that provisions an AWS instance. You want to reference the IP address returned by the child module in the root configuration. You name the instance resource "main’.
Which of these is the correct way to define the output value?
A)

B)

C)

D)

- A . Option A
- B . Option B
- C . Option C
- D . Option D
What does terraform import do?
- A . Imports existing resources into the state file
- B . Imports all infrastructure from a given cloud provider
- C . Imports a new Terraform module
- D . Imports clean copies of tainted resources
- E . None of the above
Where can Terraform not load a provider from?
- A . Plugins directory
- B . Provider plugin chance
- C . Official HashCrop Distribution on releases.hashcrop.com
- D . Source code
Which of the following methods, used to provision resources into a public cloud, demonstrates the concept of infrastructure as code?
- A . curl commands manually run from a terminal
- B . A sequence of REST requests you pass to a public cloud API endpoint Most Voted
- C . A script that contains a series of public cloud CLI commands
- D . A series of commands you enter into a public cloud console
Which of these statements about HCP Terraform/Terraform Cloud workspaces is false?
- A . They can securely store cloud credentials.
- B . They have role-based access controls.
- C . Plans and applies can be triggered via version control system integrations.
- D . You must use the CLI to switch between workspaces.
Which of these is true about Terraform’s plugin-based architecture?
- A . Terraform can only source providers from the internet
- B . Every provider in a configuration has its own state file for its resources
- C . You can create a provider for your API if none exists
- D . All providers are part of the Terraform core binary
Which command(s) adds existing resources in a public cloud into Terraform state?
- A . terraform init
- B . terraform plan
- C . terraform refresh
- D . terraform import
- E . All of these
Which configuration consistency errors does terraform validate report?
- A . Terraform module isn’t the latest version
- B . Differences between local and remote state
- C . Declaring a resource identifier more than once
- D . A mix of spaces and tabs in configuration files