Thanks for the suggestion but I figure out the culprit after hours of experimenting.  I noticed that initially after booting the screen resolution is OK but then about 30 seconds later it changes to 1280 x 800. I figured that the issue is with some program that autostarts. I turned off all non-system related programs and started turning them back on one at a time and rebooting to see if it happens again. Eventually I figured out that the culprit is GOG Galaxy.  This doesn't happen if I turn off the app from auto starting and run it manually. I opened a ticket with GOG.
My Alienware Aurora Ryzen Edition R10 with the Alienware 34 Curved Gaming Monitor - AW3420DW and Nvidia GeForce RTX 3080 always comes up with a stupid screen resolution of 640x480 and then I have to change the resolution back to 3440 x 1440. Why is the correct resolution I set it to not sticking around and survive booting?
Aurora R10, RTX 3080, AW3420DW, wrong resolution