Doctors have to go to medical school for their education and preparation.
One of the following sentences is nonsensical. Which one is it?

A) "the preparation to become a doctor is to get a lawyer's qualification certificate"
B) "the preparation to become a lawyer is to get a lawyer's qualification certificate"