There are two divisions of immune system rwhich are specific and non-specific. For non-specific immune response, it recognizes and destroys pathogens as soon as it encroaches the external barriers and it responds to all pathogens in the same way. Lastly, it responds to infection within minutes.
For the specific immune response, the pathogens that are not being killed by the non-specific defenses are being destroyed. It also recognizes pathogens and forms a memory of each. However, unlike the non-specific immune system, it responds to infection in hours to several days.
Therefore the answer is specific immune response.