The correct option is D Both HF and NaOH
Silicon dioxide reacts with sodium hydroxide to producte sodium silicate and water. This reaction takes place at temperature of 900−1000∘C
2NaOH+SiO2→Na2SiO3+H2O
Silicon dioxide reacts with hydrofluoric acid to produce hexafluro silicic acid & water.
SiO2+6HF→H2SiF6+2H2O
SiO2 definitely reacts with strong bases like NaOH
SiO2 is a very stable and unreactive toward various acids and chlorides, however it react with HF to give H2SiF6.