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 2 out of 11 pages
Viewing questions 11-20 out of questions
Questions # 11:

Exhibit:

resource " kubernetes_namespace " " example " {

name = " test "

}

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

Options:

A.

kubernetes_namespace.example,name


B.

kubernetes_namespace.test.name


C.

data.kubernetes_namespace.name


D.

resource.kubernetes_namespace.example.name


Expert Solution
Questions # 12:

Terraform installs its providers during which phase?

Options:

A.

Plan


B.

Init


C.

Refresh


D.

All of the above


Expert Solution
Questions # 13:

Which of these is true about Terraform ' s plugin-based architecture?

Options:

A.

Terraform can only source providers from the internet


B.

Every provider in a configuration has its own state file for its resources


C.

You can create a provider for your API if none exists


D.

All providers are part of the Terraform core binary


Expert Solution
Questions # 14:

You can configure multiple cloud blocks in your Terraform configuration to connect your workspace to both HCP Terraform and your Terraform Enterprise instance.

Options:

A.

True


B.

False


Expert Solution
Questions # 15:

Which command generates DOT (Document Template) formatted data to visualize Terraform dependencies?

Options:

A.

terraform graph


B.

terraform show


C.

terraform refresh


D.

terraform output


Expert Solution
Questions # 16:

While attempting to deploy resources into your cloud provider using Terraform, you begin to see some odd behavior and experience slow responses. In order to troubleshoot you decide to turn on Terraform debugging. Which environment variables must be configured to make Terraform ' s logging more verbose?

Options:

A.

TF_LOG_PAIH


B.

TF_LOG


C.

TF_VAR_log_path


D.

TF_VAR_log_level


Expert Solution
Questions # 17:

terraform destroy is the only way to remove infrastructure.

Options:

A.

True


B.

False


Expert Solution
Questions # 18:

When do you need to explicitly execute Terraform in refresh-only mode?

Options:

A.

Before every terraform plan.


B.

Before every terraform apply.


C.

Before every terraform import.


D.

None of the above.


Expert Solution
Questions # 19:

If a module declares a variable without a default value, you must pass the value of the variable within the module block when you call the module in your configuration.

Options:

A.

True


B.

False


Expert Solution
Questions # 20:

What information does the public Terraform Module Registry automatically expose about published modules?

Options:

A.

Required input variables


B.

Optional inputs variables and default values


C.

Outputs


D.

All of the above


E.

None of the above


Expert Solution
Viewing page 2 out of 11 pages
Viewing questions 11-20 out of questions