New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

HashiCorp Terraform-Associate-003 Based on Real Exam Environment

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

Question 33

Where does the Terraform local backend store its state?

Options:

A.

In the terraform file

B.

In the /tmp directory

C.

In the terraform,tfstate file

D.

In the user’s terraform,state file

Question 34

When you use a remote backend that needs authentication, HashiCorp recommends that you:

Options:

A.

Write the authentication credentials in the Terraform configuration files

B.

Keep the Terraform configuration files in a secret store

C.

Push your Terraform configuration to an encrypted git repository

D.

Use partial configuration to load the authentication credentials outside of the Terraform code

Question 35

Your security team scanned some Terraform workspaces and found secrets stored in plaintext in state files. How can you protect that data?

Options:

A.

Edit your state file to scrub out the sensitive data

B.

Always store your secrets in a secrets.tfvars file

C.

Delete the state file every time you run Terraform

D.

Store the state in an encrypted backend

Question 36

Module variable assignments are inherited from the parent module and you do not need to explicitly set them.

Options:

A.

True

B.

False