Since you're going to work with Random questions, and you already have the basics I would like to forward you to MSDN for more details, but will give you the basic idea of implementation.
You can create a list of the questions from the database, and the List being another kind of array will let you get a question from it using the indexers, (eg, myList[0]; get the element at 1st index). Just to make sure that these are captured randomly, .NET would let you use a Random object to select randomness. The class
Random[
^] lets you do this.
You can create an instance of this class, and use it, to create a Random number on the run-time, to use that number to select the element (which is a string containing the question) from the list (which, when you're going to query the database will be returned as
IEnumerable<object></object>
) object.
The sample code for this would be like this,
var index = new Random().Next(100);
var question = questions[index];
.. you can then use it inside the HTML to render it like this,
<div>
<h3>@question.Title</h3>
<p>@question.Description</p>
</div>
.. this will do the thing for you. For more on this, and creating the Random numbers, do read that MSDN document attached.