The correct option is D some special symmetric charge configurations.
Gauss' law becomes highly useful in the easy calculation of electric field due to a charge configuration, when the distribution is symmetrical and →E is normal to the chosen surface such that,
∮→E⋅d→S=∮E dScos0∘
⇒∮→E⋅d→S=E∮dS=ES
(since →E is radially outwards and parallel to the area vector)
∴ Symmetric charge distributions where electric field is parallel to the area vector are preferred for applying Gauss' law i.e. sphere, cube, cylinder, etc.