HashiCorp Certified: Terraform Associate — Question 296

When does Sentinel enforce policy logic during a Terraform Enterprise run?

Answer options

Correct answer: C

Explanation

The correct answer is C, as Sentinel policies are enforced just before the apply phase to ensure compliance with organizational rules before any changes are made. Options A and B are incorrect because policy enforcement doesn't occur before or during the planning phase. Option D is also incorrect since policy checks should happen before any resources are applied.