What is a Scrum Master?

I once did an agile Scrum training on mega large lean agile scrum scaling approaches with 50+ people in the room and hundreds of slides. At the end of the ordeal, I had no idea where to begin. Nor did most of the students that were learning with me. I got the certification though, so maybe it was worth it?