Preheat the oven to 350 degrees F (175 degrees C). Grease a 13x9-inch baking pan.
Combine yellow cake mix, 2 eggs, butter, and vanilla in a large bowl; mix well. The batter will be stiff. Add cake batter to the prepared pan and spread evenly.
Combine confectioners' sugar, cream cheese, and the remaining 2 eggs in a separate bowl; mix well and pour over the top of the cake batter.
Bake the cake in the preheated oven until a toothpick inserted into the center comes out clean, about 35 minutes.
Let cake cool completely before you cut it to achieve those delicious layers.
