Summer Certification Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Terraform-Associate-004 HashiCorp Exam Lab Questions

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Questions and Answers

Question 21

You need to deploy resources into two different regions in the same Terraform configuration using the block shown in the exhibit below.

What do you need to add to the provider configuration to deploy the resource to the us-west-2 AWS region?

Options:

A.

B.

B.

C.

C.

D.

D.

Question 22

A data source is shown in the exhibit below.

How do you reference the id attribute of this data source?

}

}

Options:

A.

data.aws_ami.web.id

B.

aws_ami.web.id

C.

web.id

D.

data.web.id

Question 23

How does Terraform manage most dependencies between resources?

Options:

A.

Terraform will automatically manage most resource dependencies

B.

Using the depends_on parameter

C.

By defining dependencies as modules and including them in a particular order

D.

The order that resources appear in Terraform configuration indicates dependencies

Question 24

Which task does terraform init not perform?

Options:

A.

Discovers all providers used in the configuration and downloads them.

B.

Validates that values are set for all required input variables.

C.

Connects to the configured backend.

D.

Discovers any remote modules and downloads them.