Cook the pasta according to package instructions until al dente, then drain.
In a large bowl, combine cooked pasta, corn, cherry tomatoes, red onion, and avocado.
In a small bowl, whisk together mayonnaise, lime juice, chili powder, salt, and pepper until well blended.
Pour the dressing over the pasta mixture and toss gently to combine.
Add cotija cheese and cilantro to the salad, mixing carefully.
Taste and adjust seasoning, then refrigerate for at least 30 minutes before serving.