Question 370
A cloud migration team must expose a small set of validated network parameters instead of every internal provider option. Which Terraform feature or operation best meets this precise requirement?
Explanation
Correct Answer
Limited module inputs preserve abstraction boundaries. This meets the stated requirement to expose a small set of validated network parameters instead of every internal provider option.
Incorrect Answers
Versioned registry module release is intended to allow application teams to upgrade shared network behavior on their own schedule; registry versioning supports controlled reusable-code evolution. That is not the specific requirement to expose a small set of validated network parameters instead of every internal provider option.
Descriptive module outputs is intended to make an application module consume only the subnet ID that the network module intentionally exports; module outputs are its deliberate public return interface. That is not the specific requirement to expose a small set of validated network parameters instead of every internal provider option.
Module-local derived values is intended to calculate consistent resource names internally using environment and application inputs; local values simplify internal expressions without exposing new public inputs. That is not the specific requirement to expose a small set of validated network parameters instead of every internal provider option.






HashiCorp Certified: Terraform Associate (004) (Terraform Associate 004) Practice Tests