Hi Ritu,
I did the PMP online exam last April. Based on the information available, PMI indicated that earplugs are not allowed. I don't know if it is possible for today. You can double-check it by calling PMI (check number here
home.pearsonvue.com/pmi/contact
).
If you confirm that earplugs keep not allowed, I recommend you to schedule the exam for a silent period, as you can schedule anytime you want to (24hrs options are available).
Another option is to rent a quiet hotel to do the PMP exam.
I can tell you that I made a mistake; I scheduled my PMP exam for noise periods at home, which was very distracting for me, reducing my concentration power. Please don't make the same mistake that I did.
I hope that my feedback helps you. Please let me know if this information is clear enough for you.
Regards,
Thiago