A 2-year-old child has never been vaccinated against chicken…

A 2-year-old child has never been vaccinated against chickenpox but was recently exposed to a sibling with an active infection. During a follow-up appointment, the pediatric nurse notices that the child shows no signs of illness. Which type of immunity best explains this scenario?