A multiple issue. The normal usage would be: 'Q: Have you eaten the cake? ' with the present perfect used to question a possible action sometime in the undefined past up until now, and the simple past used to express the completed fact.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.