MongoDB interview question

How to optimise a slow DB.