Meta interview question

How do scale a network programmatically?