- (Exam Topic 1)
You would like to reuse the same Terraform configuration for your development and production environments with a different state file for each.
Which command would you use?
Correct Answer:
B
https://www.terraform.io/language/state/workspaces#when-to-use-multiple-workspaces
- (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 3)
Why is it a good idea to declare the required version of a provider in a Terraform configuration file?
* 1. terraform
* 2. {
* 3. required_providers
* 4. {
* 5. aws = "~> 1.0"
* 6. }
* 7. }
Correct Answer:
C
- (Exam Topic 4)
Changing the Terraform backend from the default "local" backend to a different one after doing your first terraform apply is:
Correct Answer:
B
- (Exam Topic 1)
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?
Correct Answer:
A
https://www.terraform.io/cli/commands/taint