Spring 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: 9

Questions 81

A Terraform backend determines how Terraform loads state and stores updates when you execute which command?

Options:
A.

apply

B.

destroy

C.

Both of these are correct.

D.

Neither of these are correct.

HashiCorp Terraform-Associate-004 Premium Access
Questions 82

The_________determines how Terraform creates, updates, or delete resources.

Options:
A.

Terraform configuration

B.

Terraform provisioner

C.

Terraform provider

D.

Terraform core

Questions 83

How does Terraform manage most dependencies between resources?

Options:
A.

Terraform will automatically manage most resource dependencies

B.

Using the depends_on parameter

C.

By defining dependencies as modules and including them in a particular order

D.

The order that resources appear in Terraform configuration indicates dependencies

Questions 84

HashiCorp Configuration Language (HCL) supports user-denned functions.

Options:
A.

True

B.

False

Questions 85

You want to use API tokens and other secrets within your team's Terraform workspaces. Where does HashiCorp recommend you store these sensitive values? (Pick the 3 correct responses)

Options:
A.

In an HCP Terraform/Terraform Cloud variable, with the sensitive option checked.

B.

In HashiCorp Vault.

C.

In a terraform.tfvars file, securely managed and shared with your team.

D.

In a terraform.tfvars file, checked into your version control system.

E.

In a plaintext document on a shared drive.

Questions 86

Which of the following is not a valid Terraform collection type?

Options:
A.

Tree

B.

Map

C.

List

D.

set

Questions 87

You decide to move a Terraform state file to Amazon S3 from another location. You write the code below into a file called backend.tf.

Terraform-Associate-004 Question 87

Which command will migrate your current state file to the new S3 remote backend?

Options:
A.

terraform state

B.

terraform init

C.

terraform push

D.

terraform refresh

Questions 88

Your team adopts AWS CloudFormation as the standardized method for provisioning public cloud resources. Which scenario presents a challenge for your team?

Options:
A.

Building a reusable code base that can deploy resources into any AWS region.

B.

Managing a new application stack built on AWS-native services.

C.

Automating a manual, web console-based provisioning process.

D.

Deploying new infrastructure into Microsoft Azure.

Questions 89

It is best practice to store secret data in the same version control repository as your Terraform configuration.

Options:
A.

True

B.

False