According to Lenz's law, the induced current produces a magnetic filed that opposes the changing magnetic field producing it. For example if the magnet is getting closer to the loop, the current produced in the loop must be such that its magnetic field pushes back the approaching magnet. If the magnet is moving away from the loop, the magnetic field due to the induced current must attract the magnet.
Answer: D