Exam 1: HashiCorp Certified: Terraform Associate
Exam 1: HashiCorp Certified: Terraform Associate33 Questions
Select questions type
When using a module block to reference a module stored on the public Terraform Module Registry such as:
How do you specify version 1.0.0?

Free
(Multiple Choice)
4.9/5
(33)
Correct Answer:
A
What is one disadvantage of using dynamic blocks in Terraform?
Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
A
What is the name assigned by Terraform to reference this resource? 

Free
(Multiple Choice)
4.8/5
(40)
Correct Answer:
D
If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?
(Multiple Choice)
4.8/5
(45)
One remote backend configuration always maps to a single remote workspace.
(True/False)
4.8/5
(36)
What features does the hosted service Terraform Cloud provide? (Choose two.)
(Multiple Choice)
4.7/5
(30)
Which of the following is the correct way to pass the value in the variable num_servers into a module with the input servers?
(Multiple Choice)
4.9/5
(35)
When does terraform apply reflect changes in the cloud environment?
(Multiple Choice)
5.0/5
(37)
What value does the Terraform Cloud/Terraform Enterprise private module registry provide over the public Terraform Module Registry?
(Multiple Choice)
4.9/5
(35)
You have recently started a new job at a retailer as an engineer. As part of this new role, you have been tasked with evaluating multiple outages that occurred during peak shopping time during the holiday season. Your investigation found that the team is manually deploying new compute instances and configuring each compute instance manually. This has led to inconsistent configuration between each compute instance. How would you solve this using infrastructure as code?
(Multiple Choice)
4.8/5
(32)
You have used Terraform to create an ephemeral development environment in the cloud and are now ready to destroy all the infrastructure described by your Terraform configuration. To be safe, you would like to first see all the infrastructure that will be deleted by Terraform. Which command should you use to show all of the resources that will be deleted? (Choose two.)
(Multiple Choice)
4.9/5
(31)
If a module uses a local variable, you can expose that value with a terraform output.
(True/False)
4.7/5
(28)
You have multiple team members collaborating on infrastructure as code (IaC) using Terraform, and want to apply formatting standards for readability. How can you format Terraform HCL (HashiCorp Configuration Language) code according to standard Terraform style convention?
(Multiple Choice)
4.9/5
(33)
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.)
(Multiple Choice)
4.7/5
(32)
Which of the following is available only in Terraform Enterprise or Cloud workspaces and not in Terraform CLI?
(Multiple Choice)
4.8/5
(40)
What information does the public Terraform Module Registry automatically expose about published modules?
(Multiple Choice)
4.8/5
(45)
Which option can not be used to keep secrets out of Terraform configuration files?
(Multiple Choice)
4.8/5
(24)
Examine the following Terraform configuration, which uses the data source for an AWS AMI. What value should you enter for the ami argument in the AWS instance resource? 

(Multiple Choice)
4.8/5
(37)
Showing 1 - 20 of 33
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)