Does it look bad if you take an AP exam before the class?

I can’t take them in Grade 10. I can take them in Grade 11, if I do summer school to knock out the prerequisites, although I’m not sure if that’s even a good idea.