Pre-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 1 out of 8 pages
Viewing questions 1-10 out of questions
Questions # 1:

What does terraform import do?

Options:

A.

Imports existing resources into the state file


B.

Imports all infrastructure from a given cloud provider


C.

Imports a new Terraform module


D.

Imports clean copies of tainted resources


E.

None of the above


Expert Solution
Questions # 2:

A terraform apply can not _________ infrastructure.

Options:

A.

change


B.

destroy


C.

provision


D.

import


Expert Solution
Questions # 3:

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

Options:

A.

True


B.

False


Expert Solution
Questions # 4:

Module version is required to reference a module on the Terraform Module Registry.

Options:

A.

True


B.

False


Expert Solution
Questions # 5:

Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.

Options:

A.

True


B.

False


Expert Solution
Questions # 6:

When you use a backend that requires authentication, it is best practice to:

Options:

A.

Run all of your Terraform commands on a shared server or container.


B.

Configure the authentication credentials in your Terraform configuration files, and store them in a private version control system.


C.

Use environment variables to configure authentication credentials outside of your Terraform configuration.


D.

None of the above.


Expert Solution
Questions # 7:

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

How would you reference the volume IDs associated with the ebs_block_device blocks in this configuration?

Question # 8

Options:

A.

aws_instance.example.ebs_block_device[sda2,sda3).volume_id


B.

aws_lnstance.example.ebs_block_device.[*].volume_id


C.

aws_lnstance.example.ebs_block_device.volume_ids


D.

aws_instance.example-ebs_block_device.*.volume_id


Expert Solution
Questions # 9:

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

What is the purpose of the terraform.lock.hcl file in Terraform?

Options:

A.

There is no such file.


B.

Storing references to workspaces, which are locked.


C.

Preventing Terraform runs from occurring.


D.

Tracking specific provider dependencies.


Expert Solution
Viewing page 1 out of 8 pages
Viewing questions 1-10 out of questions