Another way to check this question is to work with rounded powers of ten first, which makes it easy to see roughly where the answer should land before locking in the exact figure.
Working through the powers of ten this way shows the radiated power climbs steeply with temperature, since it depends on the fourth power of \( T \). Only 5800 K brings the estimate in line with the Sun's actual output.
The correct answer is 5800 K.