Just created a Screenr on creating a Drag and Drop Quiz with 2 attempts. The D&D resets after the first attempt; that is, the objects go back to their original position. On the second attempt, Learners are brought to the Incorrect layer. Of course, you can set up as many attempts as you want!
Uploading the story here. Have seen this question appear periodically, so thought it might be helpful to have a tutorial and an example.