There are two options for quiz participants to get enrolled to a quiz:
To share a quiz with specific participants (Confluence users/groups or external participants without an account in Confluence), a quiz author needs to click the ‘Share quiz’ button on the quiz page.