Herd immunity
Vaccination is not effective in 100% of cases: for every vaccine, a small percentage of individuals respond very little and are not adequately protected (non-responder subjects). This is not a serious problem if a very high percentage of the population is immune to the microorganism. In this case the possibility that a susceptible individual comes into contact with an infected individual is so low that the chances of infection are minimal or almost nil.
This phenomenon is known as herd immunity.