Answer:
Option D.
Explanation:
The given function is

We need to find the domain of the function for range R:{0,4,8}.
Domain is the set of input values and range is the set of output values.
Substitute a(x)=0 in the given function.



Substitute a(x)=4 in the given function.



Substitute a(x)=8 in the given function.



The input values of function for outputs 0, 4 and 8 are 2, 3 and 4 respectively.
Domain = {2,3,4}
Therefore, the correct option is D.