Summer Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free HashiCorp Terraform-Associate-004 Practice Exam with Questions & Answers | Set: 7

Questions 61

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

Options:
A.

depends_on

B.

alias

C.

name

D.

id

HashiCorp Terraform-Associate-004 Premium Access
Questions 62

You have to initialize a Terraform backend before it can be configured.

Options:
A.

True

B.

False

Questions 63

Which of the following should you add in the required_providers block to define a provider version constraint?

Options:
A.

version

B.

version = " 3.1 "

C.

version: 3.1

D.

version - 3.1

Questions 64

When using Terraform to deploy resources into Azure, which scenarios are true regarding state files? (Choose two.)

Options:
A.

When you change a Terraform-managed resource via the Azure Cloud Console, Terraform updates the state file to reflect the change during the next plan or apply

B.

Changing resources via the Azure Cloud Console records the change in the current state file

C.

When you change a resource via the Azure Cloud Console, Terraform records the changes in a new state file

D.

Changing resources via the Azure Cloud Console does not update current state file

Questions 65

You have a simple Terraform configuration containing one VM (virtual machine) in a cloud provider. You run terraform apply and the VM is created successfully. What will happen if you run terraform apply again immediately afterwards 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.

Terraform will take no action.

Questions 66

A Terraform provider is NOT responsible for:

Options:
A.

Exposing resources and data sources based on an APUI

B.

Managing actions to take based on resources differences

C.

Understanding API interactions with some service

D.

Provisioning infrastructure in multiple

Questions 67

Which of these is true about Terraform ' s plugin-based architecture?

Options:
A.

Terraform can only source providers from the internet

B.

Every provider in a configuration has its own state file for its resources

C.

You can create a provider for your API if none exists

D.

All providers are part of the Terraform core binary

Questions 68

You ate creating a Terraform configuration which needs to make use of multiple providers, one for AWS and one for Datadog. Which of the following provider blocks would allow you to do this?

Terraform-Associate-004 Question 68

Options:
A.

Option A

B.

Option B

C.

Option C

Questions 69

Which command should you run to check if all code in a Terraform configuration that references multiple modules is properly formatted without making changes?

Options:
A.

terraform fmt -write-false

B.

terraform fmt -list -recursive

C.

terraform fmt -check -recursive

D.

terraform fmt -check

Questions 70

You can develop a custom provider to manage its resources using Terraform.

Options:
A.

True

B.

False