Yuzu interview question

How would you optimize software? How would you scale an API?