Vaccination against encapsulated bacteria in hereditary C2 deficiency results in antibody response and opsonization due to antibody-dependent complement activation.