The correct option is D −9.8ms−2
As the body is moving against gravity, it means that it is moving away from Earth. The positive sign of velocity indicates that we have taken our sign-convention to keep the upward direction as positive. So, as the gravity acts in the downward direction, the value of acceleration due to gravity is -9.8 ms−2