In question bank create category and subcategory both containing questions.
Add a random question to be drawn from the parent category.
Click edit icon for random question
Untick checkbox with parent category selected.
Re-open the random question for editing check box is ticked.