The only function from the options that has domain all real numbers and range (-inf,4] is the quadratic function:
since its graph is the following parabolla:
notice that it is defined on all real numbers on the x-axis, but the range is defined from 4 to minus infinity on the y-axis