Question 410
An infrastructure template takes a department prefix from deployment input and computes a standardized name suffix internally. What distinction is appropriate?
Explanation
Correct Answer
Parameters expose intended inputs while variables derive internal values within the template. This reduces unnecessary user-supplied configuration.
Incorrect Answers
Hard-coding the external input undermines reuse when the prefix should be supplied for each deployment.
Derived values are more reliably generated inside the template than duplicated as mandatory external input.
Bicep supports expressions and variables for internal derived values; a fixed parameter-file name needlessly duplicates logic.