Which of these is an example of active immunity?

A. A pregnant woman passing antibodies to the fetus across the placenta
B. A pregnant woman giving antibodies to an infant through breast milk
C. A person developing antibodies against the measles vaccine
D. A person receiving antibody shots after being bitten by a rabid animal