When a point \( P(x, y) \) is reflected over the y-axis, the x-coordinate changes sign while the y-coordinate remains the same.
For the point \( P(-2, 7) \):
- The x-coordinate changes from -2 to 2.
- The y-coordinate remains 7.
Thus, the reflected point \( P' \) is \( P'(2, 7) \).
So the correct response is:
\( P'(2, 7) \)