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 2 out of 8 pages
Viewing questions 11-20 out of questions
Questions # 11:

Which command must you first run before performing further Terraform operations in a working directory?

Options:

A.

terraform import


B.

terraform workspace


C.

terraform plan


D.

terraform init


Expert Solution
Questions # 12:

When do you need to explicitly execute Terraform in refresh-only mode?

Options:

A.

Before every terraform plan.


B.

Before every terraform apply.


C.

Before every terraform import.


D.

None of the above.


Expert Solution
Questions # 13:

It is best practice to store secret data in the same version control repository as your Terraform configuration.

Options:

A.

True


B.

False


Expert Solution
Questions # 14:

Terraform variables and outputs that set the description argument will store that description in the state file.

Options:

A.

True


B.

False


Expert Solution
Questions # 15:

_______backends support state locking.

Options:

A.

All


B.

No


C.

Some


D.

Only local


Expert Solution
Questions # 16:

When does Terraform create the .terraform.lock.hc1 file?

Options:

A.

After your first terraform plan


B.

After your first terraform apply


C.

After your first terraform init


D.

When you enable state locking


Expert Solution
Questions # 17:

You've used Terraform to deploy a virtual machine and a database. You want to replace this virtual machine instance with an identical one without affecting the database. What is the best way to achieve this using Terraform?

Options:

A.

Use the terraform state rm command to remove the VM from state file


B.

Use the terraform taint command targeting the VMs then run terraform plan and terraform apply


C.

Use the terraform apply command targeting the VM resources only


D.

Delete the Terraform VM resources from your Terraform code then run terraform plan and terraform apply


Expert Solution
Questions # 18:

How is terraform import run?

Options:

A.

As a part of terraform init


B.

As a part of terraform plan


C.

As a part of terraform refresh


D.

By an explicit call


E.

All of the above


Expert Solution
Questions # 19:

In a Terraform Cloud workspace linked to a version control repository, speculative plan runs start automatically when you merge or commit changes to version control.

Options:

A.

True


B.

False


Expert Solution
Questions # 20:

Which configuration consistency errors does terraform validate report?

Options:

A.

Terraform module isn't the latest version


B.

Differences between local and remote state


C.

Declaring a resource identifier more than once


D.

A mix of spaces and tabs in configuration files


Expert Solution
Viewing page 2 out of 8 pages
Viewing questions 11-20 out of questions