Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

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

Viewing page 3 out of 8 pages
Viewing questions 21-30 out of questions
Questions # 21:

When do changes invoked by terraform apply take effect?

Options:

A.

After Terraform has updated the state file


B.

Once the resource provider has fulfilled the request


C.

Immediately


D.

None of the above are correct


Expert Solution
Questions # 22:

What value does the Terraform Cloud private registry provide over the public Terraform Module Registry?

Options:

A.

The ability to share modules publicly with any user of Terraform


B.

The ability to restrict modules to members of Terraform Cloud or Enterprise organizations


C.

The ability to tag modules by version or release


D.

The ability to share modules with public Terraform users and members of Terraform Cloud Organizations


Expert Solution
Questions # 23:

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 # 24:

What is the provider for the resource shown in the Exhibit?

resource "aws_vpc" "main" {

name = "test"

}

Options:

A.

VPC


B.

test


C.

main


D.

aws


Expert Solution
Questions # 25:

A Terraform backend determines how Terraform loads state and stores updates when you execute which command?

Options:

A.

apply


B.

destroy


C.

Both of these are correct.


D.

Neither of these are correct.


Expert Solution
Questions # 26:

Where in your Terraform configuration do you specify a state backend?

Options:

A.

The resource block


B.

The data source block


C.

The terraform block


D.

The provider block


Expert Solution
Questions # 27:

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 # 28:

terraform validate uses provider APIs to verify your infrastructure settings.

Options:

A.

True


B.

False


Expert Solution
Questions # 29:

Before you can use a new backend or HCP Terraform/Terraform Cloud integration, you must first execute terraform init.

Options:

A.

True


B.

False


Expert Solution
Questions # 30:
Options:

A.

Modify the Terraform configuration to add an import block for both of the virtual machines.


B.

Run a terraform apply -refresh to identify the virtual machine IDs that are already managed by Terraform.


C.

Run terraform state rm on both VMs, then terraform apply to recreate the correct one.


D.

Run terraform state list to find the names of all VMs, then run terraform state show for each of them to find which VM ID Terraform manages.


Expert Solution
Viewing page 3 out of 8 pages
Viewing questions 21-30 out of questions