Leads4pass > HashiCorp > HashiCorp Certifications > TERRAFORM-ASSOCIATE-003 > TERRAFORM-ASSOCIATE-003 Online Practice Questions and Answers

TERRAFORM-ASSOCIATE-003 Online Practice Questions and Answers

Questions 4

You much initialize your working directory before running terraform validate.

A. True

B. False

Buy Now
Questions 5

If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?

A. Run terraform refresh

B. It will happen automatically

C. Manually update the state fire

D. Run terraform import

Buy Now
Questions 6

Which of these ate features of Terraform Cloud? Choose two correct answers.

A. Automated infrastructure deployment visualization

B. Automatic backups

C. A web-based user interface (Ul)

D. Remote state storage

Buy Now
Questions 7

What is one disadvantage of using dynamic blocks in Terraform?

A. Dynamic blocks can construct repeatable nested blocks

B. Terraform will run more slowly

C. They cannot be used to loop through a list of values

D. They make configuration harder to read and understand

Buy Now
Questions 8

You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead. What are the two things you must do to achieve this? Choose two correct answers.

A. Run the terraform Import-gcp command

B. Write Terraform configuration for the existing VMs

C. Use the terraform import command for the existing VMs

D. Provision new VMs using Terraform with the same VM names

Buy Now
Questions 9

Your DevOps team is currently using the local backend for your Terraform configuration. You would like to move to a remote backend to store the state file in a central location. Which of the following backends would not work?

A. Artifactory

B. Amazon S3

C. Terraform Cloud

D. Git

Buy Now
Questions 10

You have created a main.tf Terraform configuration consisting of an application server, a database and a load balanced. You ran terraform apply and Terraform created all of the resources successfully. Now you realize that you do not actually need the load balancer, so you run terraform destroy without any flags. What will happen?

A. Terraform will prompt you to pick which resource you want to destroy

B. Terraform will destroy the application server because it is listed first in the code

C. Terraform will prompt you to confirm that you want to destroy all the infrastructure

D. Terraform will destroy the main, tf file

E. Terraform will immediately destroy all the infrastructure

Buy Now
Questions 11

One remote backend configuration always maps to a single remote workspace.

A. True

B. False

Buy Now
Questions 12

You are working on some new application features and you want to spin up a copy of your production deployment to perform some quick tests. In order to avoid having to configure a new state backend, what open source Terraform feature would allow you create multiple states but still be associated with your current code?

A. Terraform data sources

B. Terraform local values

C. Terraform modules

D. Terraform workspaces

E. None of the above

Buy Now
Questions 13

Terraform variable names are saved in the state file.

A. True

B. False

Buy Now
Exam Name: HashiCorp Certified: Terraform Associate (003) (HCTA0-003)
Last Update: Feb 13, 2025
Questions: 195
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99