Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

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

Viewing page 7 out of 8 pages
Viewing questions 61-70 out of questions
Questions # 61:

The Terraform binary version and provider versions must match each other in a single configuration.

Options:

A.

True


B.

False


Expert Solution
Questions # 62:

When using multiple configuration of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?

Options:

A.

Alias


B.

Id


C.

Depends_on


D.

name


Expert Solution
Questions # 63:

When does Sentinel enforce policy logic during a Terraform Cloud run?

Options:

A.

Before the plan phase


B.

During the plan phase


C.

Before the apply phase


D.

After the apply phase


Expert Solution
Questions # 64:

Using the terraform state rm command against a resource will destroy it.

Options:

A.

True


B.

False


Expert Solution
Questions # 65:

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

Which of the following is availableonlyinHCP Terraform workspacesandnot in Terraform CLI?

Options:

A.

Dry runs with terraform plan.


B.

Secure variable storage.


C.

Using one workspace's state as a data source for another.


D.

Support for multiple cloud providers.


Expert Solution
Questions # 67:

Which of the following module source paths does not specify a remote module?

Options:

A.

Source = “module/consul’’


B.

Source = ‘’githhub.comicrop/example’’


C.

Source =’’git@github.com:hasicrop/example.git’’


D.

Source = ‘’hasicrop/consul/aws’’


Expert Solution
Questions # 68:

Which of the following is true about terraform apply?(Pick 2 correct responses)

Options:

A.

You must pass the output of a terraform plan command to it.


B.

By default, it does not refresh your state file to reflect the current infrastructure configuration.


C.

Depending on provider specification, Terraform may need to destroy and recreate your infrastructure resources.


D.

You cannot target specific resources for the operation.


E.

It only operates on infrastructure defined in the current working directory or workspace.


Expert Solution
Questions # 69:

How does Terraform determine dependencies between resources?

Options:

A.

Terraform requires resource dependencies to be defined as modules and sourced in order


B.

Terraform automatically builds a resource graph based on resources provisioners, special meta-parameters, and the stale file (if present}


C.

Terraform requires resources in a configuration to be listed m the order they will be created to determine dependencies


D.

Terraform requires all dependencies between resources to be specified using the depends_on parameter


Expert Solution
Questions # 70:

Which two steps are required to provision new infrastructure in the Terraform workflow? Choose two correct answers.

Options:

A.

Plan


B.

Import


C.

Alidate


D.

Init


E.

apply


Expert Solution
Viewing page 7 out of 8 pages
Viewing questions 61-70 out of questions