Question 750
At Yellowcrest Manufacturing IT, an authorized infrastructure engineering team manages a Terraform 1.12 and HCP Terraform environment. The team encounters the following situation: a team downloads a remote archive module without verifying its release revision or integrity. Choose the technically best Terraform Associate 004 practice response to this particular infrastructure case. What mechanism explains why the original approach fails?
Explanation
Correct Answer
Fetching mutable unaudited module archives can change infrastructure code unexpectedly. That mechanism distinguishes module reuse from versioned archive in the Yellowcrest Manufacturing IT case. The corresponding appropriate correction is: Use a trusted immutable source reference and review provenance before initialization. The measurable acceptance test is: Fresh initialization resolves the approved artifact and its content is reviewable.
Incorrect Answers
This alternative is valid when an unpinned Git module source can move independently of the caller configuration. The facts here establish a different controlling reason: Fetching mutable unaudited module archives can change infrastructure code unexpectedly.
“Variables without defaults require a supplied value at the module boundary” reflects the mechanism: Variables without defaults require a supplied value at the module boundary. The actual reported symptoms are better explained by: Fetching mutable unaudited module archives can change infrastructure code unexpectedly.
The offered principle describes: The dependency lock file preserves previously selected versions until an upgrade is explicitly requested. The situation in this question instead depends on: Fetching mutable unaudited module archives can change infrastructure code unexpectedly. These are different technical conditions.