You must take the course in previous semester and score A or in undergrad, you must have to score either A+ or A. However everything depends on the Professor because He will make the decision in the end. Almost 80% graduate courses have 1 or more TA. So, apply through Employee portal and always visit professor's office.