Cook the penne pasta according to package instructions until al dente; drain and set aside.
In a large skillet, heat olive oil over medium heat.
Add minced garlic and sauté for 1-2 minutes until fragrant.
Pour in heavy cream and bring to a gentle simmer.
Stir in grated Parmesan cheese, garlic powder, and onion powder.
Season with salt and pepper to taste.
Add the cooked pasta to the skillet and toss to coat in the sauce.
Cook for an additional 2-3 minutes to heat through.
Garnish with fresh parsley and red pepper flakes if desired.