Making enzymes that inactivate the drug.
Moving away from the drug.
Becoming impermeable to the drug.
Modifying the target of the drug.
Bacteria can become resistant to the antibiotic by either producing enzymes or forming an impermeable capsule and modifying the target of the drug. But, not by moving away from the drug. Thus, the correct answer is D.