Answer :
The situation is one similar to the development of antibiotic resistance. The initial five years of spraying wiped out most of the pests; however, the killing also helped the pesticide-resistant pests to survive and thrive since they had less competition. Over the period of five years, the pesticide resistance became more and more common among the beetles and in the eighth year, almost all of the beetles were resistant to the pesticide. Thus, the answer is D.