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