The correct option is D Pre-existing variation.
When a bacterial population encounters a particular antibiotic, those sensitive to it die. But some bacteria having mutations become resistant to antibiotics. Such resistant bacteria survive and multiply quickly as the competing bacteria have died. Soon the resistance providing genes become wide spread and entire bacterial population become resistant. Appearance of antibodies resistant bacteria is example of pre-existing variation.