The electric field in a region is radially outwards and has a magnitude E=Kr. The charge contained in a sphere of radius a is :
Using Gauss's law the electric field at distance a from the center of sphere is
E(a).4πa2=Qϵ0
as E(r)=Kr⇒E(a)=Ka
thus, Ka.4πa2=Qϵ0
or Q=4πϵ0Ka3