Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Case Study Set

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)

  1. minValue

  2. maxValue

  3. minLength

  4. maxLength

Correct answers

  1. minValue

  2. 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.