TA-002-P Dumps

TA-002-P Free Practice Test

HashiCorp TA-002-P: HashiCorp Certified: Terraform Associate

QUESTION 11

- (Exam Topic 4)
A variable az has the following default value. What will be the datatype of the variable? az=["us-west-1a","us-east-1a"]

Correct Answer: B

QUESTION 12

- (Exam Topic 2)
Which of the below are paid features of Terraform Cloud?

Correct Answer: CDF
https://www.hashicorp.com/products/terraform/pricing/

QUESTION 13

- (Exam Topic 4)
What does Terraform use providers for? (Choose three.)

Correct Answer: ABC

QUESTION 14

- (Exam Topic 3)
You have been given requirements to create a security group for a new application. Since your organization standardizes on Terraform, you want to add this new security group with the fewest number of lines of code. What feature could you use to iterate over a list of required tcp ports to add to the new security group?

Correct Answer: D
A dynamic block acts much like a for expression, but produces nested blocks instead of a complex typed value. It iterates over a given complex value and generates a nested block for each element of that complex value.
https://www.terraform.io/docs/configuration/expressions.html#dynamic-blocks

QUESTION 15

- (Exam Topic 3)
What happens when a terraform apply command is executed?

Correct Answer: B
The terraform apply command is used to apply the changes required to reach the desired state of the configuration, or the pre-determined set of actions generated by a terraform plan execution plan.
https://www.terraform.io/docs/commands/apply.html