Clean the shrimp and start cooking the pasta according to the instructions on the box.
While the pasta cooks, mince the shallot and the garlic.
Once the pasta is done, transfer it to a separate bowl, and in the pot used to cook the pasta add the butter and melt over medium heat. Once melted and hot, add the shrimp. Let the shrimp cook 2-3 minutes per side until they firm and turn slightly pink.
Add garlic and shallot to pan for about 30 seconds to soften. Work quickly to avoid over cooking the shrimp.
Mix in the cream and heat through. If you wish, season with salt and pepper. If sauce is too thick at this point, add some water.
Add pasta to pot and heat just enough to coat pasta with sauce and warm the noodles back up.
Transfer to serving dish and top with parmesan cheese (optional).