HashiCorp Certified: Terraform Associate (003) - TA-003-P Exam Practice Test

Question 1
Which of the following is not a valid siring function in Terraform?

Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 2
What does this code do?

Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 3
Module version is required to reference a module on the Terraform Module Registry.

Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 4
Which of the following should you put into the required_providers block?

Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 5
When using Terraform to deploy resources into Azure, which scenarios are true regarding state files? (Choose two.)

Correct Answer: A,C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 6
How would you output returned values from a child module in the Terraform CLI output?

Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 7
How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?

Correct Answer: A
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 8
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.

Correct Answer: B,C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 9
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?

Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 10
How could you reference an attribute from the vsphere_datacenter data source for use with the datacenter_id argument within the vsphere_folder resource in the following configuration?

Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).