Moodle shared question banks

Shared question banks let teams build and reuse assessment content across courses instead of rebuilding it in each one. This page covers the design decisions, migration steps and effort drivers to plan before you change how questions are stored.

On this page

Why teams move to shared Moodle question banks

Course teams that reuse questions through course-level banks usually discover the problem the hard way: the same question exists in five courses, each copy has been edited slightly differently, and nobody can say which version a grade was based on. A shared question bank fixes this by keeping one maintained set of questions that many courses draw from. In Moodle, that capability comes from the qbank activity module, which ships in core alongside the quiz module (the public/mod directory of the Moodle GitHub repository lists both). Quizzes reference questions in a bank rather than owning copies, so an edit made in the bank is the version every quiz uses from that point on. Confirm this behavior on your own build, because quizzes already attempted keep the question data captured at the time of the attempt.

Shared banks make sense when several courses or departments draw from the same assessed material, when exam or certification content needs a single owner and review trail, or when instructors change often and the institution needs questions to outlive any one course. They are less useful for one-off courses with unique content, where a course-level bank is simpler to manage. The decision also depends on your permissions model: a shared bank is only as governed as the roles that can edit it, so map who may create, edit and move questions before you migrate anything. Ask your Moodle administrator to document the current course-level banks and their usage, since that inventory determines the migration effort.

Before committing, confirm three things in your environment: which Moodle release you will run, since the bank tooling changed in Moodle 5.0 and again in Moodle 5.2; whether your existing questions are already in a form that can be moved; and who will own each bank after go-live. Treat the shared bank as a governed content asset with named owners, not as a convenience folder, because the benefits of centralization disappear quickly when ownership is unclear.

What the qbank module does in Moodle 5.x

The qbank module is the core component that stores questions outside individual quizzes so several courses can draw on the same bank. Moodle 5.0 and 5.2 added the features that decide how a bank is organized, searched and maintained, and each card below covers one of them.

Shared bank improvements in 5.0

Moodle 5.0 reworked how shared question banks behave, so a bank can serve many courses without each course holding its own copy of a question. For a question owner, the practical change is that edits and reviews happen in one place. Before you rely on a bank for graded assessment, confirm which courses reference it and who may edit it, because a change to a shared question affects every quiz that uses it.

Moodle 5.0 notes

New question bank filters

Moodle 5.0 added filters to the bank view so owners can narrow questions by attributes such as type, category or creator. Filters matter most in large banks where a question owner needs to find a specific item quickly. Test the filters on a copy of your real bank, because a filter that works on a small sample can behave differently when a bank holds thousands of questions.

Collapsible question categories

Moodle 5.2 lets owners collapse question categories in the bank view. This keeps a deep category tree readable when a bank has many branches. Collapsing is a display change only, so it does not move or hide questions from quizzes that already reference them. Agree a category naming scheme before collapsing becomes part of daily work, so that people can find sections without expanding every branch.

In-place category renaming

Moodle 5.2 allows a category to be renamed directly in the bank view without opening a separate settings form. A rename changes the label that editors see, and it is worth checking that naming conventions used by reports, exports or import files still match. Restrict who can rename categories, since a renamed category can confuse editors who search for it by its old name.

Per-bank question counts

Moodle 5.2 shows the number of questions held in each bank. For a question owner this gives a quick check on bank size before a review, audit or migration. Counts describe what is stored, not how many questions are approved for use, so pair them with your own review status before publishing an exam from a bank.

Moving categories between banks

Moodle 5.2 allows a category to be moved from one bank to another. This is the change that matters most when teams reorganize shared content or split a course-level bank into a shared one. Before moving a category, confirm which quizzes reference its questions, because a move changes where those questions live and can affect access for the teams that use them.

Moodle 5.2 notes

How shared banks, categories and filters fit together

