The Potential of LLMs in Medical Education: Generating Questions and Answers for Qualification Exams