This question yet again checks about your flexibility. If there is a genuine problem for you to work in night or early morning shifts, mention that.
Examples:
Here are sample answers to the job interview question about your interest in working different shifts, taking into account different values and outside commitments.
Absolutely. I am single, live alone, and I don't mind keeping hours that take me out of the nine to five routine.
As long as I would know at the start of a placement what the hours would be, I would be willing to work any shift. I would prefer to keep one shift throughout each placement.
I am really only available during regular business hours as I have an elderly family member who I need to care for during other times.
I wouldn't prefer to work at night and weekends but during peak workloads I am ready and available to work whenever you need me.
Night and weekends are the only time I can spend with my family and that's very important to me. But in the case of an urgent situation, if you need me then I will definitely be available.
I enjoy night work because to me it's a very peaceful environment. However, I need my weekends to refresh and recharge.
If there is an urgent need or an emergency I'll definitely work whatever shifts you need; the company's growth and success are mine as well.
I'll definitely work whatever shift is needed because I feel a responsibility towards the company to complete the necessary work.