Preheat your oven to 350°F.
Cook the rotini pasta according to package instructions until al dente. Drain and set aside.
In a large skillet, heat olive oil over medium heat. Add the ground beef and cook until browned, breaking it apart with a spoon. Drain excess fat if necessary.
Stir in the ranch seasoning, garlic powder, onion powder, salt, and pepper. Cook for another 2 minutes.
In a large mixing bowl, combine the cooked rotini, sweet corn, beef mixture, milk, sour cream, and 1 cup of cheddar cheese. Mix until well combined.
Transfer the mixture to a greased 9x13-inch baking dish. Top with the remaining 1 cup of cheddar cheese.
Bake in the preheated oven for 25-30 minutes, or until the cheese is bubbly and golden brown.
Let it cool for 5 minutes before serving. Garnish with fresh parsley if desired.