Alina,
You are right, we ask "What are you studying?".
"I'm a five-year student at a medical university" sounds a little unnatural to me. We would probably leave out the words "five-year", ("I'm a student at a medical university") or even just say "I'm a student"/ "I'm a medical student"/"I'm at university".
Victoria