depending on how big your game is, that would be very complicated... basically you have all the questions and answers pulled off of an array, or dictionary, or 3rd party plugins lik rex's CSV, then link the question to the answers to be pulled (like an ID), then another ID to let the program know which is the right answer. I once developed a trivia game with more than 2000 questions , 4 alternatives per question, and the database was huge. (this is for automatic loading of the questions/answers)
if your game is small you can just code each question and answer 1 by 1, using groups or variables to define which question to show.. or using layers and making them visible/ invisible (1 question per layer)