Being active can greatly lower your risk of getting type 2 diabetes, even if the condition runs in your family.