The combination of two popular phrases, 1) "Piece of cake" and 2) "Walk in the park." All of which typically mean that a task is simple or easy to complete.
Cake Walk can be used to add additional emphasis onto how easy the task performed is or was.
1. Of course I finished that homework, it was a cake walk.
2. That challenge was a cake walk, man. I hardly broke a sweat.