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:

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


Expert Solution
Questions # 12:

A Terraform provider is NOT responsible for:

Options:

A.

Exposing resources and data sources based on an APUI


B.

Managing actions to take based on resources differences


C.

Understanding API interactions with some service


D.

Provisioning infrastructure in multiple


Expert Solution
Questions # 13:

You can install community and partner plugins using terraform init.

Options:

A.

True


B.

False


Expert Solution
Questions # 14:

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


Expert Solution
Questions # 15:

You ' re building a CI/CD (continuous integration/continuous delivery) pipeline and need to inject sensitive variables into your Terraform run. How can you do this safely?

Options:

A.

Copy the sensitive variables into your Terraform code


B.

Store the sensitive variables in a secure_varS.tf file


C.

Store the sensitive variables as plain text in a source code repository


D.

Pass variables to Terraform with a -var flag


Expert Solution
Questions # 16:

What is terraform plan -refresh-only intended to detect?

Options:

A.

Terraform configuration code changes


B.

Corrupt state files


C.

State file drift


D.

Empty state files


Expert Solution
Questions # 17:

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 # 18:

Which of the following is not a valid string function in Terraform?

Options:

A.

chomp


B.

join


C.

slice


D.

split


Expert Solution
Questions # 19:

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 # 20:

When using a remote backend or terraform Cloud integration, where does Terraform save resource sate?

Options:

A.

In an environment variable


B.

On the disk


C.

In the remote backend or Terraform Cloud


D.

In memory


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