- (Exam Topic 1)
Terraform can import modules from a number of sources – which of the following is not a valid source?
Correct Answer:
A
https://www.terraform.io/language/modules/sources
- (Exam Topic 4)
You're writing a Terraform configuration that needs to read input from a local file called id_rsa.pub. Which built-in Terraform function can you use to import the file's contents as a string?
Correct Answer:
D
https://www.terraform.io/language/functions/file
- (Exam Topic 2)
Which of the following Terraform files should be ignored by Git when committing code to a repo? (select Three)
Correct Answer:
ABD
The .gitignore file should be configured to ignore Terraform files that either contain sensitive data or are not required to save.
Terraform state (terraform.tfstate) can contain sensitive data, depending on the resources in use and your definition of "sensitive." The state contains resource IDs and all resource attributes. For resources such as databases, this may contain initial passwords.
When using local state, state is stored in plain-text JSON files.
The terraform.tfvars file may contain sensitive data, such as passwords or IP addresses of an environment that you may not want to share with others.
- (Exam Topic 4)
Select all features which are exclusive to Terraform Enterprise. (Select Three)
Correct Answer:
CDE
Sentinel and Cost Estimation are also available in Terraform Cloud https://www.hashicorp.com/products/terraform/pricing/
- (Exam Topic 2)
Which of the below are paid features of Terraform Cloud?
Correct Answer:
CDF
https://www.hashicorp.com/products/terraform/pricing/