Pre-Summer 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: 3

Questions 21

Which of the following is not a valid source path for specifying a module?

Options:
A.

source - " github.com/hashicorp/examplePref-ul.0.8M

B.

source = " ./module?version=vl.6.0 "

C.

source - " hashicorp/consul/aws "

D.

source - " ./module "

HashiCorp Terraform-Associate-004 Premium Access
Questions 22

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 23

Which two steps are required to provision new infrastructure in the Terraform workflow? (Pick the 2 correct responses below.)

Options:
A.

Import

B.

Apply

C.

Validate

D.

Plan

E.

Init

Questions 24

You want to create a string that combines a generated random_id and a variable and reuse that string several times in your configuration. What is the simplest correct way to implement this without repeating the random_id and variable?

Options:
A.

Use a module.

B.

Add an output value.

C.

Add a local value.

D.

Use a data source.

Questions 25

How is terraform import run?

Options:
A.

As a part of terraform init

B.

As a part of terraform plan

C.

As a part of terraform refresh

D.

By an explicit call

E.

All of the above

Questions 26

Which of the following is not an action performed by terraform init?

Options:
A.

Initialize a configured backend.

B.

Create template configuration files.

C.

Load required provider plugins.

D.

Retrieve the source code for all referenced modules.

Questions 27

You just scaled your VM infrastructure and realize you set the count variable to the wrong value. You correct the value and save your change. What must you do next to make your infrastructure match your configuration?

Options:
A.

Reinitialize because your configuration has changed.

B.

Inspect all Terraform outputs to make sure they are correct.

C.

Inspect your Terraform state because you want to change it.

D.

Run terraform apply and confirm the planned changes.

Questions 28

How can a ticket-based system slow down infrastructure provisioning and limit the ability to scale? Choose two correct answers.

Options:
A.

End-users have to request infrastructure changes

B.

Ticket based systems generate a full audit trail of the request and fulfillment process

C.

Users can access catalog of approved resources from drop down list in a request form

D.

The more resources your organization needs, the more tickets your infrastructure team has to process

Questions 29

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

Questions 30

How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?

Options:
A.

It can execute Terraform runs on dedicated infrastructure in Terraform Cloud

B.

It doesn ' t show the output of a terraform apply locally

C.

It is only arable lo paying customers

D.

All of the above