It's not exercise that prevents type 2, it's not weighing too much. Other factors aside, weight is dictated by diet rather than exercise.
If you eat too much, your pancreas can only produce so much insulin before it can't handle the amount of ingested food.
You can be type 2 whether you're an out of shape fat fark or a ripped bodybuilder.