Diabetes mellitus type 2 state may occur; however, ketoacidosis is uncommon. Type 2 diabetes primarily occurs as a result of obesity and lack of exercise. Some people are more genetically at risk than others. Type 2 diabetes makes up about 90% of cases of diabetes, with the other 10% due primarily to diabetes mellitus type 1 and gestational diabetes. In diabetes mellitus type 1 there is a lower total level of insulin to control blood glucose, due to an autoimmune induced loss of insulin-producing beta cells in the pancreas. Diagnosis of diabetes is by blood tests such as fasting plasma glucose, oral glucose tolerance
Genetic causes of diabetes mellitus type 2 may feature diabetes, for example myotonic dystrophy and Friedreich's ataxia. Wolfram's syndrome is an autosomal recessive neurodegenerative disorder that first becomes evident in childhood. It consists of diabetes insipidus, diabetes mellitus, optic atrophy, and deafness, hence the acronym DIDMOAD. While obesity is an independent risk factor for type 2 diabetes that may be linked to lifestyle, obesity is also a trait that may be strongly inherited. Other research also shows that type 2 diabetes can cause obesity as an effect of the changes in metabolism and other deranged cell behavior attendant on insulin resistance. However, environmental factors (almost certainly diet