My previous answer was wrong. In fact, there was an episode where Little Pony was in the middle of an exam for Rainbow's Lightning Flying Cavalry, but Rainbow didn't know how to answer the questions and in the end, Twilight Sparkle (Purple Joy) helped her. This episode was called "Lightning Cavalry".