The correct option is D No improvement
Let’s examine the sentence: “You are warned against committing the same mistake again.” The sentence correctly uses the preposition “against” with “warned” as a warning is always issued against something. Now the preposition “against” requires an object and it is provided by the gerund “committing.” So, the sentence correctly uses “against committing” and requires no improvement. Hence, Option D is the correct answer.