You can set answers to a survey as a required field only if they are shown on the checkout page. To do that, you just have to check the optionĀ “Required” during the survey configuration.
If you set the survey as required, users have to answer the survey before being able to complete the checkout and their order.