Forwarding a student’s question about exam modalities to a professor as a TA?
You cannot answer this question, so you have to ask the professor.
You do not want to be responsible for the potential confusion caused by a wrong answer.
If your professor already made up their mind, it’s a matter of seconds for them to answer the mail (this is a clear case of this PhD comic).
If not, they need to make up their mind anyway some time, and you were right to redirect the question.

Check that the forwarded mail is concise; otherwise summarise it when forwarding.
Also make sure that the response goes to you as well (include yourself and the student in the reply to field) as you may get further questions along this line.

This does not really apply to this case, but for more complex or exotic questions you can also include a suggested action and rationale and just have it ratified by the professor, e.g.:


  A student asked me whether they should bring a print of the formula sheet or it will be provided. I would guess the latter since it makes it easier for us to control that the sheets have not been tampered with. Can you please confirm or correct this?