Jabil interview question

How can database queries be optimized either with indices or with denormalization?