To reflect the point \( P(-2, 7) \) over the y-axis, we change the sign of the x-coordinate while keeping the y-coordinate the same.
- The x-coordinate of \( P \) is -2. When reflected over the y-axis, it becomes 2.
- The y-coordinate remains 7.
Thus, the reflected point \( P' \) is \( (2, 7) \).
Therefore, the correct answer is:
d. P' (2, 7)