Which best describes how a vaccine works?

Which best describes how a vaccine works? answer apex?