To ensure the cake remains gluten-free, use a certified gluten-free all-purpose flour blend. If your flour blend does not contain xanthan gum, add ½ teaspoon as listed. Always check product labels, especially for baking powder and vanilla extract, to confirm they are gluten-free.