When a point 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 \(-2\) changes to \(2\).
- The y-coordinate \(7\) remains the same.
Therefore, the coordinates of \( P' \) after reflection over the y-axis are \( P'(2, 7) \).