Preheat your oven to 400°F (200°C).
Peel and cube the sweet potato into half-inch pieces and slice the carrots into thin rounds.
Place the vegetables on a baking sheet and toss them with half of the olive oil, a pinch of salt, and a pinch of pepper.
In a small bowl, combine the dried rosemary, dried thyme, garlic powder, and the remaining salt and pepper to create a dry rub.
Brush the pork loin with the remaining olive oil and rub the herb mixture firmly into all sides of the meat.
Clear a space in the center of the baking sheet and place the pork loin directly on the pan, surrounded by the vegetables.
Roast for 25 to 30 minutes, or until the pork reaches an internal temperature of 145°F and the vegetables are tender and slightly browned.
Remove from the oven and let the pork rest for 5 minutes before slicing into medallions to preserve the juices.