Amazon interview question

How can you scale a web application