"but can cause outbreaks of the more severe adult form in immunocompromised people due to the active pathogen in the vaccine" #1 herd immunity, thats the type of person who doesn't get it. #2 the majority of the time it is completely dead or disabled.
"This one is given to children to prevent a relatively mild infection"
you mean one that can kill?