Jose Mourinho opted to switch around some of his personnel ahead of El Clasico in the Spanish league at the weekend—Kaka made a rare competitive start, as did Jose Callejon.
Real dominated much of the game with their attack-minded possession and got the goal their first-half play deserved thanks to Cristiano Ronaldo's tap-in from close range.
After the break, a special goal from Karim Benzema looked to have put the game beyond Ajax, but the home side fought back bravely for 20 minutes after Niklas Moisander made it 2-1.
A late brace from Ronaldo, securing his hat-trick, ended the resistance though and gave Real Madrid the win they deserved.
Here are the player ratings for the victorious side.