I am building a simple quiz app that will allow a user to choose various categories and generate a 5 question quiz to test their knowledge. I have a long list of questions setup in AppSync accessible via GraphQL. However, as that list keeps growing, it doesn’t make sense for me to pull these to the client and randomly select there. 

Does GraphQL support choosing random 5 from a query? Such that, serverside, I can select just 5 records at random?

```
 query listAll {
  listQuestions(filter: {
    topic: {
      contains: "chocolate"
    }
  }) {
    items {
      question
      answer
    }
  }
}

```

I have thought about other approaches such as randomly assigning each record a number and filtering on this, but this would not be random each time. 

Any ideas?