HashiCorp TA-002-P HashiCorp Certified: Terraform Associate Exam Practice Test

Page: 1 / 14
Total 449 questions

Question 1

True or False? When using the Terraform provider for Vault, the tight integration between these HashiCorp tools provides the ability to mask secrets in the terraform plan and state files.



Answer : A

Question 2

Which of the following statements best describes the Terraform list(...) type?



Answer : B

Question 3

Which of the following is not a valid Terraform string function?



Answer : D

Question 4

During a terraform plan, a resource is successfully created but eventually fails during provisioning. What happens to the resource?



Answer : D

Question 5

Which of the following commands will launch the Interactive console for Terraform interpolations?



Answer : B

Question 6

resource "aws_s3_bucket" "example" { bucket = "my-test-s3-terraform-bucket" ...} resource "aws_iam_role" "test_role" { name = "test_role" ...}

Due to the way that the application code is written , the s3 bucket must be created before the test role is created , otherwise there will be a problem. How can you ensure that?



Answer : B

Question 7

What does the command terraform fmt do?



Answer : A

Page:    1 / 14   
Total 449 questions