Your question is not entirely clear. If you are participating in an already prepared quiz/test, there are a fixed number of questions. If you create it yourself, you can choose the number of questions you need. I recently wrote a gun quiz and used this source https://phdessay.com/free-essays-on/gun-control/ as a template for questions and comments with interesting facts. Everything went well, and I could regulate the number of questions on my own.