Preheat the oven to 450ยบ F.
Scrub the carrots clean. Don't peel them. Trim off the tops, leaving a little bit of the stem.
Cut any larger carrots in half lengthwise ( I sometimes cut them in quarters). Leave the small ones whole. The goal is to make all the pieces the same size so that they cook evenly.
Toss the carrots and the shallots with the 4tbs of olive oil and a generous amount of salt and pepper. Place them on a baking sheet and roast for 25 minutes. I tend to give them a toss at the 10 minute mark so they caramelize all over. Once the carrots are tender, transfer them to a platter, drizzle with the pesto and serve.