Preheat your oven to 400 °F. Line a rimmed baking sheet with tinfoil, set aside.
In a small sauté pan, heat 1/4 tbsp olive oil until shimmering, over medium heat. Add sliced shallot and cook until translucent, about 5 minutes. Take the shallots off the heat.
In a large mixing bowl, add the green beans, sautéed shallot, remaining 1 1/2 tbsp olive oil, slivered almonds, salt, and pepper. Toss to combine.
Spread the green beans out on the prepared baking sheet in a single layer. Roast at 400 °F for 35 minutes.