Moodle 5.x organizes questions in a hierarchy that decides who can see and edit them. A question bank is an activity module (the qbank module ships in core alongside the quiz module), and each bank holds a tree of question categories. Questions sit inside a category, not directly in a course. A course or quiz does not copy questions from a shared bank. It draws them in by reference, so a question used in ten quizzes exists once in the bank. Shared banks are normally placed at the category or course-independent context level, which controls who can reach them, while the banks themselves hold the questions. Before you build, map which teams need read access, which need edit rights, and whether any bank must sit in a single course context. Confirm the exact capability names against your own Moodle 5.x instance, because the permission set has changed between releases.

Filters are how authors find questions inside a large bank. Moodle 5.0 added new question bank filters and improved shared bank behavior, and Moodle 5.2 added collapsible question categories, in-place renaming, per-bank question counts and moving categories between banks. Those 5.2 changes matter for reorganizing a bank that has grown over several years, but they do not change the underlying rule that an edit to a question changes it everywhere it is used. Illustrative example: a biology team edits one true-false question to fix a wording error, and every quiz that draws that question now shows the corrected text. Teams that previously reused questions through course-level banks need to plan for this propagation, and for the fact that course-level banks are not visible to other courses once they are copied out of the course.

Choosing a bank structure by team situation

A single shared bank gives every course one place to draw questions from. It suits institutions where assessment standards are set centrally, where the same competency or compliance content appears in many courses, or where a small central team owns quality. The main risk is that anyone with edit rights can change a question that other courses already use, so the governance has to be explicit before content goes in.

  • Named owner: assign one accountable role for the bank, with a backup, and record who can approve new categories at the top level.
  • Edit rights: limit editing to a defined group of question writers, and let course teachers use questions without changing them.
  • Category design: agree a top-level taxonomy (for example, by subject or year level) before import so categories do not sprawl.
  • Change control: decide whether edits to a question in use should be made as new versions or in place, and who signs off either way.
  • Scale of reuse: the more courses that depend on one question, the more a careless edit spreads, so review high-use questions first.

Before you commit, confirm with your Moodle administrators which capabilities your role model grants at system and category level, and test them with a non-admin account.

Configuration decisions to settle before migration

This table compares the main decisions to settle before moving questions into shared banks, with the options for each, when they fit and what they change in quizzes already in use. Read each row as a decision to record before any import starts, since several of them are hard to reverse once quizzes reference questions.

DecisionOptions and when they fitWhat it affects in existing quizzes
Bank ownership and permissionsOne bank owned by a central team for institution-wide reuse, or one bank per department for local control. Confirm which roles can add, edit and move questions in your environment.Quizzes keep referencing questions wherever they live, so ownership changes affect who can edit a question a live quiz uses, not whether the quiz still runs.
Category taxonomyOrganize by subject and topic, by course code, or by assessment type. Choose the level that matches how instructors search for questions when they build a quiz.Moving categories between banks in Moodle 5.2 changes where questions sit, so a taxonomy redesign after go-live creates more churn than one settled early.
Naming and tagging conventionsShort, consistent category names plus tags for difficulty, learning outcome or language. Write the convention down and enforce it through a review step.Renaming categories in place is supported in Moodle 5.2, but names used in reports, imports and exported files may still need checking after a rename.
Moodle version in useSites on 5.0 or later get shared bank improvements and filters described in the 5.0 notes. Sites on 5.2 also get collapsible categories, per-bank counts and category moves. Confirm your upgrade path first.Features used to design the bank must exist on the version you run, so an upgrade after build can change the working method for instructors.
Question retirementHide or move retired questions to an archive category, or delete them after a review period. Choose based on whether past attempts and audit needs require the original text.Deleting a question that a quiz still uses is blocked or breaks the quiz, so check usage in every course before retiring anything.
Course-level bank migration pathKeep course-level banks for courses that stay isolated, or move them into shared banks in batches by department. Pilot one batch before the full move.Quizzes in migrated courses must be checked after each batch, because question references change even when the content looks the same.

How a shared question bank rollout runs

