However, it's been suggested that eating foods that contain carbs could possibly increase the risk of dogs getting yeast infections. Yeast needs carbs for growth, but does that mean eating a diet that contains a lot of carbs increases the risk of yeast infections? The short answer not likely.