A 50-year-old man presents with polyuria, polydipsia, and fatigue, with urinalysis showing high levels of ketones and glucose. What condition is suspected?
a) Hypothyroidism
b) Diabetic ketoacidosis
c) Hypoglycemia
d) Addison's disease