Spring 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 7 out of 10 pages
Viewing questions 61-70 out of questions
Questions # 61:

What is the Terraform style convention for indenting a nesting level compared to the one above it?

Options:

A.

With two spaces.


B.

With four spaces.


C.

With three spaces.


D.

With a tab.


Expert Solution
Questions # 62:

Terraform encrypts sensitive values stored in your state file.

Options:

A.

True


B.

False


Expert Solution
Questions # 63:

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

Which of the following is not an action performed by terraform init?

Options:

A.

Initialize a configured backend.


B.

Create template configuration files.


C.

Load required provider plugins.


D.

Retrieve the source code for all referenced modules.


Expert Solution
Questions # 65:

You just upgraded the version of a provider in an existing Terraform project. What do you need to do to install the new provider?

Options:

A.

Run terraform refresh.


B.

Run terraform init -upgrade.


C.

Run terraform apply -upgrade.


D.

Upgrade your version of Terraform.


Expert Solution
Questions # 66:

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 terraform apply again immediately afterward without changing any Terraform code?

Options:

A.

Terraform will terminate and recreate the VM.


B.

Terraform will create another duplicate VM.


C.

Terraform will apply the VM to the state file.


D.

Nothing


Expert Solution
Questions # 67:

Which task does terraform init not perform?

Options:

A.

Validates all required variables are present


B.

Sources any modules and copies the configuration locally


C.

Connects to the backend


D.

Sources all providers used in the configuration and downloads them


Expert Solution
Questions # 68:

You just scaled your VM infrastructure and realize you set the count variable to the wrong value. You correct the value and save your change. What must you do next to make your infrastructure match your configuration?

Options:

A.

Reinitialize because your configuration has changed.


B.

Inspect all Terraform outputs to make sure they are correct.


C.

Inspect your Terraform state because you want to change it.


D.

Run terraform apply and confirm the planned changes.


Expert Solution
Questions # 69:

What is the name of the default file where Terraform stores the state?

Type your answer in the field provided. The text field is not case-sensitive and all variations of the correct answer are accepted.


Expert Solution
Questions # 70:

Which features do HCP Terraform workspaces provide that are not available in Terraform Community Edition? (Pick the 3 correct responses below.)

Options:

A.

State versions and run history.


B.

Automatic detection of common security issues.


C.

Store Terraform and environment variables in variable sets.


D.

Remote execution of Terraform operations.


E.

Store your configuration in a Version Control System (VCS).


F.

Support for multiple cloud providers.


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