Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 229


What are some benefits of using Sentinel with Terraform Cloud/Terraform Enterprise? (Choose three.)

Show Answer
Correct Answer: ABC

Using Sentinel with Terraform Cloud/Terraform Enterprise offers several significant benefits: Policy-as-code allows for the enforcement of security best practices, helping ensure that infrastructure adheres to organizational standards. It allows for restrictions on specific configurations, such as preventing the use of overly permissive CIDR blocks like 0.0.0.0/0. Additionally, Sentinel can enforce the use of a list of approved AWS AMIs, ensuring that only pre-validated images are used in deployments. These capabilities help manage security, compliance, and operational consistency within your infrastructure.

Discussion

5 comments
Sign in to comment
tbhtpOptions: ABC
Oct 1, 2024

A. Policy-as-code can enforce security best practices B. You can restrict specific configurations on resources like "CIDR=0.0.0.0/0" not allowed C. You can enforce a list of approved AWS AMIs Sentinel is a policy-as-code framework that integrates with Terraform Cloud and Terraform Enterprise, allowing you to enforce policies on your infrastructure as part of the provisioning process. By using Sentinel, you can enforce security best practices, restrict specific configurations such as disallowing overly permissive CIDR blocks, and maintain a list of approved AWS AMIs, among other things. This helps to ensure that your infrastructure is secure, compliant, and adheres to organizational standards.

oskarqOptions: ABC
Oct 25, 2024

Sentinel can be written in many languages but preferably domain-specific language (DSL) not HCL.

Oleg_golOptions: ABC
Nov 6, 2024

ABC - 🤝

hahanoOptions: ABC
Oct 1, 2024

You can't checkout keys, and you can't create custom HCL

campsOptions: ABC
Oct 1, 2024

Answer: A, B, C. Sentinel is a policy-as-code framework that can be used to enforce best practices and security policies on Terraform configurations. Sentinel can be used to restrict specific configurations on resources, enforce a list of approved AWS AMIs, and much more. Sentinel policies can be written in a variety of languages, including HashiCorp Configuration Language (HCL). However, checking out and checking in cloud access keys is not a feature provided by Sentinel.