Put (someone) on the spot

To ask someone embarrassing questions.

The teacher put me on the spot with her questions during the class.