Cook the pasta according to package instructions until al dente.
While the pasta cooks, heat olive oil in a large skillet over medium heat.
Add the thinly sliced shallots to the skillet and sprinkle with salt and black pepper.
Cook the shallots, stirring occasionally, until they are golden brown and caramelized, about 15-20 minutes.
Pour in the vegetable broth (or reserved pasta water) to deglaze the pan, scraping up any browned bits.
Add the cooked pasta to the skillet and toss to combine.
Stir in grated Parmesan cheese until melted and combined.
Serve immediately, garnished with fresh parsley.