Exam questions usually are similar to homework questions, but they are not quite the same. Especially for first-year courses, I think it's a very good thing to give an idea how the exam might look like.
If you provide solutions, you will have to decide if you just provide brief answers or full solutions. The former allows the students to check their results, but doesn't help them to learn how to solve this excercise. The latter needs more work, and can give the impression that this solution is the only legitimate way.
In any case, I recommend that there is some way for the students to talk and ask about these old exams and the solutions - be it in the form of a TA session with a tutor, a dedicated part of the lecture or in the form of office hours provided by the lecturer.