Preheat the Oven: Preheat your oven to 400°F (200°C). Prepare a baking sheet by lining it with parchment paper or lightly greasing a baking dish.
Prepare the Cauliflower: In a bowl, coat the cauliflower florets with olive oil, minced garlic, salt, and pepper, tossing until evenly covered. Spread the florets evenly on the prepared baking sheet and roast in the preheated oven for 20-25 minutes, or until they are golden and tender.
Make the Cheese Sauce: While the cauliflower is roasting, in a small saucepan over medium heat, combine the heavy cream, garlic powder, and onion powder. Stir occasionally and bring the mixture to a simmer. Once simmering, reduce the heat to low and add the shredded cheddar cheese and grated Parmesan cheese. In a bowl, coat the cauliflower florets with olive oil, minced garlic, salt, and pepper, tossing until evenly covered.
Combine and Bake: Mix until the cheeses are fully melted and the sauce becomes smooth and creamy. Adjust the seasoning with salt and pepper according to your preference. NPour the cheese sauce evenly over the cauliflower florets, making sure each piece is coated. Place the dish back in the oven and bake for an additional 5-7 minutes, or until the cheese sauce is bubbly and slightly golden on top.
Garnish and Serve: Remove the dish from the oven and sprinkle with fresh chopped parsley for a burst of color and freshness. Serve hot as a side dish or enjoy on its own as a comforting main course.