To answer your question, that would be academic medicine.
But whatever school that is I would drop because that is just a horribly stupid question. Just kidding, but this question because is a really dumb one.
Many very prominent primary care doctors have millions in research funding, so how do you separate that from “academic medicine.” Furthermore, how is research vs academic different (nobody in the real world would say they are - there is academic medicine with focuses on research, teaching, or operations but they all fall under the umbrella of academic medicine).
Long story short - academic medicine is traditionally a career where time is split in the pursuit of teaching, research, and clinical care (the three pillars). More colloquially it’s used to mean mean basically anybody practicing in a hospital associated with a university. There is no such thing as “research medicine” or “primary care medicine” on the spectrum of academic medicine to community based medicine (including things like private practice). It’s also never this black and white - many community hospitals have residents and so faculty can be practicing community medicine and teaching, and some academic hospitals house private practice groups who rent space from them.
So overall, it’s a dumb question and they should really just ask “where do you see yourself in 10 years” or something.