In this question the hiring manager is trying to find out the value you place on a motivated team and how you keep the morale high on any given project.
A good answer could be:
I’m a believer that a motivated team can facilitate a successful project. On my last project I would debrief with my team at the end of the day. I try not to dwell on the tasks that went wrong and only mention it constructively as an area for improvement. To keep spirits high I would then turn the focus to the activities that went well and thank my team for their contributions. I also recognised and praised any stand-out co-workers whom have gone above and beyond.