The answer would be true
The objective of vaccination is to elicit the primary immune response by introducing pathogen antigens. This antigen can be a whole weakened pathogen or just part of pathogen proteins.
The antigen will activate the primary immune response cascade that will activate of B-cells and T-cells from the secondary immune response. This will makes secondary immune response ready when the real pathogen comes.