Unfortunately, the
whooping cough (Pertussis) vaccine is among the least effective, at only 80-90%,
and protection begins to wane at around the 10-year mark: https://www.cdc.gov/pertussis/about/faqs.html
The previous version of the pertussis vaccine, previously given as the DTP (diphtheria, tetanus, and pertussis) was more effective, but the side effects weren't great, and people got whooping cough.