TERRAFORM-ASSOCIATE-003 practice question 19 of 30
[Understand Terraform's Purpose and Use Cases] Which of these are benefits of using Sentinel with HCP Terraform/Terraform Cloud? (Pick the 2 correct responses)
Full set: 226 questionsSentinel is the policy-as-code framework that integrates with Terraform Cloud/HCP Terraform to evaluate a run before any infrastructure is applied. Policies can inspect the generated Terraform plan and configuration, so you can: • require that resources use only a predefined list of AMIs (guard-rail on image provenance) – a classic Sentinel example; • codify and automatically enforce many security best-practices (e.g., mandatory tags, restricted ports, cost limits) as part of every run. Sentinel itself does not manipulate secrets, and its policies are written in the Sentinel language, not HCL, so those capabilities are not benefits of Sentinel.
B. Sentinel policies are written in the Sentinel language; HCL is only the syntax for Terraform configuration, not Sentinel policy. C. Credential checkout/check-in is a Vault feature; Sentinel merely evaluates policy and has no key-management functions.
1. HashiCorp Terraform Cloud Docs – “Sentinel Overview”, ¶1-2, Example: “Allowed AMI IDs” (https://developer.hashicorp.com/terraform/cloud-docs/sentinel/overview)
2. HashiCorp Sentinel Language Specification – “Policies are written in the Sentinel language” (https://developer.hashicorp.com/sentinel/language/spec)
3. HashiCorp Terraform Cloud Docs – “Common Policy Sets: Security Best Practices” (https://developer.hashicorp.com/terraform/cloud-docs/sentinel/examples#security)
Keep practicing
Take the free TERRAFORM-ASSOCIATE-003 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other TERRAFORM-ASSOCIATE-003 practice questions
- Question 1[Understand Terraform Basics and CLI] If you update the version constraint in your Terraf…
- Question 2[Navigate Terraform State and Backends] Terraform variable names are saved in the state f…
- Question 3[Understand Terraform Basics and CLI] You modified your Terraform configuration and run T…
- Question 4[Understand Terraform Basics and CLI] You must use different Terraform commands depending…
- Question 6[Understand Terraform Basics and CLI] terraform init creates an example main.tf file in t…
- Question 7[Understand Terraform Basics and CLI] terraform validate confirms that your infrastructur…
