StackAdapt interview question

How would you set up the solution architecture?