Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Certification
Study Set
HashiCorp
Exam 1: HashiCorp Certified: Terraform Associate
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
Which of the following is the correct way to pass the value in the variable num_servers into a module with the input servers?
Question 2
Multiple Choice
If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?
Question 3
True/False
Terraform requires the Go runtime as a prerequisite for installation.
Question 4
Multiple Choice
You run a local-exec provisioner in a null resource called null_resource.run_script and realize that you need to rerun the script. Which of the following commands would you use first?
Question 5
Multiple Choice
Terraform can import modules from a number of sources - which of the following is not a valid source?
Question 6
Multiple Choice
Why would you use the terraform taint command?
Question 7
Multiple Choice
Which of the following is available only in Terraform Enterprise or Cloud workspaces and not in Terraform CLI?
Question 8
Multiple Choice
Which of the following is not a valid string function in Terraform?
Question 9
True/False
Terraform variables and outputs that set the "description" argument will store that description in the state file.
Question 10
Multiple Choice
When should you use the force-unlock command?
Question 11
Multiple Choice
What information does the public Terraform Module Registry automatically expose about published modules?
Question 12
True/False
If a module uses a local variable, you can expose that value with a terraform output.
Question 13
Multiple Choice
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?
Question 14
Multiple Choice
What command does Terraform require the first time you run it within a configuration directory?
Question 15
True/False
One remote backend configuration always maps to a single remote workspace.
Question 16
Multiple Choice
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?
Question 17
Multiple Choice
What does the default "local" Terraform backend store?
Question 18
Multiple Choice
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.)
Question 19
Multiple Choice
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.)
Question 20
Multiple Choice
How is the Terraform remote backend different than other state backends such as S3, Consul, etc.?
showing 1 - 20 of 33
Prev
Next
Prev
1
2
Next
Related Quizzes
Previous slide
Next slide
Access For Free