Spring Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Terraform-Associate-004 HashiCorp Exam Lab Questions

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Questions and Answers

Question 21

You ' re writing a Terraform configuration that needs to read input from a local file called id_rsa.pub . Which built-in Terraform function can you use to import the file ' s contents as a string?

Options:

A.

file( " id_rsa.pub " )

B.

templaTefil( " id_rsa.pub " )

C.

filebase64( " id_rsa.pub " )

D.

fileset < " id_rsa.pub " )

Question 22

Which of the following command would be use to access all of the attributes and details of a resource managed by Terraform?

Options:

A.

Terraform state show ‘ provider_type_name

B.

Terraform state list

C.

Terraform get provider_type_name

D.

Terraform state list provider_type_name

Question 23

When should you use the force-unlock command?

Options:

A.

You have a high priority change

B.

Automatic unlocking failed

C.

apply failed due to a state lock

D.

You see a status message that you cannot acquire the lock

Question 24

Terraform providers are always installed from the Internet.

Options:

A.

True

B.

False