During a well-baby visit, the baby receives a hepatitis B vaccine. What type of immunity will this vaccination provide