Step-by-Step: Export Questions from a Quiz in Moodle
Log in to your Moodle site as a teacher or admin.
Go to your course where the quiz is located.
In the course menu, select More > Question bank (or click the gear icon and choose Question bank depending on your Moodle version).
In the Question bank, click the Export tab.
Choose the file format you want to export to:
Moodle XML format (recommended, especially if you want to re-import later)
GIFT format
Aiken format
XHTML, etc.
Under Export category, select the category that contains the quiz questions.
If you're not sure, check the question category used in your quiz. Usually, the questions are in a category named after the quiz or topic.
Click Export questions to file.
Moodle will generate a file and provide a download link. Click the link to download the exported file to your computer.