Sharing question banks

From MoodleDocs

New feature
in Moodle 5.0!


Starting from Moodle 5.0 you can share question banks (and the questions in them) across courses!

A user with the teacher role in any two (or more) courses can view the question banks from these courses in any one of those courses.

A teacher can for example:

  • Use question banks from quiz A in quiz B when these quizzes are in the same course
  • Use question banks from course 1 in another course 2 themselves, OR
  • Share question banks from course 1 with other teachers in course 2 or 3 and so on.


In the first two scenarios above, a teacher in course 1 can by default view and use questions banks from course 1 in different quizzes in the course, as well as other courses they are also enrolled in as teachers.

In the last scenario, a teacher A (in course 1) who wishes to allow another teacher B to use (but not edit) questions from a question bank in course 1 in another course can accomplish this by enrolling teacher B in course 1 as a non-editing teacher. Teacher B will now be able to view and use the question banks from course 1 in course 2 or 3 and so on.

For this last scenario to work, the non-editing teacher role needs the capabilities "moodle/question:viewall" and "moodle/question:useall". The capability "moodle/question:viewall" allows the non-editing teacher to see the questions in the question bank. The capability "moodle/question:useall" allows the non-editing teacher to add the questions to a quiz in another course where he/she has the teacher role. By default, the non-editing teacher role has those capabilities. For information on how to change any role please refer to the Managing roles Docs.

See also