In a large mixing bowl, whisk together the all-purpose flour, granulated sugar, baking soda, baking powder, and salt until evenly combined. Add the mashed bananas and finely shredded carrots, followed by the sour cream, milk, vegetable oil, eggs, and vanilla extract.