iOPEX Technologies Interview Question

How to optimize queries? How to scale a system?