The "three strikes" is a good rule of thumb for academics, but even that isn't set in stone.
Unless the rules have changed since July when I was in API, they are very serious about the Three Strikes policy. If you fail three exams in API, you can kiss your aviation career goodbye.