It is good, to be honest, you need to see where to show your honesty. You should be smart enough to answer this question. Freshers, do not say yes at once. This will show only desperation to be a part of the company. Answer carefully like this " I would definitely consider it. If the opportunity given to me is appropriate and rewarding, I don't think I will have any issues with the relocation or travelling involved."
You need to know the purpose of the question.