I am sorry.
If it were me, I'd want to find out what policy it was exactly that I violated.
If she was given the test, was it against policy to show it to anyone for example?
My gosh, she was supposed to keep this paper in complete confidence, and secure it beyond all possibility of anyone seeing it? Come on, that sounds crazy. If they didn't want it sent out, then don't give it back to the student. Otherwise, it's in the hand of whatever happens. What if she brought it home, and someone else took a picture of it? This sounds out of control to me anyway.
When I was in school, we couldn't afford to be buying cameras and sending out <gasp> emails.
But I'm quite sure it's common today.
I'd be talking to a lawyer if I were her. It may not have been the greatest move in the world to send out a pic of her test, but come on. It's rather easy to see how something like this would happen.
It's rather sad actually. She's excited for her grade, and gets punished for being happy. How foolish is that?