ExamGecko
Home / HashiCorp / Terraform Associate 003 / List of questions
Ask Question

HashiCorp Terraform Associate 003 Practice Test - Questions Answers, Page 21

Add to Whishlist

List of questions

Question 201

Report Export Collapse

What is the Terraform style convention for indenting a nesting level compared to the one above it?

Become a Premium Member for full access
  Unlock Premium Member

Question 202

Report Export Collapse

Using the terraform state rm command against a resource will destroy it.

Become a Premium Member for full access
  Unlock Premium Member

Question 203

Report Export Collapse

Before you can use a new backend or HCP Terraform/Terraform Cloud integration, you must first execute terraform init.

Become a Premium Member for full access
  Unlock Premium Member

Question 204

Report Export Collapse

terraform validate uses provider APIs to verify your infrastructure settings.

Become a Premium Member for full access
  Unlock Premium Member

Question 205

Report Export Collapse

Terraform variables and outputs that set the description argument will store that description in the state file.

Become a Premium Member for full access
  Unlock Premium Member

Question 206

Report Export Collapse

You use a cloud provider account that is shared with other team members. You previously used Terraform to create a load balancer that listens on port 80. After application changes, you updated the Terraform code to change the port to 443.

You run terraform plan and see that the execution plan shows the port changing from 80 to 443 like you intended and step away to grab some coffee.

In the meantime, another team member manually changes the load balancer port to 443 through the cloud provider console before you get back to your desk.

What will happen when you run terraform apply upon returning to your desk?

Become a Premium Member for full access
  Unlock Premium Member

Question 207

Report Export Collapse

A resource block is shown in the Exhibit space of this page. What is the Terraform resource name of the resource block?

Become a Premium Member for full access
  Unlock Premium Member

Question 208

Report Export Collapse

You have a simple Terraform configuration containing one virtual machine (VM) in a cloud provider. You run terraform apply and the VM is created successfully. What will happen if you terraform apply again immediately afterward without changing any Terraform code?

Become a Premium Member for full access
  Unlock Premium Member

Question 209

Report Export Collapse

Which statement describes a goal of Infrastructure as Code (IaC)?

Become a Premium Member for full access
  Unlock Premium Member

Question 210

Report Export Collapse

terraform init creates an example main.tf file in the current directory.

Become a Premium Member for full access
  Unlock Premium Member
Total 230 questions
Go to page: of 23