Summer Sale Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = simple75

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

Exam Terraform-Associate-004 Premium Access

View all detail and faqs for the Terraform-Associate-004 exam

Practice at least 50% of the questions to maximize your chances of passing.
Viewing page 3 out of 11 pages
Viewing questions 21-30 out of questions
Questions # 21:

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

Questions # 22:

You have a Terraform configuration that defines a single virtual machine with no references to it, You have run terraform apply to create the resource, and then removed the resource definition from your Terraform configuration file.

What will happen you run terraform apply in the working directory again?

Options:

A.

Terraform will remove the virtual machine from the state file, but the resource will still exist

B.

Nothing

C.

Terraform will error

D.

Terraform will destroy the virtual machine

Questions # 23:

Which backend does the Terraform CLI use by default?

Options:

A.

Depends on the cloud provider configured

B.

HTTP

C.

Remote

D.

Terraform Cloud

E.

Local

Questions # 24:

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

Options:

A.

True

B.

False

Questions # 25:

What is the purpose of the terraform.lock.hcl file in Terraform?

Options:

A.

There is no such file.

B.

Storing references to workspaces, which are locked.

C.

Preventing Terraform runs from occurring.

D.

Tracking specific provider dependencies.

Questions # 26:

terraform init creates an example main.tf file in the current directory.

Options:

A.

True

B.

False

Questions # 27:

When you run terraform apply, the Terraform CLI will print output values from both the root module and any child modules.

Options:

A.

True

B.

False

Questions # 28:

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

Questions # 29:

terraform validate uses provider APIs to verify your infrastructure settings.

Options:

A.

True

B.

False

Questions # 30:

Which of the following methods, used to provision resources into a public cloud, demonstrates the concept of infrastructure as code?

Options:

A.

curl commands manually run from a terminal

B.

A sequence of REST requests you pass to a public cloud API endpoint Most Voted

C.

A script that contains a series of public cloud CLI commands

D.

A series of commands you enter into a public cloud console

Viewing page 3 out of 11 pages
Viewing questions 21-30 out of questions