Although I set a maximum value in the numeric field, I can choose an arbitrarily high number.

The maximum value will be applied when you submit the questionnaire. Then an error message will be displayed.