HashiCorp TA-003-P HashiCorp Certified: Terraform Associate (003) Online Training
HashiCorp TA-003-P Online Training
The questions for TA-003-P were last updated at Feb 19,2025.
- Exam Code: TA-003-P
- Exam Name: HashiCorp Certified: Terraform Associate (003)
- Certification Provider: HashiCorp
- Latest update: Feb 19,2025
What is the workflow for deploying new infrastructure with Terraform?
- A . Write Terraform configuration, run terraform init to initialize the working directory or workspace, and run terraform apply
- B . Write Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructure
- C . Write Terraform configuration, run terraform apply to create infrastructure, use terraform validate to confirm Terraform deployed resources correctly
- D . Write Terraform configuration, run terraform plan to initialize the working directory or workspace, and terraform apply to create the infrastructure
You can develop a custom provider to manage its resources using Terraform.
- A . True
- B . False
What is one disadvantage of using dynamic blocks in Terraform?
- A . Dynamic blocks can construct repeatable nested blocks
- B . Terraform will run more slowly
- C . They cannot be used to loop through a list of values
- D . They make configuration harder to read and understand
Which backend does the Terraform CU use by default?
- A . Depends on the cloud provider configured
- B . HTTP
- C . Remote
- D . Terraform Cloud
- E . Local
How does Terraform manage most dependencies between resources?
- A . Terraform will automatically manage most resource dependencies
- B . Using the depends_on parameter
- C . By defining dependencies as modules and including them in a particular order
- D . The order that resources appear in Terraform configuration indicates dependencies
You have declared a variable called var.list which is a list of objects that all have an attribute id .
Which options will produce a list of the IDs? Choose two correct answers.
- A . [ var.list [ * ] , id ]
- B . [ for o in var.list : o.Id ]
- C . var.list[*].id
- D . { for o in var.llst : o => o.id }
It is best practice to store secret data in the same version control repository as your Terraform configuration.
- A . True
- B . False
You want to define a single input variable to capture configuration values for a server. The values must represent memory as a number, and the server name as a string.
Which variable type could you use for this input?
- A . List
- B . Object
- C . Map
- D . Terraform does not support complex input variables of different types
Which of the following statements about Terraform modules is not true?
- A . Modules can call other modules
- B . A module is a container for one or more resources
- C . Modules must be publicly accessible
- D . You can call the same module multiple times