Boil the elbow macaroni in a large pot of salted water until it's al dente.
Drain the pasta and let it cool completely.
Chop the green pepper, celery, and onion finely, ensuring an even distribution of flavors.
Shred the carrot and set aside.
In a large bowl, combine the cooled macaroni with mayonnaise, chopped vegetables, and shredded carrot.
Make sure to mix well so every ingredient is well-coated.
Season the salad with salt and black pepper, adjusting to taste as you prefer.
Stir everything together one more time.
Cover the bowl with plastic wrap and refrigerate for at least two hours before serving.