Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free HashiCorp Terraform-Associate-004 Practice Exam with Questions & Answers | Set: 2

Questions 11

Which provider authentication method prevents credentials from being stored in the state file?

Options:
A.

Using environment variables

B.

Specifying the login credentials in the provider block

C.

Setting credentials as Terraform variables

D.

None of the above

HashiCorp Terraform-Associate-004 Premium Access
Questions 12

In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.

Options:
A.

True

B.

False

Questions 13

terraform apply will fail if you have not run terraform plan first to update the plan output.

Options:
A.

True

B.

False

Questions 14

Exhibit.

Terraform-Associate-004 Question 14

You need to deploy resources into two different regions in the same Terraform configuration. To do this, you declare multiple provider configurations as shown in the Exhibit space on this page.

What meta-argument do you need to configure in a resource block to deploy the resource to the us-west-2 AWS region?

Options:
A.

provider = aws.west

B.

alias = aws.west

C.

provider = west

D.

alias = west

Questions 15

Terraform installs its providers during which phase?

Options:
A.

Plan

B.

Init

C.

Refresh

D.

All of the above

Questions 16

What Terraform command always causes a state file to be updated with changes that might have been made outside of Terraform?

Options:
A.

Terraform plan –refresh-only

B.

Terraform show –json

C.

Terraform apply –lock-false

D.

Terraform plan target-state

Questions 17

Which command doesnotcause Terraform to refresh its state?

Options:
A.

terraform state list

B.

terraform plan

C.

terraform apply

D.

terraform destroy

Questions 18

Select the command that doesn’t cause Terraform to refresh its state.

Options:
A.

Terraform destroy

B.

Terraform apply

C.

Terraform plan

D.

Terraform state list

Questions 19

A Terraform provider is NOT responsible for:

Options:
A.

Exposing resources and data sources based on an APUI

B.

Managing actions to take based on resources differences

C.

Understanding API interactions with some service

D.

Provisioning infrastructure in multiple

Questions 20

Which of the following is not true of Terraform providers?

Options:
A.

An individual person can write a Terraform Provider

B.

A community of users can maintain a provider

C.

HashiCorp maintains some providers

D.

Cloud providers and infrastructure vendors can write, maintain, or collaborate on Terraform

E.

providers

F.

None of the above