Question 22 — AZ-104 Case Study Set
Paideffort later decides that a numeric capacity parameter must accept only values from 1 to 20. Which two parameter properties should be used to enforce this range? (Select two answers)
minValue
maxValue
minLength
maxLength
Correct answers
minValue
maxValue
Explanations
Correct Answer:
minValue
maxValue
Explanation:
Paideffort needs to constrain a numeric deployment parameter to a permitted range. minValue and maxValue are designed to enforce minimum and maximum values for integer parameters.
Wrong Answers:
minLength
minLength constrains the length of a string or array rather than the numeric value of an integer capacity setting.
maxLength
maxLength limits the length of strings or arrays. It does not enforce Paideffort's required integer range.