Amazon interview question

About scaling a web app.