You can be cut at anytime up until when you get your wings. The failure rate is well over 50%. They say that there is only about a 7% chance of getting onto fast jets as well.
Just because you get an offer doesn't mean that it is plain sailing, the work has only just begun.