This sequence moves question content from scattered course-level banks into governed shared banks, with each step ending in a document or tested artifact that the next step depends on. Done in order, it lets quizzes keep working while authors change how they find and reuse questions.

  1. Audit existing course-level banks

    Inventory every course that holds questions, the number of questions and categories in each, which quizzes draw on them, and which questions are reused across courses. Compare the audit with the question import formats your authors have used, so you know what the migration must preserve. The audit is done when a spreadsheet or report lists every course bank, its owners, its linked quizzes and any duplicated question sets, and the owning team has confirmed it.

  2. Agree the taxonomy and permissions

    Work with academic leads to define the top-level categories for the shared banks, naming rules, and which roles may create, edit, move or delete questions in each bank. Record who approves changes to the taxonomy and how retired questions are archived. The output is a taxonomy document and a permissions matrix, signed off by the owners of the subjects or programs that will use the banks.

  3. Confirm the Moodle version and upgrade path

    Check the Moodle version your site runs against the release you plan to use, and confirm the server requirements and minimum starting version in the release notes before any change to the question bank. Confirm the database, PHP and web server changes with your platform team and plan a test upgrade on a copy of the site. The output is a version decision record and a tested upgrade on a staging site that shows the question banks load and quizzes still open.

  4. Build the target banks and a pilot bank

    Create the shared banks and their category structure following the taxonomy document, then load a pilot set of questions into one bank and link it to a small number of quizzes. Use the import formats that ship in Moodle core where existing questions can be exported. The output is a pilot bank with its category tree in place and a list of questions that imported cleanly, checked against the audit inventory.

  5. Move categories between banks

    Move categories from the course-level banks into the target shared banks in the agreed order, starting with the pilot. Moodle 5.2 added the ability to move categories between banks, so confirm that your version supports it before relying on this step. After each move, compare question counts per category against the audit. The output is a move log that records each category, its source, its destination and the matching question count.

  6. Test quizzes that reference moved questions

    Open each quiz that uses moved questions and check that the question pool, random selections and feedback still behave as expected. Run a test attempt for each quiz type that matters to your program, including any exam-style quizzes, and check grading and reports. Record defects and fix them before the next wave of moves. The output is a signed test record listing each quiz, the test attempts run and the results, approved by the quiz owners.

  7. Train authors and sign off the rollout

    Run sessions for question authors and course designers on the new bank structure, the permissions model and how to find and reuse questions across courses. Publish a short guide for your site and point authors to the owners who approve changes. Close the rollout with a sign-off record that confirms the migration is complete, the old course banks are retired or archived, and the owners have accepted responsibility for the shared banks.

What drives effort and cost on a question bank project

This table lists the main drivers of effort and cost in a Moodle shared question bank project and how to keep each one manageable. Read it to see which factors your own inventory and team setup will push up, and use it to shape the scope you request from a partner or plan internally. Ask every provider for a written scope and quote rather than relying on general estimates.

DriverWhy it changes effort or costHow to keep it down
Number of courses and quizzes that reference questionsEvery course-level bank, quiz and random question slot must be found, mapped to a shared bank and retested. Effort grows with each course, and with each quiz that uses random selection from a category.Inventory courses and quizzes first. Group courses by subject, move the most-reused questions into one shared bank, and migrate low-use courses in a later wave.
Quality and consistency of existing questionsDuplicate questions, unclear names, inconsistent tagging and outdated content all need review before they can be shared safely. Question text may also depend on course-specific context.Run a duplicate and naming check on a sample before scoping. Agree a retirement rule for stale questions and decide who signs off content changes.
Number of question ownersEach owner has different categories, permissions and naming habits. More owners mean more agreement on who edits which category and more review cycles.Assign one accountable owner per category. Set capability rules in the shared bank so authors can edit only their own areas.
Version gaps and upgrade workShared bank features depend on the Moodle release in use. Sites on older releases may need upgrade steps, server changes and retesting before the bank work can start. Confirm the minimum starting version for your target release in the Moodle 5.1 and 5.3 release notes.Confirm your current version and the target release early. Upgrade before the migration if the gap is large, and check PHP and database requirements in the release notes.
Feature differences between releasesMoodle 5.0 added shared question bank improvements and new filters. Moodle 5.2 added collapsible categories, in-place renaming, per-bank question counts and moving categories between banks. Teams on older releases may need different steps or workarounds.Document which features your target release provides, then design categories and naming around them. Test the filters and category moves with real users before rollout.
Training needsAuthors, quiz builders and course designers must learn where shared banks sit, how to add questions from them and how to use the new filters. Without training, teams create new course-level copies, which undoes the benefit.Prepare short role-based guides and a sandbox course. Plan a short review after the first term to catch habits that create duplicates.
Testing of quizzes that use shared questionsRandom slots, question versions and category changes can alter quiz results. Each quiz that draws from a shared bank should be checked before the old bank is retired.Test a representative set of quizzes, including exam-style ones, and record expected results. Ask the provider to include this check in the written scope.

