Month End Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the HashiCorp Terraform Associate Terraform-Associate-004 Questions and answers with CertsForce

Viewing page 4 out of 8 pages
Viewing questions 31-40 out of questions
Questions # 31:

terraform validate reports syntax check errors for which of the following?

Options:

A.

Code contains tabs for indentation instead of spaces


B.

There is a missing value for a variable


C.

The state file does not match the current infrastructure


D.

None of the above


Expert Solution
Questions # 32:

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


Expert Solution
Questions # 33:

Which are forbidden actions when the terraform state file is locked? Choose three correct answers.

Options:

A.

Terraform state list


B.

Terraform destroy


C.

Terraform validate


D.

Terraform validate


E.

Terraform for


F.

Terraform apply


Expert Solution
Questions # 34:

Terraform installs its providers during which phase?

Options:

A.

Plan


B.

Init


C.

Refresh


D.

All of the above


Expert Solution
Questions # 35:

Which of the following is availableonlyinHCP Terraform workspacesandnot in Terraform CLI?

Options:

A.

Dry runs with terraform plan.


B.

Secure variable storage.


C.

Using one workspace's state as a data source for another.


D.

Support for multiple cloud providers.


Expert Solution
Questions # 36:

Infrastructure as Code (laC) can be stored in a version control system along with application code.

Options:

A.

True


B.

False


Expert Solution
Questions # 37:

What is the name of the default file where Terraform stores the state?

Type your answer in the field provided. The text field is not case-sensitive and all variations of the correct answer are accepted.


Expert Solution
Questions # 38:

Where can Terraform not load a provider from?

Options:

A.

Plugins directory


B.

Provider plugin chance


C.

Official HashCrop Distribution on releases.hashcrop.com


D.

Source code


Expert Solution
Questions # 39:

What does terraform import do?

Options:

A.

Imports existing resources into the state file


B.

Imports all infrastructure from a given cloud provider


C.

Imports a new Terraform module


D.

Imports clean copies of tainted resources


E.

None of the above


Expert Solution
Questions # 40:

What task does the terraform import command perform?

Options:

A.

Imports resources from one Terraform state file to another.


B.

Imports existing resources into Terraform's state file.


C.

Imports a new Terraform module into Terraform's state file.


D.

Imports all infrastructure from the configured cloud provider.


E.

Imports provider configuration from one state file to another.


Expert Solution
Viewing page 4 out of 8 pages
Viewing questions 31-40 out of questions