The correct option is D The assertion is true but the reason is false
Restriction endonuclease recognizes specific nucleotide sequences in a DNA molecule, often a palindrome, known as restriction site, and cleaves the DNA at a specific nucleotide within the restriction site. Restriction endonucleases are naturally present in the bacteria where they provide protection against invading bacteriophage DNA.
When a bacteriophage injects its DNA into a bacterium, the restriction enzyme present in the bacterium inspects the length of that DNA sequence and chops off the DNA into fragments. Thus, these enzymes do not prevent entry of the bacteriophage DNA, but inactivate it by breaking it into fragments. So the assertion is true but the reason is false.