Question 560
Brightside Cloud Works requires independent evidence before signing off this Terraform correction: An engineer assumes the version argument works for every local or generic Git module source just as it does for Registry modules. Which controlled check would validate the remediation?
Explanation
Correct Answer
The module source resolves with the appropriate versioning syntax and init completes. This directly verifies the corrective action: Use version constraints for registry modules and use the source ref mechanism for generic Git module versioning. The measured result specifically addresses the failure at Brightside Cloud Works: An engineer assumes the version argument works for every local or generic Git module source just as it does for Registry modules.
Incorrect Answers
The application resources depend on the newly produced network output and plan with the correct VPC ID. This evidence would validate a DIFFERENT correction: Consume the networking module's output from the app module input rather than hardcoding a remote ID. That different correction addresses: A root module needs a VPC ID created by a networking module but copies an ID from another workspace. It does not establish that the Brightside Cloud Works issue has been corrected: An engineer assumes the version argument works for every local or generic Git module source just as it does for Registry modules. The relevant measured outcome is: The module source resolves with the appropriate versioning syntax and init completes.
terraform validate succeeds and both condition paths evaluate to the expected type. This evidence would validate a DIFFERENT correction: Make both branches return compatible types and keep the condition a Boolean expression. That different correction addresses: An operator uses a conditional expression with incompatible branch value types and receives a configuration type error. It does not establish that the Brightside Cloud Works issue has been corrected: An engineer assumes the version argument works for every local or generic Git module source just as it does for Registry modules. The relevant measured outcome is: The module source resolves with the appropriate versioning syntax and init completes.
The inspected state stays within approved secure storage and an external viewer cannot retrieve it. This evidence would validate a DIFFERENT correction: Treat pulled state as potentially sensitive and restrict its storage, sharing, and retention. That different correction addresses: A reviewer runs terraform state pull and stores the resulting JSON in a public issue tracker. It does not establish that the Brightside Cloud Works issue has been corrected: An engineer assumes the version argument works for every local or generic Git module source just as it does for Registry modules. The relevant measured outcome is: The module source resolves with the appropriate versioning syntax and init completes.