Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Pass the HashiCorp Terraform Associate Terraform-Associate-004 Questions and answers with CertsForce

Viewing page 3 out of 11 pages
Viewing questions 21-30 out of questions
Questions # 21:

When should you write Terraform configuration files for existing infrastructure that you want to start managing with Terraform?

Options:

A.

You can import infrastructure without corresponding Terraform code


B.

Terraform will generate the corresponding configuration files for you


C.

Before you run terraform Import


D.

After you run terraform import


Expert Solution
Questions # 22:

Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.

Options:

A.

True


B.

False


Expert Solution
Questions # 23:

You have a list of numbers that represents the number of free CPU cores on each virtual cluster:

numcpus = [ 18, 3, 7, 11, 2 ]

What Terraform function could you use to select the largest number from the list?

Options:

A.

top(numcpus)


B.

max(numcpus)


C.

ceil (numcpus)


D.

hight[numcpus]


Expert Solution
Questions # 24:

Terraform variable names are saved in the state file.

Options:

A.

True


B.

False


Expert Solution
Questions # 25:

You can configure Terraform to log to a file using the TF_LOG environment variable.

Options:

A.

True


B.

False


Expert Solution
Questions # 26:

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


Expert Solution
Questions # 27:

You have used Terraform lo create an ephemeral development environment in the (loud and are now ready to destroy all the Infrastructure described by your Terraform configuration To be safe, you would like to first see all the infrastructure that Terraform will delete.

Which command should you use to show all of the resources that mil be deleted? Choose two correct answers.

Options:

A.

Run terraform state rm ‘


B.

Run terraform show :destroy


C.

Run terraform destroy and it will first output all the resource that will be deleted before prompting for approval


D.

Run terraform plan .destory


Expert Solution
Questions # 28:

Which of these are features of Terraform Cloud? Choose two correct answers.

Options:

A.

A web-based user interface (Ul)


B.

Automated infrastructure deployment visualization


C.

Automatic backups


D.

Remote state storage


Expert Solution
Questions # 29:

How could you reference an attribute from the vsphere_datacenter data source for use with the datacenter_id argument within the vsphere_folder resource in the following configuration?

Options:

A.

Data.vsphere_datacenter.DC.id


B.

Vsphere_datacenter.dc.id


C.

Data,dc,id


D.

Data.vsphere_datacenter,dc


Expert Solution
Questions # 30:

Only the user that generated a plan may apply it.

Options:

A.

True


B.

False


Expert Solution
Viewing page 3 out of 11 pages
Viewing questions 21-30 out of questions