Boil spaghetti in salted water until perfectly cooked and keep aside.
Cook bacon in a pan until crispy and remove excess oil.
Mix eggs and Parmesan cheese in a bowl to prepare the sauce.
Sauté garlic in olive oil and add cooked spaghetti.
Turn off heat and mix egg-cheese mixture with pasta quickly.
Add crispy bacon, black pepper, and combine well.
Serve hot with extra Parmesan cheese.