There will be quizzes that you need only logged in users to be able to access. To set this up, begin by editing your quiz.
Next, navigate to the Options tab. Set the “Should the user be required to be logged in to take this quiz?” option to Yes.
Then, go to the Text tab. Customize the “Message Displayed If User Is Not Logged In And Quiz Requires Users To Be Logged In” text.
Now, if a non-logged in user tries to access the quiz and you require them to be logged in, the user will see this text instead of the quiz.