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

Free HashiCorp Terraform-Associate-003 Practice Exam with Questions & Answers | Set: 6

Questions 51

Which parameters does terraform import require? Choose two correct answers.

Options:
A.

Provider

B.

Resource ID

C.

Resource address

D.

Path

HashiCorp Terraform-Associate-003 Premium Access
Questions 52

Module version is required to reference a module on the Terraform Module Registry.

Options:
A.

True

B.

False

Questions 53

Which of the following arguments are required when declaring a Terraform output?

Options:
A.

value

B.

description

C.

default

D.

sensitive

Questions 54

Which command(s) adds existing resources in a public cloud into Terraform state?

Options:
A.

terraform init

B.

terraform plan

C.

terraform refresh

D.

terraform import

E.

All of these

Questions 55

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 56

What command can you run to generateDOT (Graphviz)formatted data to visualize Terraform dependencies?

Options:
A.

terraform refresh

B.

terraform graph

C.

terraform output

D.

terraform show

Questions 57

When does Sentinel enforce policy logic during a Terraform Cloud run?

Options:
A.

Before the plan phase

B.

During the plan phase

C.

Before the apply phase

D.

After the apply phase

Questions 58

Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?

Options:
A.

terraform destroy, then terraform apply

B.

terraform init

C.

terraform push

D.

terraform apply

Questions 59

_______backends support state locking.

Options:
A.

All

B.

No

C.

Some

D.

Only local

Questions 60

Which type of block fetches or computes information for use elsewhere in a Terraform configuration?

Options:
A.

data

B.

local

C.

resource

D.

provider