- (Exam Topic 4)
Which provider authentication method prevents credentials from being stored in the state file?
Correct Answer:A
- (Exam Topic 3)
You have provisioned some aws resources in your test environment through Terraform for a POC work. After the POC, now you want to destroy the resources but before destroying them you want to check what resources will be getting destroyed through terraform. what are the options of doing that? (Select TWO)
Correct Answer:AD
https://learn.hashicorp.com/terraform/getting-started/destroy
- (Exam Topic 4)
Which command lets you experiment with Terraform's built-in functions?
Correct Answer:B
https://www.terraform.io/cli/commands/console
- (Exam Topic 4)
When does Sentinel enforce policy logic during a Terraform Enterprise run?
Correct Answer:C
"Enforcing policy checks on runs - Policies are checked when a run is performed, after the terraform plan but before it can be confirmed or the terraform apply is executed."
- (Exam Topic 1)
What command does Terraform require the first time you run it within a configuration directory?
Correct Answer:B
terraform init command is used to initialize a working directory containing Terraform configuration files. Reference: https://www.terraform.io/docs/cli/commands/init.html