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 8 out of 8 pages
Viewing questions 71-80 out of questions
Questions # 71:

When using multiple configuration of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?

Options:

A.

Alias


B.

Id


C.

Depends_on


D.

name


Expert Solution
Questions # 72:

Which option cannot be used to keep secrets out of Terraform configuration files?

Options:

A.

A Terraform provider


B.

Environment variables


C.

A -var flag


D.

secure string


Expert Solution
Questions # 73:

Terraform encrypts sensitive values stored in your state file.

Options:

A.

True


B.

False


Expert Solution
Questions # 74:

You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead. What are the two things you must do to achieve this? Choose two correct answers.

Options:

A.

Run the terraform Import-gcp command


B.

Write Terraform configuration for the existing VMs


C.

Use the terraform import command for the existing VMs


D.

Provision new VMs using Terraform with the same VM names


Expert Solution
Questions # 75:

When you use a backend that requires authentication, it is best practice to:

Options:

A.

Run all Terraform commands on a shared server or container.


B.

Configure the authentication credentials in your Terraform configuration files, and store them in version control.


C.

Use environment variables to configure authentication credentials outside of your Terraform configuration.


D.

None of the above.


Expert Solution
Questions # 76:

You are working on some new application features and you want to spin up a copy of your production deployment to perform some quick tests. In order to avoid having to configure a new state backend, what open source Terraform feature would allow you create multiple states but still be associated with your current code?

Options:

A.

Terraform data sources


B.

Terraform local values


C.

Terraform modules


D.

Terraform workspaces


E.

None of the above


Expert Solution
Questions # 77:

In Terraform HCL, an object type of object({name=string, age-number}) would match this value.

Question # 77

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


Expert Solution
Viewing page 8 out of 8 pages
Viewing questions 71-80 out of questions