This post has info and a demo file for tracking responses to custom questions/surveys:
TIP: Track Responses to Custom Questions or Surveys - Articulate Storyline Discussions - E-Learning Heroes
Note: Its method is for using the responses within a course. In other words, the results aren't submitted to an LMS/LRS.
If you want the results submitted to an LMS/LRS, use multiple choice, multiple response, and/or text-entry Survey questions. You can use variables to track the responses for those types of questions, and that would allow you to display the previous answers when the user repeats the survey at the end of the module.
Note that you have to include a Survey Results slide to submit the responses to the LMS/LRS.