Heat 1 tablespoon of vegetable oil in a large pan over medium heat.
Add the shrimp and cook until pink, about 2-3 minutes per side. Remove from the pan and set aside.
In the same pan, add the remaining tablespoon of oil and sauté the onion and garlic until fragrant.
Add the frozen peas and carrots and cook until heated through.
Push the vegetables to one side of the pan and pour the beaten eggs into the other side. Scramble the eggs until fully cooked.
Add the cooked rice to the pan and mix everything together.
Stir in the soy sauce, salt, and pepper.
Return the shrimp to the pan and mix until everything is well combined and heated through.
Garnish with chopped green onions before serving.