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

List of questions
Question 201

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

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

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

terraform validate uses provider APIs to verify your infrastructure settings.
Question 205

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

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?
Question 207

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

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?
Question 209

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

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