2007 Pontiac g5 GT startup with rattle

2007 Pontiac g5 GT start with rattle in engine
Andre11
Hi Scotty! I have a 2007 pontiac g5 GT with 140 000km on it and once every 3 or 4 times when I start my car my RPM jumps and at the time time there is a rattling noise (like marbles spinning in a can) thats lasts from 1-2 seconds from the engine. Thank you Scotty for replying to my question, I am posting it here so that I can show you the video as well. I managed to capture it on video with my phone like you asked so hopefully you can listen and maybe shed some light on a future problem that may occur or some preventive maintenance that I can do. Thanks!!