Weekend Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

Free HashiCorp Terraform-Associate-003 Practice Exam with Questions & Answers

Questions 1

terraform validate confirms thesyntaxof Terraform files.

Options:
A.

True

B.

False

HashiCorp Terraform-Associate-003 Premium Access
Questions 2

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 3

A resource block is shown in the Exhibit section of this page. How would you reference the attribute name of this resource in HCL?

Options:
A.

resource.kubernetes_namespace.example.name

B.

kubernetes_namespace.example.name

C.

data.kubernetes.namespace.name

D.

kubernetes_namespace.test.name

Questions 4

What does the default "local" Terraform backend store?

Options:
A.

tfplan files

B.

State file

C.

Provider plugins

D.

Terraform binary

Questions 5

Which of the following is not a key principle of infrastructure as code?

Options:
A.

Self-describing infrastructure

B.

Idempotence

C.

Versioned infrastructure

D.

Golden images

Questions 6

One remote backend configuration always maps to a single remote workspace.

Options:
A.

True

B.

False

Questions 7

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 8

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 9

As a developer, you want to ensure your plugins are up to date with the latest versions. Which Terraform command should you use?

Options:
A.

terraform refresh -upgrade

B.

terraform apply -upgrade

C.

terraform init -upgrade

D.

terraform providers -upgrade

Questions 10

Which Terraform collection type should you use to store key/value pairs?

Options:
A.

Set

B.

Map

C.

Tuple

D.

list