Big Halloween Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

Free HashiCorp Terraform-Associate-003 Practice Exam with Questions & Answers | Set: 4

Questions 31

What information does the public Terraform Module Registry automatically expose about published modules?

Options:
A.

Required input variables

B.

Optional inputs variables and default values

C.

Outputs

D.

All of the above

E.

None of the above

HashiCorp Terraform-Associate-003 Premium Access
Questions 32

You have to initialize a Terraform backend before it can be configured.

Options:
A.

True

B.

False

Questions 33

What does state looking accomplish?

Options:
A.

Prevent accidental Prevent accident deletion of the state file

B.

Blocks Terraform commands from modifying, the state file

C.

Copies the state file from memory to disk

D.

Encrypts any credentials stored within the state file

Questions 34

Which of these statements about HCP Terraform/Terraform Cloud workspaces is false?

Options:
A.

They can securely store cloud credentials.

B.

They have role-based access controls.

C.

Plans and applies can be triggered via version control system integrations.

D.

You must use the CLI to switch between workspaces.

Questions 35

The_________determines how Terraform creates, updates, or delete resources.

Options:
A.

Terraform configuration

B.

Terraform provisioner

C.

Terraform provider

D.

Terraform core

Questions 36

Terraform configuration can only import modules from the public registry.

Options:
A.

True

B.

False

Questions 37

Using the terraform state rm command against a resource will destroy it.

Options:
A.

True

B.

False

Questions 38

terraform validate confirms that your infrastructure matches the Terraform state file.

Options:
A.

True

B.

False

Questions 39

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

Options:
A.

True

B.

False

Questions 40

terraform apply is failing with the following error. What next step should you take to determine the root cause of the problem?

Error:

yaml

CopyEdit

Error loading state: AccessDenied: Access Denied

status code: 403, request id: 288766CE5CCA24A0, host id: web.example.com

Options:
A.

Run terraform login to reauthenticate with the provider.

B.

Set TF_LOG=DEBUG.

C.

Review /var/log/terraform.log for error messages.

D.

Review syslog for Terraform error messages.