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 8 out of 11 pages
Viewing questions 71-80 out of questions
Questions # 71:

Where can Terraform not load a provider from?

Options:

A.

Plugins directory


B.

Provider plugin chance


C.

Official HashCrop Distribution on releases.hashcrop.com


D.

Source code


Expert Solution
Questions # 72:

You modified your Terraform configuration and run Terraform plan to review the changes. Simultaneously, your teammate manually modified the infrastructure component you are working on. Since you already ran terraform plan locally, the execution plan for terraform apply will be the same.

Options:

A.

True


B.

False


Expert Solution
Questions # 73:

Which of these actions are forbidden when the Terraform state file is locked? (Pick the 3 correct responses)

Options:

A.

terraform apply


B.

terraform state list


C.

terraform destroy


D.

terraform fmt


Expert Solution
Questions # 74:

You want to know from which paths Terraform is loading providers referenced in your Terraform configuration (* files). You need to enable additional logging messages to find this out. Which of the following would achieve this?

Options:

A.

Set verbose for each provider in your Terraform configuration


B.

Set the environment variable TF_LOG_TRACE


C.

Set the environment variable TF_LOG_PATH


D.

Set the environment variable TF_log_TRACE


Expert Solution
Questions # 75:

Which of these actions will prevent two Terraform runs from changing the same state file at the same time?

Options:

A.

Refresh the state after running Terraform


B.

Delete the state before running Terraform


C.

Configure state locking for your state backend


D.

Run Terraform with parallelism set to 1


Expert Solution
Questions # 76:

A child module can always access variables declared in its parent module.

Options:

A.

True


B.

False


Expert Solution
Questions # 77:

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

You are using a networking module in your Terraform configuration with the name label my-network. In your main configuration you have the following code:

When you run terraform validate, you get the following error:

What must you do to successfully retrieve this value from your networking module?

Options:

A.

Change the reference value to my-network,outputs,vmet_id


B.

Define the attribute vmet_id as a variable in the networking modeule


C.

Define the attribute vnet_id as an output in the networking module


D.

Change the reference value module.my,network,outputs,vnet_id


Expert Solution
Questions # 79:

All modules published on the official Terraform Module Registry have been verified by HasihCorp.

Options:

A.

True


B.

False


Expert Solution
Questions # 80:

Which of these statements about HCP Terraform/Terraform Cloud workspaces is false?

Options:

A.

They can securely store cloud credentials.


B.

They have role-based access controls.


C.

Plans and applies can be triggered via version control system integrations.


D.

You must use the CLI to switch between workspaces.


Expert Solution
Viewing page 8 out of 11 pages
Viewing questions 71-80 out of questions