Level of risk
Vaccines are recommended for people at risk for certain diseases, most take 2-4 weeks to work.
Military personnel are at far greater risk, due to the nature of their work, for certain diseases. Thusly they are immunized against diseases we don't experience in the USA. This is particularly true for personnel on 'mobility' ie mobilized to the far reaches of the planet on a moment's notice.