What does ‘cake’ mean?

( adj ) Easy, simple. I didn’t need to study so hard for that test. It was cake or a cake course.