Month End Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

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

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

Which Terraform command checks that your configuration syntax is correct?

Options:

A.

terraform validate


B.

terraform init


C.

terraform show


D.

terraform fmt


Expert Solution
Questions # 22:

What type of information can be found on the Terraform Registry when using published modules?

Options:

A.

Required input variables.


B.

Outputs.


C.

Optional input variables and default values.


D.

All of the above.


Expert Solution
Questions # 23:

You have a simple Terraform configuration containing one virtual machine (VM) in a cloud provider. You run terraform apply and the VM is created successfully.

What will happen if you delete the VM using the cloud provider console, then run terraform apply again without changing any Terraform code?

Options:

A.

Terraform will recreate the VM.


B.

Terraform will report an error.


C.

Terraform will remove the VM from the state file.


D.

Terraform will not make any changes.


Expert Solution
Questions # 24:

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

Options:

A.

True


B.

False


Expert Solution
Questions # 25:

Which command doesnotcause Terraform to refresh its state?

Options:

A.

terraform state list


B.

terraform plan


C.

terraform apply


D.

terraform destroy


Expert Solution
Questions # 26:

What value does the Terraform Cloud private registry provide over the public Terraform Module Registry?

Options:

A.

The ability to share modules publicly with any user of Terraform


B.

The ability to restrict modules to members of Terraform Cloud or Enterprise organizations


C.

The ability to tag modules by version or release


D.

The ability to share modules with public Terraform users and members of Terraform Cloud Organizations


Expert Solution
Questions # 27:

Any user can publish modules to the public Terraform Module Registry.

Options:

A.

True


B.

False


Expert Solution
Questions # 28:

When you use a backend that requires authentication, it is best practice to:

Options:

A.

Run all of your Terraform commands on a shared server or container.


B.

Configure the authentication credentials in your Terraform configuration files, and store them in a private version control system.


C.

Use environment variables to configure authentication credentials outside of your Terraform configuration.


D.

None of the above.


Expert Solution
Questions # 29:

You can develop a custom provider to manage its resources using Terraform.

Options:

A.

True


B.

False


Expert Solution
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


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