The Bordetella vaccine helps protect against kennel cough, but it is not a 100% guarantee.
Vaccines do not provide perfect immunity, and kennel cough can be caused by multiple bacteria and viruses beyond Bordetella bronchiseptica. The vaccine also takes about 10 to 14 days to become fully effective, and exposure to a very high dose of pathogens can still overwhelm a dog's defenses. A dog's age, health, and existing medical conditions also affect susceptibility.
While vaccination significantly reduces risk, it does not eliminate it. Consult your veterinarian about vaccination schedules, and continue practicing good hygiene and avoiding crowded dog areas.