Boil the penne pasta in hot water and drain.
Remove the shells and veins from the shrimp, then season with salt and pepper.
Sauté the shrimp in a pan with olive oil.
Add the cooked pasta and basil pesto, mix and stir-fry together.
Adjust the flavor with salt and pepper, then serve on a plate.