Cedric walked into the arena confident, which made you think he had a plan, and he really did. As soon as he saw the dragon, he took his wand out of his pocket and pointed it at some rock in the arena, surprising all the spectators. No one was able to hear the words due to the distance, but the stone transformed into a dog, a Labrador more specifically, which was more than enough to distract the dragon who switched targets.