How courses, quizzes and shared banks connect

The diagram starts with a course-level bank, which holds questions inside one course and is used by that course's quizzes. Moving categories into a shared qbank module instance lets several courses draw from the same questions through the question bank filters that authors apply when adding questions to a quiz. Before migrating, check which courses reuse the same categories, because a category that moves to a shared bank is no longer owned by one course. Confirm the filters your authors use against the Moodle 5.0 and 5.2 release notes for your version.

Question flow from course banks and shared banks into quiz attempts.

How question banks connect to the rest of the Moodle platform

A shared question bank is only as useful as its links to quizzes, backups, imports and access control, and each of these can change who sees or edits questions. Start by listing every course that will draw from a bank, then check how each one reaches it. Quizzes pull questions by reference, so a question stays in the bank and a quiz holds a pointer to it, not a copy. Editing or deleting a question therefore changes every quiz that uses it, and that is the first thing a question owner should understand before reorganizing categories.

Course backup and restore behave differently depending on where a bank lives. Questions held in a course-level bank travel with that course, while questions in a shared bank are referenced from other courses and must be confirmed as present in the target site before a restore is treated as complete. Test a restore of one quiz that uses a shared bank on a staging copy of your site, and check that the quiz still resolves its questions. Import formats such as GIFT, Aiken and Moodle XML bring questions into a bank, but they do not carry the access rules around it, so the people allowed to import must be set separately. Confirm the import formats your content owners use against the Moodle version you run, using the Moodle 5.2 release notes for category and bank changes.

Access to a bank comes from Moodle roles and capabilities assigned in the context where the bank sits, so the bank's location is an access decision. Enrolment methods, including any sync from an identity provider or course provisioning feed, decide who holds a teacher role in each course, and those memberships determine who can reach questions in course-level banks. Where a provisioning job removes a teacher from a course, confirm whether that person also loses edit rights on bank content they created, and confirm how orphaned questions are reassigned. Identity provider changes such as deprovisioning or group renames should be tested against a sample bank, because they can silently widen or narrow access to questions that students or exam owners depend on.

Questions buyers ask before hiring help with question banks

What drives the cost of a Moodle question bank project?

The cost follows the amount and state of the work, not the feature itself. The main drivers are how many question banks and categories exist, how many questions need review, how many courses and quizzes reference them, and whether questions move through a file import or are rebuilt by hand. Who is paid matters too: an engagement covers the planning, the moves, the testing and the handover, while your course designers still own the content decisions. Ask any quote to list the banks in scope, the question counts, the courses that reuse them and the verification steps. Ask whether the price is fixed to that written scope and what a change in scope would add.

How long does a question bank move usually take?

Duration depends mostly on size and on how many quizzes depend on the banks being changed. A small set of banks used by one course is a short piece of work. A college-wide library of thousands of questions, reused across many courses and exam quizzes, needs more time for mapping, test runs and sign-off by the people who own the content. No fixed duration is given here because none has been researched for this work. Ask for a timeline that lists the phases, the client reviews, and the dates that depend on your course calendar, such as an exam period you must avoid.

