Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free HashiCorp Terraform-Associate-003 Practice Exam with Questions & Answers | Set: 2

Questions 11

What is modified when executing Terraform inrefresh-only mode?

Options:
A.

Your Terraform configuration.

B.

Your Terraform plan.

C.

Your state file.

D.

Your cloud infrastructure.

HashiCorp Terraform-Associate-003 Premium Access
Questions 12

Which is the best way to specify a tag of v1.0.0 when referencing a module stored in Git (for example.

Git::https://example.com/vpc.git)?

Options:
A.

Append pref=v1.0.0 argument to the source path

B.

Add version = “1.0.0” parameter to module block

C.

Nothing modules stored on GitHub always default to version 1.0.0

Questions 13

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

Terraform-Associate-003 Question 13

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

Questions 14

Terraform configuration can only import modules from the public registry.

Options:
A.

True

B.

False

Questions 15

How is terraform import run?

Options:
A.

As a part of terraform init

B.

As a part of terraform plan

C.

As a part of terraform refresh

D.

By an explicit call

E.

All of the above

Questions 16

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

Questions 17

You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead. What are the two things you must do to achieve this? Choose two correct answers.

Options:
A.

Run the terraform Import-gcp command

B.

Write Terraform configuration for the existing VMs

C.

Use the terraform import command for the existing VMs

D.

Provision new VMs using Terraform with the same VM names

Questions 18

Which of the following commands would you use to access all of the attributes and details of a resource managed by Terraform?

Options:
A.

terraform state list ‘provider_type.name’

B.

terraform state show ‘provider_type.name’

C.

terraform get ‘provider_type.name’

D.

terraform state list

Questions 19

A provider configuration block is required in every Terraform configuration.

Example:

Terraform-Associate-003 Question 19

Options:
A.

True

B.

False

Questions 20

In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.

Options:
A.

True

B.

False