Google interview question

How would you secure a LAMP stack