If you "ace" a test, you have scored very highly.
A fighter pilot who downs five or more enemy aircraft is called an ace.
In some sports, the best team player at a given position is called their ace.
An ace in tennis is a serve which the receiver is not even able to hit, winning the point in a single shot.