What do our course designers and administrators need to provide?

Course designers need to name the owner of each question category, say which questions are retired, and confirm which quizzes must not change during term. Administrators need to provide a staging copy of the site, access to the question bank settings, and a decision on who may create shared banks and who may move categories between them. Your team should also list any quiz that uses random questions from a category, because those quizzes depend on the category structure. Ask the partner to name these inputs in the written scope so that the work does not stall while people look for them.

Can an internal Moodle team move question banks without a partner?

Yes, a capable internal team can do this work if it has time, a staging environment and someone who understands how quizzes reference questions. Moodle 5.2 added collapsible question categories, in-place renaming, per-bank question counts and moving categories between banks, which simplifies much of the manual tidying. The risks are in the details: quizzes that break after a change, duplicate questions created by an import, and exam settings that were not reviewed. Ask your own team to write a test plan covering a sample of quizzes before deciding. A partner is most useful when the volume is large, the deadline is fixed, or the team has no time to test properly.

What happens to existing quizzes after questions move to a shared bank?

Quizzes keep working as long as the questions they use remain in place and the quiz still points to them. Moving a category between banks changes where the questions are stored, so each quiz that uses those questions must be checked after the move. Random questions drawn from a category need particular attention, because the category they draw from must still exist with the same contents. Ask for a list of every quiz affected, a test attempt on each one, and a rollback plan on the staging copy before any change reaches production. Keep the original backup until the results are signed off.

Which Moodle version should we target for a shared question bank?

Target a version that is still supported for the period you plan to run, and check the question bank features against that release. Moodle 5.2 added the category and bank management improvements described above, and Moodle 5.0 made shared question bank improvements and added new filters. Moodle 5.1 requires 64-bit PHP 8.2 or later and PostgreSQL 15, MySQL 8.4, MariaDB 10.11 or Microsoft SQL Server 2017 or later, and sites must be on Moodle 4.2.3 or later to upgrade. Moodle 5.3 requires PHP 8.3 or later and sites must run Moodle 4.4 or later to upgrade. Confirm the support dates on the release pages before you choose.

Does the work change how the Moodle site is hosted or secured?

Moving question banks changes database content and course settings, not the server stack, but it still needs the same care as any change to a production site. Take a full backup before the work, run the move on a staging copy built from production, and limit who can edit shared banks once they are in use. Permissions on shared banks determine who can see and change questions that many courses depend on. Ask the partner how access will be reviewed after the move and whether audit logs will show who changed a bank or category.

How DeployOpen works on this

DeployOpen plans, implements, customizes, documents and supports self-hosted Moodle inside your own infrastructure, including the shared question bank design described on this page. Work starts from a written scope that sets which banks, categories and filters are in scope, and the build, testing and handover follow that agreement.

How we scope

  • Inventory which courses, quizzes and question banks reuse questions today, and who owns each set
  • Decide which banks become shared, which stay course-level, and how categories will be grouped
  • Confirm your Moodle version and whether the qbank module and 5.2 category tools fit your upgrade plan
  • Agree the written scope, deliverables and timelines before any build work begins

How we build

  • Configure shared banks, category structure and access so question reuse follows your teaching model
  • Set up the question bank filters and move categories between banks under a tested, documented procedure
  • Test imports, quiz builds and permission checks on a staging copy of your site before any change goes live
  • Keep changes to custom plugins or themes, if any, versioned and reviewed before deployment

How we hand over

  • Document the bank structure, naming rules, ownership roles and the steps to add or move questions
  • Provide a runbook for moving categories and for restoring a bank from backup
  • Train course designers and administrators on the workflow with the configured site
  • Deliver the written configuration record so your team can review it without relying on us

How we support

  • Plan upgrades around the Moodle release schedule and retest question bank behavior before each move
  • Review permissions and bank ownership on a schedule your team agrees with us
  • Offer ongoing support and upgrades as a retainer, scoped in writing alongside the initial work
  • Ask us to confirm the support terms in your quote, since these depend on your agreed scope

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.