Add the rice to a colander and rinse under cold water and set aside to drain.
Add the olive oil to a medium size pot over low heat and cook the onions for 5 to 6 minutes while occasionally stirring, or until they become translucent and tender.
Stir in the garlic just until fragrant, which takes about 1 minute.
Pour in the drained rice and stir constantly making sure it does not stick for 3 to 4 minutes or until it starts to become slightly transparent.
Pour in the chicken stock and add in the carrot, corn, and peas and mix until combined.
Place a lid on the pot and cook over low heat for 15 minutes or until the rice is cooked and all the liquid has been absorbed.
Season with the lime juice, cilantro, and salt and use a fork to mix in the ingredients and fluff the rice. Serve.