It was already reported last week that they had given him the questions.
Obama always had the questions before the debates in 2008. It was obvious that Obama was well prepared ahead of time.