For the egg-ham pasta, cook penne in salted water until al dente. Cut ham into strips or cubes.
Strain the penne, whisk eggs with a fork, mix penne with eggs, ham and oil and let eggs fry briefly.
Season with salt and pepper and serve the egg-ham pasta.