I would not trust AI yet to be accurate enough to allow me to pass a test using it. My experience with it has been that it’s incorrect at least 50% of the time, sometimes in a minor way and sometimes in a big way. If you haven’t studied you won’t know what it is wrong about and you will look like a fool to your instructor.
Do I think it will reach a point where it is accurate enough to use for test cheating? Yes, probably. By that point I would hope all electronic devices would be banned when tests are taking place to reduce the ability to cheat.