I can't believe what I'm reading. A university installed effectively spyware on your device, to watch you as you were sitting an exam?
I sat about a dozen university exams in the last couple of years and in no instance did I have someone staring at my face, or peeking over my shoulder, during them. There were always supervisors in the theater, but they mostly walked along the aisles of desks and made sure to be unobtrusive and quiet as a mouse.
I really don't see any justification for what you describe.