Month End Special Sale 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale75best

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

Questions 51

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

Options:
A.

True

B.

False

HashiCorp Terraform-Associate-004 Premium Access
Questions 52

Which is not a benefit of adopting IaC (Infrastructure as Code)?

Options:
A.

Reusability of code

B.

Automation

C.

A GUI (Graphical User Interface)

D.

Versioning

Questions 53

terraform validate confirms that your infrastructure matches the Terraform state file.

Options:
A.

True

B.

False

Questions 54

A module can always refer to all variables declared in its parent module.

Options:
A.

True

B.

False

Questions 55

A senior admin accidentally deleted some of your cloud instances. What will Terraform do when you run terraform apply?

Options:
A.

Tear down the entire workspace ' s infrastructure and rebuild it.

B.

Build a completely brand new set of infrastructure.

C.

Rebuild only the instances that were deleted.

D.

Stop and generate an error message about the missing instances.

Questions 56

Which command must you first run before performing further Terraform operations in a working directory?

Options:
A.

terraform import

B.

terraform workspace

C.

terraform plan

D.

terraform init

Questions 57

You need to destroy all of the resources in your Terraform workspace, except for aws_instance.ubuntu[1], which you want to keep. How can you tell Terraform to stop managing that specific resource without destroying it?

Options:
A.

Remove the resource block from your configuration.

B.

Change the value of the count argument on the resource.

C.

Run terraform state rm aws_instance.ubuntu[1].

D.

Use a moved block.

Questions 58

Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.

Options:
A.

True

B.

False

Questions 59

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 60

What kind of configuration block will manage an infrastructure object with settings specified within the block?

Options:
A.

resource

B.

provider

C.

data

D.

locals